[PATCH] D37346: Register linkageSpecDecl matcher

Dave Lee via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 31 11:22:17 PDT 2017


kastiglione created this revision.
Herald added a subscriber: klimek.

This allows `linkageSpecDecl` to be used from `clang-query`.

See also https://reviews.llvm.org/D31869 which similary adds `isStaticStorageClass`.


https://reviews.llvm.org/D37346

Files:
  lib/ASTMatchers/Dynamic/Registry.cpp


Index: lib/ASTMatchers/Dynamic/Registry.cpp
===================================================================
--- lib/ASTMatchers/Dynamic/Registry.cpp
+++ lib/ASTMatchers/Dynamic/Registry.cpp
@@ -355,6 +355,7 @@
   REGISTER_MATCHER(labelDecl);
   REGISTER_MATCHER(labelStmt);
   REGISTER_MATCHER(lambdaExpr);
+  REGISTER_MATCHER(linkageSpecDecl);
   REGISTER_MATCHER(lValueReferenceType);
   REGISTER_MATCHER(matchesName);
   REGISTER_MATCHER(matchesSelector);


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37346.113445.patch
Type: text/x-patch
Size: 463 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170831/05eea24b/attachment.bin>


More information about the cfe-commits mailing list