diff options
| author | Samuel Benzaquen <sbenza@google.com> | 2014-04-02 13:11:45 +0000 |
|---|---|---|
| committer | Samuel Benzaquen <sbenza@google.com> | 2014-04-02 13:11:45 +0000 |
| commit | 62060a01e095cf35eb9ca42a333752d12714f35c (patch) | |
| tree | ba57ab4582a74411d59f566a235280ca56896a68 /lib/CodeGen/CodeGenFunction.cpp | |
| parent | 82796d3e85a440e74afba3a50ab90779b28836c5 (diff) | |
| download | clang-62060a01e095cf35eb9ca42a333752d12714f35c.tar.gz clang-62060a01e095cf35eb9ca42a333752d12714f35c.tar.bz2 clang-62060a01e095cf35eb9ca42a333752d12714f35c.tar.xz | |
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
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@205419 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
