summaryrefslogtreecommitdiffstats
path: root/clang/test/Frontend/Inputs/SystemHeaderPrefix
Commit message (Collapse)AuthorAgeFilesLines
* Track skipped files in dependency scanning.Volodymyr Sapsai2018-05-011-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | It's possible for a header to be a symlink to another header. In this case both will be represented by clang::FileEntry with the same UID and they'll use the same clang::HeaderFileInfo. If you include both headers and use some single-inclusion mechanism like a header guard or #import, one header will get a FileChanged callback, and another FileSkipped. So that we get an accurate dependency file, we therefore need to also implement the FileSkipped callback in dependency scanning. Patch by Pete Cooper. Reviewers: bruno, pete Reviewed By: bruno Subscribers: cfe-commits, jkorous, vsapsai Differential Revision: https://reviews.llvm.org/D30881 llvm-svn: 331319
* Add test coverage for recent behavior change in GNU line marker pre-processingReid Kleckner2017-05-231-0/+0
| | | | llvm-svn: 303642
* Give files from #line the characteristics of the current fileReid Kleckner2017-05-222-0/+3
| | | | | | | | | | This allows #line directives to appear in system headers that have code that clang would normally warn on. This is compatible with GCC, which is easy to test by running `gcc -E`. Fixes PR30752 llvm-svn: 303582
* Add -isystem-prefix and -ino-system-prefix arguments, which can be used toRichard Smith2012-06-136-0/+14
override whether headers are system headers by checking for prefixes of the header name specified in the #include directive. This allows warnings to be disabled for third-party code which is found in specific subdirectories of include paths. llvm-svn: 158418
OpenPOWER on IntegriCloud