Douglas Gregor
|
fe6834af25
Make sure we're producing a newline in the preprocessed output before
|
15 年之前 |
Douglas Gregor
|
80c60f7284
When we parse a pragma, keep track of how that pragma was originally
|
15 年之前 |
Daniel Dunbar
|
4566d1a0e5
Frontend/-H: Add comment on why I used a temporary string here.
|
15 年之前 |
Daniel Dunbar
|
f7c16d903f
Frontend: Add basic -H support.
|
15 年之前 |
Benjamin Kramer
|
2f05449fa1
Push location through the MacroUndefined PPCallback and use it to print #undefs in -dD mode. (PR7818)
|
15 年之前 |
Argyrios Kyrtzidis
|
9b36c3f0de
Modify the pragma handlers to accept and use StringRefs instead of IdentifierInfos.
|
15 年之前 |
Chris Lattner
|
abfe094ce7
Implement support for #pragma message, patch by Michael Spencer!
|
15 年之前 |
Chris Lattner
|
c54539cd17
fix the various buildbot failures by ensuring that tokens are really completely initialized.
|
15 年之前 |
Chris Lattner
|
90db74c361
fix an uninitialized variable, patch by Michael Spencer!
|
15 年之前 |
Chris Lattner
|
6133aeb97d
fix PR7360: -P mode turns off line markers, but not blank space.
|
15 年之前 |
Daniel Dunbar
|
c72cc5072c
Preprocessor: Ignore unknown pragmas in -E -dM and -Eonly modes.
|
15 年之前 |
Chris Lattner
|
e127a0d801
push some source location information down through the compiler,
|
15 年之前 |
Dan Gohman
|
8ed4ff6d05
Remove this hard-coded buffer size. In some basic experiments preprocessing
|
15 年之前 |
Chris Lattner
|
86d0ef7430
Improve line marker directive locations, patch by Jordy Rose
|
15 年之前 |
Chris Lattner
|
8877321ca6
make the token paste avoidance logic turn "..." into ".. ." instead of ". . ."
|
15 年之前 |
Chris Lattner
|
df721408f5
cache the PP's SourceManager.
|
15 年之前 |
Chris Lattner
|
88aae9188a
make the preprocessor listen to linemarker directives in -E mode,
|
15 年之前 |
Douglas Gregor
|
dbf8ee630e
Entering the main source file in the preprocessor can fail if the
|
15 年之前 |
Kovarththanan Rajaratnam
|
193575455e
Use SmallString instead of SmallVector
|
15 年之前 |
Kovarththanan Rajaratnam
|
a5d10c4df4
Rename to addPPCallbacks since we're effectively adding a callback and maybe chaining it to an existing one
|
15 年之前 |
Benjamin Kramer
|
e396007efa
Revert 97324. Chris says this cleanup could hurt -E performance.
|
15 年之前 |
Benjamin Kramer
|
8caa6c56b1
Simplify code.
|
15 年之前 |
Benjamin Kramer
|
ddeea56443
Add an overload of Preprocessor::getSpelling which takes a SmallVector and
|
15 年之前 |
Benjamin Kramer
|
3ff2a4b861
Avoid an instantiation of std::sort.
|
15 年之前 |
Chris Lattner
|
13d555859c
Neil points out that this could be simplified, do it.
|
15 年之前 |
Chris Lattner
|
807b93ee6a
fix -dM with variadic macros, PR5699
|
15 年之前 |
Chris Lattner
|
f744934600
some code cleanup.
|
15 年之前 |
Steve Naroff
|
d76fbda5da
Integrate the following from the 'objective-rewrite' branch:
|
15 年之前 |
Daniel Dunbar
|
29cf746aef
Add PreprocessorOutputOptions to CompilerInvocation, and move initialization to
|
16 年之前 |
Daniel Dunbar
|
775bee71ad
Add PreprocessorOutputOptions, for things like -dM, -C, -CC which control -E
|
16 年之前 |