[PATCH] D26032: [ASTMatcher] Add operatorNew matcher for cxxNewExpr

2016-10-29 Thread Malcolm Parsons via cfe-commits
malcolm.parsons updated this revision to Diff 76316. malcolm.parsons added a comment. Extend hasDeclaration instead. https://reviews.llvm.org/D26032 Files: docs/LibASTMatchersReference.html include/clang/ASTMatchers/ASTMatchers.h include/clang/ASTMatchers/ASTMatchersInternal.h unittests

[PATCH] D26032: [ASTMatcher] Add operatorNew matcher for cxxNewExpr

2016-10-27 Thread Aaron Ballman via cfe-commits
aaron.ballman added a reviewer: sbenza. aaron.ballman added a subscriber: sbenza. aaron.ballman added inline comments. Comment at: include/clang/ASTMatchers/ASTMatchers.h:4042 +/// \endcode +AST_MATCHER_P(CXXNewExpr, operatorNew, + internal::Matcher, InnerMatcher) {

[PATCH] D26032: [ASTMatcher] Add operatorNew matcher for cxxNewExpr

2016-10-27 Thread Malcolm Parsons via cfe-commits
malcolm.parsons created this revision. malcolm.parsons added reviewers: aaron.ballman, klimek. malcolm.parsons added a subscriber: cfe-commits. https://reviews.llvm.org/D26032 Files: docs/LibASTMatchersReference.html include/clang/ASTMatchers/ASTMatchers.h lib/ASTMatchers/Dynamic/Registry.c