[PATCH] Add matcher for ExprWithCleanups.
    Manuel Klimek 
    klimek at google.com
       
    Wed Apr  2 01:34:59 PDT 2014
    
    
  
  lg
================
Comment at: include/clang/ASTMatchers/ASTMatchers.h:670
@@ +669,3 @@
+/// \code
+/// const std::string str = std::string();
+const internal::VariadicDynCastAllOfMatcher<Stmt, ExprWithCleanups>
----------------
Please:
a) indent this line
b) add \endcode
================
Comment at: include/clang/ASTMatchers/ASTMatchers.h:666
@@ +665,3 @@
+/// \brief Matches expressions that introduce cleanups to be run at the end
+///   of the sub-expression's evaluation.
+///
----------------
Nit: I'd not indent here.
http://llvm-reviews.chandlerc.com/D3248
BRANCH
  ExprWithCleanups
ARCANIST PROJECT
  clang
    
    
More information about the cfe-commits
mailing list