From b7a6ea304999bb509267abb3b379a9e7bd40849a Mon Sep 17 00:00:00 2001 From: Alexander Kornienko Date: Wed, 1 Feb 2017 12:41:34 +0000 Subject: [PATCH] [clang-tidy] Remove debug logging. llvm-svn: 293763 --- clang-tools-extra/clang-tidy/modernize/UseUsingCheck.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/clang-tools-extra/clang-tidy/modernize/UseUsingCheck.cpp b/clang-tools-extra/clang-tidy/modernize/UseUsingCheck.cpp index de525926c89a..77b3dc91f4c2 100644 --- a/clang-tools-extra/clang-tidy/modernize/UseUsingCheck.cpp +++ b/clang-tools-extra/clang-tidy/modernize/UseUsingCheck.cpp @@ -79,11 +79,6 @@ void UseUsingCheck::check(const MatchFinder::MatchResult &Result) { 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'");