summaryrefslogtreecommitdiffstats
path: root/clang/unittests/ASTMatchers/ASTMatchersTest.cpp
diff options
context:
space:
mode:
authorSamuel Benzaquen <sbenza@google.com>2014-04-02 13:11:45 +0000
committerSamuel Benzaquen <sbenza@google.com>2014-04-02 13:11:45 +0000
commit2019cea863edd12df1a95ba1cddefcdc91b3c576 (patch)
treef18ae3b792b8406f2aed3ef4773516bdf17726af /clang/unittests/ASTMatchers/ASTMatchersTest.cpp
parent11ff0a26a48af41db54e058cae44ca85fb7551bc (diff)
downloadbcm5719-llvm-2019cea863edd12df1a95ba1cddefcdc91b3c576.tar.gz
bcm5719-llvm-2019cea863edd12df1a95ba1cddefcdc91b3c576.zip
Add support for named values in the parser.
Summary: Add support for named values in the parser. This allows injection of arbitrary constants using a custom Sema object. Completions are not supported right now. Will be used by clang_query to support the 'let' command. Usage example: clang_query> let unique_ptr recordDecl(hasName("unique_ptr")) clang_query> match varDecl(hasType(unique_ptr)) Reviewers: klimek, pcc CC: cfe-commits, klimek Differential Revision: http://llvm-reviews.chandlerc.com/D3229 llvm-svn: 205419
Diffstat (limited to 'clang/unittests/ASTMatchers/ASTMatchersTest.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud