]> granicus.if.org Git - clang/commitdiff
[Modules] Remove the only use of the DEBUG(...) macro in the compiler
authorChandler Carruth <chandlerc@gmail.com>
Mon, 21 Apr 2014 22:32:54 +0000 (22:32 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 21 Apr 2014 22:32:54 +0000 (22:32 +0000)
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

lib/CodeGen/CGDebugInfo.cpp

index 132c841890290982dc4e7696023f7fb4ec05b38d..86e76daf0f468882b6de06cbe07694b133b798b7 100644 (file)
@@ -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);
 }