[clang] 4b540fa - [OpenMP][NFC] Remove leftover debug messages

Johannes Doerfert via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 20 18:29:41 PST 2020


Author: Johannes Doerfert
Date: 2020-02-20T20:28:42-06:00
New Revision: 4b540fa8a1c1077468cf8eb7c32fd2481cdbc520

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

LOG: [OpenMP][NFC] Remove leftover debug messages

Added: 
    

Modified: 
    clang/lib/CodeGen/CGOpenMPRuntime.cpp

Removed: 
    


################################################################################
diff  --git a/clang/lib/CodeGen/CGOpenMPRuntime.cpp b/clang/lib/CodeGen/CGOpenMPRuntime.cpp
index 9798d454cb8b..f00dcfe731fd 100644
--- a/clang/lib/CodeGen/CGOpenMPRuntime.cpp
+++ b/clang/lib/CodeGen/CGOpenMPRuntime.cpp
@@ -11075,9 +11075,7 @@ static const FunctionDecl *getDeclareVariantFunction(CodeGenModule &CGM,
   SmallVector<Expr *, 8> VariantExprs;
   SmallVector<VariantMatchInfo, 8> VMIs;
   for (const auto *A : FD->specific_attrs<OMPDeclareVariantAttr>()) {
-    A->printPretty(llvm::dbgs(), PrintingPolicy(LangOptions()));
     const OMPTraitInfo &TI = A->getTraitInfos();
-    TI.print(llvm::dbgs(), PrintingPolicy(LangOptions()));
     VMIs.push_back(VariantMatchInfo());
     TI.getAsVariantMatchInfo(CGM.getContext(), VMIs.back());
     VariantExprs.push_back(A->getVariantFuncRef());


        


More information about the cfe-commits mailing list