Skip to content

Commit

Permalink
[clang-tidy][NFC] Removing lefover AST dump()
Browse files Browse the repository at this point in the history
Removing leftover AST dump() from a
llvmlibc/ImplementationInNamespaceCheck.cpp
  • Loading branch information
PiotrZSL committed Sep 26, 2023
1 parent 6273b6d commit 6dfdf68
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ void ImplementationInNamespaceCheck::check(
const MatchFinder::MatchResult &Result) {
const auto *MatchedDecl =
Result.Nodes.getNodeAs<Decl>("child_of_translation_unit");
MatchedDecl->dump();
const auto *NS = dyn_cast<NamespaceDecl>(MatchedDecl);
if (NS == nullptr || NS->isAnonymousNamespace()) {
diag(MatchedDecl->getLocation(),
Expand Down

0 comments on commit 6dfdf68

Please sign in to comment.