Richard Smith
|
0fa9a240fd
[C++20] Implement context-sensitive header-name lexing and pp-import parsing in the preprocessor.
|
6 years ago |
Reid Kleckner
|
d2d8393da1
Add PragmaHandler for MSVC pragma execution_character_set
|
6 years ago |
Chandler Carruth
|
324f918438
Update the file headers across all of the LLVM projects in the monorepo
|
6 years ago |
David Blaikie
|
799b6c6d79
Fix combining pragma __debug dump & parser_crash with -E
|
6 years ago |
Fangrui Song
|
abdbb605f2
Remove trailing space
|
7 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 |
Paul Robinson
|
0e8934cb92
Calculate size of buffer instead of using a magic value.
|
7 years ago |
Reid Kleckner
|
f98dea105e
Don't print end-of-directive tokens in -E output
|
7 years ago |
Eli Friedman
|
ce3b2b06b6
[Preprocessor] Preserve #pragma clang assume_nonnull in preprocessed output
|
8 years ago |
Faisal Vali
|
d1a84831f5
[NFC] Refactor the Preprocessor function that handles Macro definitions and rename Arguments to Parameters in Macro Definitions.
|
8 years ago |
Faisal Vali
|
fa8c4ac408
Revert changes from my previous refactoring - will need to fix dependencies in clang's extra tooling (such as clang-tidy etc.).
|
8 years ago |
Faisal Vali
|
fc60afa41c
[NFC] Refactor the Preprocessor function that handles Macro definitions and rename Arguments to Parameters in Macro Definitions.
|
8 years ago |
Richard Smith
|
0be2e497aa
Support non-identifier module names when preprocessing modules.
|
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
|
ee60c74826
Add pragma to perform module import and use it in -E output.
|
8 years ago |
Vassil Vassilev
|
d39ba1050a
Remove leaking UnknownPragmaHandlers right after we are done with them.
|
8 years ago |
Vedant Kumar
|
e05b249e25
Revert "Revert "PPCallbacks::MacroUndefined, change signature and add test.""
|
8 years ago |
Vedant Kumar
|
313bd3bb2c
Revert "PPCallbacks::MacroUndefined, change signature and add test."
|
8 years ago |
Frederich Munch
|
9bc5210653
PPCallbacks::MacroUndefined, change signature and add test.
|
8 years ago |
Bruno Cardoso Lopes
|
9483fa6dbe
[Preprocessor] Support for '-dI' flag
|
8 years ago |
Bruno Cardoso Lopes
|
8b380aaeb1
Revert "[Preprocessor] Support for '-dI' flag"
|
8 years ago |
Bruno Cardoso Lopes
|
bbd8f1a411
[Preprocessor] Support for '-dI' flag
|
8 years ago |
Richard Smith
|
7249d7283d
[modules] Add a comment to explain why -E leaves some #includes in the preprocessed output.
|
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 Trieu
|
3fae4abaf2
Remove use of builtin comma operator.
|
9 years ago |
Benjamin Kramer
|
c143b1047e
Reduce the number of implicit StringRef->std::string conversions by threading StringRef through more APIs.
|
9 years ago |
David Blaikie
|
a310431916
Simplify EnterTokenStream API to make it more robust for memory management
|
9 years ago |
Alexey Bataev
|
de6b5ce21f
Fix possible OOB access found by buildbot
|
9 years ago |