[cfe-commits] [PATCH] New matcher for MaterializeTemporaryExpression.

Manuel Klimek reviews at llvm-reviews.chandlerc.com
Tue Aug 21 06:51:31 PDT 2012



================
Comment at: include/clang/ASTMatchers/ASTMatchers.h:478
@@ +477,3 @@
+///
+/// Example: Given
+///   struct T {void func()};
----------------
Please use \code around the code blocks.

================
Comment at: unittests/ASTMatchers/ASTMatchersTest.cpp:1253
@@ +1252,3 @@
+TEST(MaterializeTempExpr, MatchesTemporary) {
+  StatementMatcher MaterializeTemp = materializeTempExpr();
+
----------------
Is there a reason not to just inline this?


http://llvm-reviews.chandlerc.com/D20



More information about the cfe-commits mailing list