[clang] [analyzer] Don't invalidate the super region when a std object ctor runs (PR #100405)

Balazs Benics via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 25 03:58:16 PDT 2024


================
@@ -923,12 +923,31 @@ SVal AnyCXXConstructorCall::getCXXThisVal() const {
   return UnknownVal();
 }
 
+static bool isWithinStdNamespace(const Decl *D) {
----------------
steakhal wrote:

Makes sense. I think I'd prefer moving this utility in a followup patch, as it may take a while to reach consensus where to put it. And I don't want to block this PR until that happens.

https://github.com/llvm/llvm-project/pull/100405


More information about the cfe-commits mailing list