[PATCH] Add a matcher for SubstNonTypeTemplateParmExpr.
Daniel Jasper
djasper at google.com
Sun Jun 29 12:43:33 PDT 2014
Looks good.
================
Comment at: include/clang/ASTMatchers/ASTMatchers.h:689
@@ -688,3 +688,3 @@
/// \endcode
/// initList()
/// matches "{ 1, 2 }" and "{ 5, 6 }"
----------------
While you are here, can you replace "initList()" with "initListExpr()"?
================
Comment at: include/clang/ASTMatchers/ASTMatchers.h:701
@@ +700,3 @@
+/// \endcode
+/// initList()
+/// matches "N" in the right-hand side of "static const int n = N;"
----------------
Replace initList() with the correct matcher.
http://reviews.llvm.org/D4327
More information about the cfe-commits
mailing list