================
@@ -2550,11 +2562,24 @@ class UnsafeBufferUsageReporter : public 
UnsafeBufferUsageHandler {
              "Variables blamed for unsafe buffer usage without suggestions!");
       S.Diag(Loc, diag::note_unsafe_buffer_operation) << MsgParam << Range;
     } else {
+      bool IsMainArg = false;
+      if (D) { llvm::errs() << "Decl is: " << D->getDeclKindName() << "\n"; } 
else { llvm::errs() << "Decl is NULL\n"; }
----------------
shreya-jain wrote:

Removed

https://github.com/llvm/llvm-project/pull/229871
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to