Tim Shen
17b3deeff3
Revert "[Temporary] Add an ExprWithCleanups for each C++ MaterializeTemporaryExpr."
...
This reverts r272296, since there are clang-tidy failures that appear to
be caused by this change.
llvm-svn: 272310
2016-06-09 21:13:39 +00:00
Tim Shen
f120a7b6a3
[Temporary] Add an ExprWithCleanups for each C++ MaterializeTemporaryExpr.
...
These ExprWithCleanups are added for holding a RunCleanupsScope not
for destructor calls; rather, they are for lifetime marks. This requires
ExprWithCleanups to keep a bit to indicate whether it have cleanups with
side effects (e.g. dtor calls).
Differential Revision: http://reviews.llvm.org/D20498
llvm-svn: 272296
2016-06-09 19:54:46 +00:00
Aaron Ballman
ba8dbbe86f
Adding an AST matcher to ignore parenthesis in *types* (rather than expressions). This is required for traversing certain types (like function pointer types).
...
llvm-svn: 271927
2016-06-06 18:52:17 +00:00
Haojian Wu
40b1277135
[ASTMacther] A follow-up on unresolvedLookupExpr test fixing.
...
llvm-svn: 269957
2016-05-18 16:48:44 +00:00
Haojian Wu
da5b1131de
[ASTMatcher] Fix a ASTMatcher test failure on Windows.
...
Reviewers: alexfh, aaron.ballman
Subscribers: thakis, cfe-commits, klimek
Differential Revision: http://reviews.llvm.org/D20369
llvm-svn: 269936
2016-05-18 15:15:12 +00:00
Haojian Wu
7751c92582
[ASTMatcher] Add a node matcher for UnresolvedLookupExpr.
...
Reviewers: alexfh, aaron.ballman
Subscribers: aaron.ballman, klimek, cfe-commits
Differential Revision: http://reviews.llvm.org/D20360
llvm-svn: 269916
2016-05-18 12:53:59 +00:00
Piotr Padlewski
c6e0502997
Dividied ASTMatcherTests into 4 files
...
fix for long compilation [20061]
http://reviews.llvm.org/D20210
llvm-svn: 269802
2016-05-17 19:22:57 +00:00