Argyrios Kyrtzidis
|
c515978bd3
[preprocessor] Use MacroDirective in the preprocessor callbacks to make available the
|
12 سال پیش |
Argyrios Kyrtzidis
|
9818a1d443
[preprocessor] Split the MacroInfo class into two separate concepts, MacroInfo class
|
12 سال پیش |
Argyrios Kyrtzidis
|
95d912c994
Introduce SourceManager::PredefinesFileID, to allow each checking of whether
|
12 سال پیش |
Jordan Rose
|
98b21b9fce
Preprocessor: initialize member introduced in r173881.
|
12 سال پیش |
Dmitri Gribenko
|
cb5620c9b2
Move UTF conversion routines from clang/lib/Basic to llvm/lib/Support
|
12 سال پیش |
Jordan Rose
|
c7629d9415
Handle universal character names and Unicode characters outside of literals.
|
12 سال پیش |
David Blaikie
|
0a3cbd02ef
Remove unnecessary initialization i Added in r172668.
|
12 سال پیش |
David Blaikie
|
4944606962
Fix -Wreorder warning.
|
12 سال پیش |
Eric Christopher
|
214ea9de65
Move initialization of ParsingIfOrElifDirective down next to the macro
|
12 سال پیش |
Aaron Ballman
|
31672b1745
No longer crashing with an assert when __has_include or __has_include_next is used outside of a preprocessor directive. This fixes PR14837.
|
12 سال پیش |
Dmitri Gribenko
|
cfa88f8939
Remove useless 'llvm::' qualifier from names like StringRef and others that are
|
12 سال پیش |
Richard Smith
|
1fbf6fb5c7
Don't warn about disabled macro expansion if we see the name of a function-like macro which isn't immediately followed by '('. FreeBSD's stdio.h #defines foo(x) to (foo)(x), apparently.
|
12 سال پیش |
Douglas Gregor
|
1b257afbae
Use @import rather than @__experimental_modules_import, since the
|
12 سال پیش |
Chandler Carruth
|
55fc873017
Sort all of Clang's files under 'lib', and fix up the broken headers
|
12 سال پیش |
Argyrios Kyrtzidis
|
37ed12720a
Refactor recording the preprocessor conditional directive regions out of
|
12 سال پیش |
Andy Gibbs
|
97f8461a2c
Made the "expected string literal" diagnostic more expressive
|
12 سال پیش |
Andy Gibbs
|
02a176871d
Refactored duplicate string literal lexing code within Preprocessor, into a
|
12 سال پیش |
Douglas Gregor
|
36a16498ff
Teach the preprocessor to hold onto the preprocessor options.
|
13 سال پیش |
Douglas Gregor
|
a8235d6c40
Rework the (de-)serialization of macros, as stored in
|
13 سال پیش |
Dmitri Gribenko
|
1952354bd3
Move the 'find macro by spelling' infrastructure to the Preprocessor class and
|
13 سال پیش |
Argyrios Kyrtzidis
|
f8afcffe6a
For PPCallbacks::InclusionDirective() add a parameter for the module, whenever
|
13 سال پیش |
Dmitri Gribenko
|
374b3837d6
StringRef'ize Preprocessor::CreateString().
|
13 سال پیش |
Alexander Kornienko
|
cd6df6695c
Added some preprocessor memory usage stats to -cc1 -print-stats
|
13 سال پیش |
Douglas Gregor
|
193f91ba7e
Patch for handling C99 veriadic macros when using precompiled headers,
|
13 سال پیش |
Dmitri Gribenko
|
aa0cd85838
Structured comment parsing, first step.
|
13 سال پیش |
Meador Inge
|
9416d42468
Revert predefined decl tracking.
|
13 سال پیش |
Jordan Rose
|
6fe6a49c40
Disable _Pragma during HTML macro rewriting to keep from crashing.
|
13 سال پیش |
David Blaikie
|
8c0b3787e7
Add a -rewrite-includes option, which is similar to -rewrite-macros, but only expands #include directives.
|
13 سال پیش |
Jordan Rose
|
d73ef135ba
Add pedantic warning -Wempty-translation-unit (C11 6.9p1).
|
13 سال پیش |
Argyrios Kyrtzidis
|
25c2596b98
Initialize the non-target-dependent fields of the Preprocessor in its constructor
|
13 سال پیش |