]> granicus.if.org Git - clang/commit
Add cxxStdInitializerListExpr AST matcher
authorJakub Kuderski <kubakuderski@gmail.com>
Fri, 5 May 2017 21:01:12 +0000 (21:01 +0000)
committerJakub Kuderski <kubakuderski@gmail.com>
Fri, 5 May 2017 21:01:12 +0000 (21:01 +0000)
commitb64b36bd35a2ead9464dfa8fea2655eaa62b2709
tree1fcf9a42ee103defd9eecee241bf40ac6c87edbc
parentaa751c356d75e325a9f1c8de9e8a589454ba672f
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
docs/LibASTMatchersReference.html
include/clang/ASTMatchers/ASTMatchers.h
lib/ASTMatchers/Dynamic/Registry.cpp
unittests/ASTMatchers/ASTMatchersNodeTest.cpp