[clang] 0b2094c - [Clang] [NFC] Remove debug printing

via cfe-commits cfe-commits at lists.llvm.org
Tue May 28 10:56:22 PDT 2024


Author: Sirraide
Date: 2024-05-28T19:56:04+02:00
New Revision: 0b2094c4553a63bb058c59073fc7c22d05e66977

URL: https://github.com/llvm/llvm-project/commit/0b2094c4553a63bb058c59073fc7c22d05e66977
DIFF: https://github.com/llvm/llvm-project/commit/0b2094c4553a63bb058c59073fc7c22d05e66977.diff

LOG: [Clang] [NFC] Remove debug printing

Added: 
    

Modified: 
    clang/lib/Sema/SemaStmtAttr.cpp

Removed: 
    


################################################################################
diff  --git a/clang/lib/Sema/SemaStmtAttr.cpp b/clang/lib/Sema/SemaStmtAttr.cpp
index 82373fe96a824..6f538ed55cb72 100644
--- a/clang/lib/Sema/SemaStmtAttr.cpp
+++ b/clang/lib/Sema/SemaStmtAttr.cpp
@@ -684,10 +684,8 @@ ExprResult Sema::ActOnCXXAssumeAttr(Stmt *St, const ParsedAttr &A,
   }
 
   if (!getLangOpts().CPlusPlus23 &&
-      A.getSyntax() == AttributeCommonInfo::AS_CXX11) {
-    llvm::dbgs() << "Syntax: " << int(A.getSyntax()) << "\n";
+      A.getSyntax() == AttributeCommonInfo::AS_CXX11)
     Diag(A.getLoc(), diag::ext_cxx23_attr) << A << Range;
-  }
 
   return Assumption;
 }


        


More information about the cfe-commits mailing list