From c3ab6455e5ad24fa8e9310b94bcce4a94b8489aa Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Thu, 5 Jan 2023 17:08:57 -0500 Subject: [PATCH] Add isInAnonymousNamespace() to the dynamic AST matchers This was added to the static matchers in 125ccd3751472a0c709498f83671577ffed394a6, but the dynamic matcher was missed. This adds the dynamic matcher to the list. --- clang/lib/ASTMatchers/Dynamic/Registry.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/clang/lib/ASTMatchers/Dynamic/Registry.cpp b/clang/lib/ASTMatchers/Dynamic/Registry.cpp index 0a58652884ee65..4c20a1295a8da2 100644 --- a/clang/lib/ASTMatchers/Dynamic/Registry.cpp +++ b/clang/lib/ASTMatchers/Dynamic/Registry.cpp @@ -428,6 +428,7 @@ RegistryMaps::RegistryMaps() { REGISTER_MATCHER(isPrivateKind); REGISTER_MATCHER(isFirstPrivateKind); REGISTER_MATCHER(isImplicit); + REGISTER_MATCHER(isInAnonymousNamespace); REGISTER_MATCHER(isInStdNamespace); REGISTER_MATCHER(isInTemplateInstantiation); REGISTER_MATCHER(isInitCapture);