r206806 - [Modules] Remove the only use of the DEBUG(...) macro in the compiler

Chandler Carruth chandlerc at gmail.com
Mon Apr 21 15:32:55 PDT 2014


Author: chandlerc
Date: Mon Apr 21 17:32:54 2014
New Revision: 206806

URL: http://llvm.org/viewvc/llvm-project?rev=206806&view=rev
Log:
[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.

Modified:
    cfe/trunk/lib/CodeGen/CGDebugInfo.cpp

Modified: cfe/trunk/lib/CodeGen/CGDebugInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGDebugInfo.cpp?rev=206806&r1=206805&r2=206806&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGDebugInfo.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGDebugInfo.cpp Mon Apr 21 17:32:54 2014
@@ -2907,7 +2907,6 @@ llvm::DIType CGDebugInfo::CreateSelfType
                                          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);
 }
 





More information about the cfe-commits mailing list