Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Track skipped files in dependency scanning. | Volodymyr Sapsai | 2018-05-01 | 1 | -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-processing | Reid Kleckner | 2017-05-23 | 1 | -0/+0 |
| | | | | llvm-svn: 303642 | ||||
* | Give files from #line the characteristics of the current file | Reid Kleckner | 2017-05-22 | 2 | -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 to | Richard Smith | 2012-06-13 | 6 | -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 |