[PATCH] D48759: [ASTMatchers] add matcher for decltypeType and its underlyingType

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 29 05:47:22 PDT 2018


aaron.ballman added a comment.

Once this goes in, you can also update TrailingReturnTypeCheck.cpp to remove its local instance of this type matcher.



================
Comment at: lib/ASTMatchers/Dynamic/Registry.cpp:137
   REGISTER_MATCHER(autoType);
+  REGISTER_MATCHER(decltypeType);
   REGISTER_MATCHER(binaryOperator);
----------------
Please keep this list sorted in alphabetical order.


Repository:
  rC Clang

https://reviews.llvm.org/D48759





More information about the cfe-commits mailing list