diff options
author | Malcolm Parsons <malcolm.parsons@gmail.com> | 2016-12-24 13:35:14 +0000 |
---|---|---|
committer | Malcolm Parsons <malcolm.parsons@gmail.com> | 2016-12-24 13:35:14 +0000 |
commit | 4ca3d18b96bd75b5af4a6ebd8a57c673c8867344 (patch) | |
tree | 1a32b65b6a732768186679d1eef3c958aaecd285 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 81e48b26bc274f86ec302c1435edf6421b9a101d (diff) | |
download | bcm5719-llvm-4ca3d18b96bd75b5af4a6ebd8a57c673c8867344.tar.gz bcm5719-llvm-4ca3d18b96bd75b5af4a6ebd8a57c673c8867344.zip |
[ASTMatchers] Add hasInClassInitializer traversal matcher for FieldDecl.
Summary:
I needed to know whether a FieldDecl had an in-class
initializer for D26453. I used a narrowing matcher there, but a
traversal matcher might be generally useful.
Reviewers: sbenza, bkramer, klimek, aaron.ballman
Subscribers: aaron.ballman, Prazek, cfe-commits
Differential Revision: https://reviews.llvm.org/D28034
llvm-svn: 290492
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions