[clang] f4a7d56 - Remove debugging printf and reformat code.

Eric Christopher via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 10 15:06:02 PST 2019


Author: Eric Christopher
Date: 2019-12-10T15:04:45-08:00
New Revision: f4a7d5659df7cb56c1baa34a39e9fe2639472741

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

LOG: Remove debugging printf and reformat code.

Added: 
    

Modified: 
    clang/lib/Sema/SemaExpr.cpp

Removed: 
    


################################################################################
diff  --git a/clang/lib/Sema/SemaExpr.cpp b/clang/lib/Sema/SemaExpr.cpp
index f6bcf899a7fb..a941d524b7f2 100644
--- a/clang/lib/Sema/SemaExpr.cpp
+++ b/clang/lib/Sema/SemaExpr.cpp
@@ -13010,11 +13010,9 @@ ExprResult Sema::CreateBuiltinBinOp(SourceLocation OpLoc,
       (getLangOpts().getFPRoundingMode() != LangOptions::FPR_ToNearest ||
        getLangOpts().getFPExceptionMode() != LangOptions::FPE_Ignore))
     // Mark the current function as usng floating point constrained intrinsics
-    if (FunctionDecl *F = dyn_cast<FunctionDecl>(CurContext))
-{
+    if (FunctionDecl *F = dyn_cast<FunctionDecl>(CurContext)) {
       F->setUsesFPIntrin(true);
-      printf("Enclosing function uses fp intrinsics\n");
-}
+    }
 
   // Some of the binary operations require promoting operands of half vector to
   // float vectors and truncating the result back to half vector. For now, we do


        


More information about the cfe-commits mailing list