[clang-tools-extra] r293763 - [clang-tidy] Remove debug logging.

Alexander Kornienko via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 1 04:41:35 PST 2017


Author: alexfh
Date: Wed Feb  1 06:41:34 2017
New Revision: 293763

URL: http://llvm.org/viewvc/llvm-project?rev=293763&view=rev
Log:
[clang-tidy] Remove debug logging.

Modified:
    clang-tools-extra/trunk/clang-tidy/modernize/UseUsingCheck.cpp

Modified: clang-tools-extra/trunk/clang-tidy/modernize/UseUsingCheck.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/modernize/UseUsingCheck.cpp?rev=293763&r1=293762&r2=293763&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/modernize/UseUsingCheck.cpp (original)
+++ clang-tools-extra/trunk/clang-tidy/modernize/UseUsingCheck.cpp Wed Feb  1 06:41:34 2017
@@ -79,11 +79,6 @@ void UseUsingCheck::check(const MatchFin
   auto &Context = *Result.Context;
   auto &SM = *Result.SourceManager;
 
-  if (auto *D = MatchedDecl->getUnderlyingType()->getAsCXXRecordDecl()) {
-    //TypeLoc TL = MatchedDecl->getTypeSourceInfo()->getTypeLoc();
-    llvm::errs() << D->getNameAsString() << "\n";
-  }
-
   auto Diag =
       diag(MatchedDecl->getLocStart(), "use 'using' instead of 'typedef'");
 




More information about the cfe-commits mailing list