dtarditi wrote: I agree that we should probably check for the function being in the global scope or the `std` namespace. I think you can use `isGlobal` and `isStdNamespace` (in Decl.h and DeclBase.h respectively) to do those checks.
https://github.com/llvm/llvm-project/pull/151270 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits