diff options
Diffstat (limited to 'clang-tools-extra/clang-tidy/modernize/UseUsingCheck.cpp')
-rw-r--r-- | clang-tools-extra/clang-tidy/modernize/UseUsingCheck.cpp | 5 |
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'"); |