From: Chandler Carruth Date: Mon, 21 Apr 2014 22:32:54 +0000 (+0000) Subject: [Modules] Remove the only use of the DEBUG(...) macro in the compiler X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=13b8d7d39e1184fb0eb3dbd5d77b5e0ce5b2a3ca;p=clang [Modules] Remove the only use of the DEBUG(...) macro in the compiler parts of Clang. I don't really have any opinion about whether using that macro is good or bad, but its odd that this is the only one, and Eric seemed happy with just nuking it for now. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206806 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CGDebugInfo.cpp b/lib/CodeGen/CGDebugInfo.cpp index 132c841890..86e76daf0f 100644 --- a/lib/CodeGen/CGDebugInfo.cpp +++ b/lib/CodeGen/CGDebugInfo.cpp @@ -2907,7 +2907,6 @@ llvm::DIType CGDebugInfo::CreateSelfType(const QualType &QualTy, llvm::DIType Ty) { llvm::DIType CachedTy = getTypeOrNull(QualTy); if (CachedTy) Ty = CachedTy; - else DEBUG(llvm::dbgs() << "No cached type for self."); return DBuilder.createObjectPointerType(Ty); }