[PATCH] Add a matcher for SubstNonTypeTemplateParmExpr.
Alexander Kornienko
alexfh at google.com
Sun Jun 29 15:24:10 PDT 2014
================
Comment at: include/clang/ASTMatchers/ASTMatchers.h:689
@@ -688,3 +688,3 @@
/// \endcode
/// initList()
/// matches "{ 1, 2 }" and "{ 5, 6 }"
----------------
Daniel Jasper wrote:
> While you are here, can you replace "initList()" with "initListExpr()"?
Done.
================
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;"
----------------
Daniel Jasper wrote:
> Replace initList() with the correct matcher.
Done.
http://reviews.llvm.org/D4327
More information about the cfe-commits
mailing list