From 565019ff3209ba5f50895b43d00007c4e105a379 Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Sat, 15 Apr 2017 12:53:20 +0000 Subject: [PATCH] Add isStaticStorageClass to the dynamic matcher registry so that it can be used from clang-query. Patch by Dave Lee. llvm-svn: 300400 --- 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 59070ff..9fa6930 100644 --- a/clang/lib/ASTMatchers/Dynamic/Registry.cpp +++ b/clang/lib/ASTMatchers/Dynamic/Registry.cpp @@ -330,6 +330,7 @@ RegistryMaps::RegistryMaps() { REGISTER_MATCHER(isPublic); REGISTER_MATCHER(isPure); REGISTER_MATCHER(isSignedInteger); + REGISTER_MATCHER(isStaticStorageClass); REGISTER_MATCHER(isStruct); REGISTER_MATCHER(isTemplateInstantiation); REGISTER_MATCHER(isUnion); -- 2.7.4