Lubos Lunak
|
82a9c901e4
make -frewrite-includes also rewrite conditions in #if/#elif
|
6 years ago |
Alex Lorenz
|
d198004caf
Use FileEntryRef for PPCallbacks::FileSkipped
|
6 years ago |
Alex Lorenz
|
5195a35aa7
Introduce FileEntryRef and use it when handling includes to report correct dependencies
|
6 years ago |
Volodymyr Sapsai
|
54cac3348a
[Preprocessor] Add a note with framework location for "file not found" error.
|
6 years ago |
Chandler Carruth
|
324f918438
Update the file headers across all of the LLVM projects in the monorepo
|
6 years ago |
Reid Kleckner
|
1168491f34
Fix clang -Wimplicit-fallthrough warnings across llvm, NFC
|
6 years ago |
Julie Hockett
|
1a597eeed3
Reland '[clang] Adding CharacteristicKind to PPCallbacks::InclusionDirective'
|
7 years ago |
Julie Hockett
|
e5a13a5389
Revert "[clang] Adding CharacteristicKind to PPCallbacks::InclusionDirective"
|
7 years ago |
Julie Hockett
|
6a37651bb3
[clang] Adding CharacteristicKind to PPCallbacks::InclusionDirective
|
7 years ago |
Volodymyr Sapsai
|
6b9cd14d39
Fix evaluation of `__has_include_next` during -frewrite-includes.
|
7 years ago |
Richard Smith
|
0be2e497aa
Support non-identifier module names when preprocessing modules.
|
8 years ago |
Richard Smith
|
d78ae5429a
PR32848: There isn't necessarily a FileChanged or FileSkipped for every InclusionDirective callback.
|
8 years ago |
Richard Smith
|
f195b64c78
Add #pragma clang module begin/end pragmas and generate them when preprocessing a module.
|
8 years ago |
Richard Smith
|
b4a8efab3e
PR26771: don't forget the " 2" (returning from #included file) linemarker after including an empty file with -frewrite-includes.
|
8 years ago |
Richard Smith
|
ee60c74826
Add pragma to perform module import and use it in -E output.
|
8 years ago |
Duncan P. N. Exon Smith
|
fc4c78381a
Preprocessor: Suppress -Wnonportable-include-path for header maps
|
8 years ago |
Mehdi Amini
|
3353f9f983
Use StringRef for MemoryBuffer identifier API (NFC)
|
9 years ago |
Richard Smith
|
1160cb7def
[modules] Don't write @import in -E output if the current language mode doesn't
|
9 years ago |
Richard Smith
|
c4c0ace8cf
Refactor module lookup when looking up a header file, and wire through the requesting module. No functionality change.
|
9 years ago |
Yaron Keren
|
facf2d2c3b
Replace double-negated !SourceLocation.isInvalid() with SourceLocation.isValid().
|
10 years ago |
Justin Bogner
|
869ac7983e
Fix a couple of unused variables in no-asserts
|
10 years ago |
Justin Bogner
|
db0af41dc2
-frewrite-includes: Prefer insert to emplace
|
10 years ago |
Justin Bogner
|
b4c0304eb5
-frewrite-includes: Rework how includes and modules are differentiated
|
10 years ago |
Nikola Smiljanic
|
7a8c4e0773
Fix misleading parameter name for PPCallbacks::FileSkipped.
|
10 years ago |
Eric Christopher
|
85e76306a6
Fix a [-Werror,-Wreorder] initialization ordering error.
|
10 years ago |
Reid Kleckner
|
91a68a7abe
Add -fuse-line-directive flag to control usage of #line with -E
|
10 years ago |
Craig Topper
|
c6da4d1d6c
Unique_ptrify PPCallbacks ownership.
|
11 years ago |
Reid Kleckner
|
b306e0b5b6
-frewrite-includes: Normalize line endings to match the main source file
|
11 years ago |
Manuel Klimek
|
0e5c52d478
Correctly implement -include search logic.
|
11 years ago |
Alp Toker
|
6c4abb1676
Make clang's rewrite engine a core feature
|
11 years ago |