[clang-tools-extra] 6dfdf68 - [clang-tidy][NFC] Removing lefover AST dump()
Piotr Zegar via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 26 13:25:02 PDT 2023
Author: Piotr Zegar
Date: 2023-09-26T20:24:52Z
New Revision: 6dfdf68aea6aa1c6beaf4a7aa2cc7b0a40bfc160
URL: https://github.com/llvm/llvm-project/commit/6dfdf68aea6aa1c6beaf4a7aa2cc7b0a40bfc160
DIFF: https://github.com/llvm/llvm-project/commit/6dfdf68aea6aa1c6beaf4a7aa2cc7b0a40bfc160.diff
LOG: [clang-tidy][NFC] Removing lefover AST dump()
Removing leftover AST dump() from a
llvmlibc/ImplementationInNamespaceCheck.cpp
Added:
Modified:
clang-tools-extra/clang-tidy/llvmlibc/ImplementationInNamespaceCheck.cpp
Removed:
################################################################################
diff --git a/clang-tools-extra/clang-tidy/llvmlibc/ImplementationInNamespaceCheck.cpp b/clang-tools-extra/clang-tidy/llvmlibc/ImplementationInNamespaceCheck.cpp
index 4489179c4423419..bbc60217cdb1d5b 100644
--- a/clang-tools-extra/clang-tidy/llvmlibc/ImplementationInNamespaceCheck.cpp
+++ b/clang-tools-extra/clang-tidy/llvmlibc/ImplementationInNamespaceCheck.cpp
@@ -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(),
More information about the cfe-commits
mailing list