Skip to content

Commit

Permalink
Add isInAnonymousNamespace() to the dynamic AST matchers
Browse files Browse the repository at this point in the history
This was added to the static matchers in
125ccd3, but the dynamic matcher was
missed. This adds the dynamic matcher to the list.
  • Loading branch information
AaronBallman committed Jan 5, 2023
1 parent 3acb255 commit c3ab645
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions clang/lib/ASTMatchers/Dynamic/Registry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c3ab645

Please sign in to comment.