From: Aaron Ballman Date: Sat, 15 Apr 2017 12:53:20 +0000 (+0000) Subject: Add isStaticStorageClass to the dynamic matcher registry so that it can be used from... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3c391737ae9777f4d8bb0927dc8bf90ce80b66b8;p=clang Add isStaticStorageClass to the dynamic matcher registry so that it can be used from clang-query. Patch by Dave Lee. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@300400 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/ASTMatchers/Dynamic/Registry.cpp b/lib/ASTMatchers/Dynamic/Registry.cpp index 59070ff458..9fa6930381 100644 --- a/lib/ASTMatchers/Dynamic/Registry.cpp +++ b/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);