aboutsummaryrefslogtreecommitdiff
path: root/clang-tools-extra/clang-tidy/modernize/UseUsingCheck.cpp
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2017-02-01 12:41:34 +0000
committerAlexander Kornienko <alexfh@google.com>2017-02-01 12:41:34 +0000
commitb7a6ea304999bb509267abb3b379a9e7bd40849a (patch)
tree5df73c7230a8c7cdb19d00252fa7219d8e55bc87 /clang-tools-extra/clang-tidy/modernize/UseUsingCheck.cpp
parent2cbaded5b56a10dfe530b98f0ec9d9551f7c6f4f (diff)
downloadllvm-b7a6ea304999bb509267abb3b379a9e7bd40849a.zip
llvm-b7a6ea304999bb509267abb3b379a9e7bd40849a.tar.gz
llvm-b7a6ea304999bb509267abb3b379a9e7bd40849a.tar.bz2
[clang-tidy] Remove debug logging.
llvm-svn: 293763
Diffstat (limited to 'clang-tools-extra/clang-tidy/modernize/UseUsingCheck.cpp')
-rw-r--r--clang-tools-extra/clang-tidy/modernize/UseUsingCheck.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/clang-tools-extra/clang-tidy/modernize/UseUsingCheck.cpp b/clang-tools-extra/clang-tidy/modernize/UseUsingCheck.cpp
index de52592..77b3dc9 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'");