================
@@ -1022,6 +1022,23 @@ getStackOrCaptureRegionForDeclContext(const 
LocationContext *LC,
   return (const StackFrameContext *)nullptr;
 }
 
+static bool isStdStreamVar(const VarDecl *D) {
----------------
balazske wrote:

The current code should filter this out. Still it is not sure that it detects 
the `stdin` in C++ headers where it is defined as macro with 
implementation-defined content. (Check for macro expansion with appropriate 
macro name can be added.)

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

Reply via email to