[clang] [analyzer] Don't invalidate the super region when a std object ctor runs (PR #100405)
DonĂ¡t Nagy via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 25 02:16:43 PDT 2024
================
@@ -923,12 +923,31 @@ SVal AnyCXXConstructorCall::getCXXThisVal() const {
return UnknownVal();
}
+static bool isWithinStdNamespace(const Decl *D) {
----------------
NagyDonat wrote:
I think this function could be useful for other checkers as well; consider moving this to an externally visible location (e.g. turn this into a method of `Decl`).
https://github.com/llvm/llvm-project/pull/100405
More information about the cfe-commits
mailing list