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

AFAIK not quite. Mine works even if the class a nested subclass within the std 
namespace, such as "std::vector::iterator". So directly using 
`isInStdNamespace` wouldn't quite cut it.

https://github.com/llvm/llvm-project/pull/100405
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to