llvm-project/clang/unittests/ASTMatchers
Jakub Kuderski 64b6c78e94 Add cxxStdInitializerListExpr AST matcher
Summary:
This adds a new ASTMatcher for CXXStdInitializerListExprs that matches C++ initializer list expressions.

The primary motivation is to use it to fix [[ https://bugs.llvm.org/show_bug.cgi?id=32896 | PR32896 ]] (review here [[ https://reviews.llvm.org/D32767 | D32767 ]]).

Reviewers: alexfh, Prazek, aaron.ballman

Reviewed By: alexfh, aaron.ballman

Subscribers: malcolm.parsons, cfe-commits, klimek

Differential Revision: https://reviews.llvm.org/D32810

llvm-svn: 302287
2017-05-05 21:01:12 +00:00
..
Dynamic [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
ASTMatchersInternalTest.cpp Dividied ASTMatcherTests into 4 files 2016-05-17 19:22:57 +00:00
ASTMatchersNarrowingTest.cpp [ASTMatchers] Add hasInClassInitializer traversal matcher for FieldDecl. 2016-12-24 13:35:14 +00:00
ASTMatchersNodeTest.cpp Add cxxStdInitializerListExpr AST matcher 2017-05-05 21:01:12 +00:00
ASTMatchersTest.h Add AST matchers for ObjCProtocolDecl, ObjCCategoryDecl, ObjCMethodDecl, ObjCIvarDecl, and ObjCPropertyDecl. 2017-03-15 20:14:25 +00:00
ASTMatchersTraversalTest.cpp [gtest] The way EXPECT_TEST now works after upgrading gtest triggers an 2017-01-04 23:57:25 +00:00
CMakeLists.txt Dividied ASTMatcherTests into 4 files 2016-05-17 19:22:57 +00:00