[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
Mon Jul 29 09:32:52 PDT 2024


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

@AaronBallman Do you think we clang already has something like this? Or it would make sense to have this part of Decl?

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


More information about the cfe-commits mailing list