diff options
author | Volodymyr Sapsai <vsapsai@apple.com> | 2018-09-18 23:27:02 +0000 |
---|---|---|
committer | Volodymyr Sapsai <vsapsai@apple.com> | 2018-09-18 23:27:02 +0000 |
commit | a4c53284c131bdd1ba2d330d918f42159af4eee2 (patch) | |
tree | 7b4f9f003435cc449adc070693a14da3a9bce6e4 /clang/lib/Analysis/ThreadSafetyCommon.cpp | |
parent | 78381c63ae076f17092236b4e4c80df7fc222f15 (diff) | |
download | llvm-a4c53284c131bdd1ba2d330d918f42159af4eee2.zip llvm-a4c53284c131bdd1ba2d330d918f42159af4eee2.tar.gz llvm-a4c53284c131bdd1ba2d330d918f42159af4eee2.tar.bz2 |
Add a callback for `__has_include` and use it for dependency scanning.
This adds a preprocessor callback for the `__has_include` and
`__has_include_next` directives.
Successful checking for the presence of a header should add it to the list of
header dependencies so this overrides the callback in the dependency scanner.
Patch by Pete Cooper with some additions by me.
rdar://problem/39545636
Differential Revision: https://reviews.llvm.org/D30882
llvm-svn: 342517
Diffstat (limited to 'clang/lib/Analysis/ThreadSafetyCommon.cpp')
0 files changed, 0 insertions, 0 deletions