Argyrios Kyrtzidis
|
c892c5fa92
For the FileChanged Preprocessor callback, when exiting a file, pass its FileID.
|
před 14 roky |
Francois Pichet
|
62ec1f2fd7
Rename LangOptions::Microsoft to LangOptions::MicrosoftExt to make it clear that this flag must be used only for Microsoft extensions and not emulation; to avoid confusion with the new LangOptions::MicrosoftMode flag.
|
před 14 roky |
Chandler Carruth
|
a77c031cb6
Rename getInstantiationColumnNumber to getExpansionColumnNumber in both
|
před 14 roky |
Chris Lattner
|
5f9e272e63
remove unneeded llvm:: namespace qualifiers on some core types now that LLVM.h imports
|
před 14 roky |
Chandler Carruth
|
9f79a1f896
Update the remaining comments in Frontend to 'expansion'.
|
před 14 roky |
Douglas Gregor
|
c09ce1224d
Copy diagnostic pragmas to the preprocessed output, from Richard Osborne!
|
před 14 roky |
Peter Collingbourne
|
84021556ba
Rename tok::eom to tok::eod.
|
před 14 roky |
Daniel Dunbar
|
eef63e0997
Frontend: Factor out header include dumping (-H) into its own preprocessor
|
před 14 roky |
Craig Silverstein
|
2aa9267cf1
Several PPCallbacks take an SourceLocation + IdentifierInfo, rather
|
před 14 roky |
Douglas Gregor
|
cb7b1e17b6
Make sure to always check the result of
|
před 14 roky |
Chris Lattner
|
1397399de1
make sure #pragma clang is treated the same way as #pragma gcc in -E mode,
|
před 14 roky |
Ted Kremenek
|
2346513da4
Handle '#line' in '-E' that has an empty file name. Fixes <rdar://problem/8439412>.
|
před 15 roky |
Douglas Gregor
|
fe6834af25
Make sure we're producing a newline in the preprocessed output before
|
před 15 roky |
Douglas Gregor
|
80c60f7284
When we parse a pragma, keep track of how that pragma was originally
|
před 15 roky |
Daniel Dunbar
|
4566d1a0e5
Frontend/-H: Add comment on why I used a temporary string here.
|
před 15 roky |
Daniel Dunbar
|
f7c16d903f
Frontend: Add basic -H support.
|
před 15 roky |
Benjamin Kramer
|
2f05449fa1
Push location through the MacroUndefined PPCallback and use it to print #undefs in -dD mode. (PR7818)
|
před 15 roky |
Argyrios Kyrtzidis
|
9b36c3f0de
Modify the pragma handlers to accept and use StringRefs instead of IdentifierInfos.
|
před 15 roky |
Chris Lattner
|
abfe094ce7
Implement support for #pragma message, patch by Michael Spencer!
|
před 15 roky |
Chris Lattner
|
c54539cd17
fix the various buildbot failures by ensuring that tokens are really completely initialized.
|
před 15 roky |
Chris Lattner
|
90db74c361
fix an uninitialized variable, patch by Michael Spencer!
|
před 15 roky |
Chris Lattner
|
6133aeb97d
fix PR7360: -P mode turns off line markers, but not blank space.
|
před 15 roky |
Daniel Dunbar
|
c72cc5072c
Preprocessor: Ignore unknown pragmas in -E -dM and -Eonly modes.
|
před 15 roky |
Chris Lattner
|
e127a0d801
push some source location information down through the compiler,
|
před 15 roky |
Dan Gohman
|
8ed4ff6d05
Remove this hard-coded buffer size. In some basic experiments preprocessing
|
před 15 roky |
Chris Lattner
|
86d0ef7430
Improve line marker directive locations, patch by Jordy Rose
|
před 15 roky |
Chris Lattner
|
8877321ca6
make the token paste avoidance logic turn "..." into ".. ." instead of ". . ."
|
před 15 roky |
Chris Lattner
|
df721408f5
cache the PP's SourceManager.
|
před 15 roky |
Chris Lattner
|
88aae9188a
make the preprocessor listen to linemarker directives in -E mode,
|
před 15 roky |
Douglas Gregor
|
dbf8ee630e
Entering the main source file in the preprocessor can fail if the
|
před 15 roky |