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 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@302287 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- docs/LibASTMatchersReference.html 15 additions, 2 deletionsdocs/LibASTMatchersReference.html
- include/clang/ASTMatchers/ASTMatchers.h 14 additions, 0 deletionsinclude/clang/ASTMatchers/ASTMatchers.h
- lib/ASTMatchers/Dynamic/Registry.cpp 1 addition, 0 deletionslib/ASTMatchers/Dynamic/Registry.cpp
- unittests/ASTMatchers/ASTMatchersNodeTest.cpp 23 additions, 0 deletionsunittests/ASTMatchers/ASTMatchersNodeTest.cpp
Loading
Please register or sign in to comment