[clang] [analyzer] Don't invalidate the super region when a std object ctor runs (PR #100405)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 29 09:41:51 PDT 2024
================
@@ -923,12 +923,31 @@ SVal AnyCXXConstructorCall::getCXXThisVal() const {
return UnknownVal();
}
+static bool isWithinStdNamespace(const Decl *D) {
----------------
AaronBallman wrote:
We've already got one of these at home: https://github.com/llvm/llvm-project/blob/ee57ce57d8094026e2795182758bc57027a72293/clang/include/clang/AST/DeclBase.h#L488
https://github.com/llvm/llvm-project/pull/100405
More information about the cfe-commits
mailing list