John Thompson
87f9fef5a5
Changed ConditionValue argument to PPCallbacks If and Elif callbacks to be a 3-state enum.
...
llvm-svn: 196648
2013-12-07 08:41:15 +00:00
John Thompson
b102856b0e
Add condition expression result to if and elif callbacks.
...
llvm-svn: 186547
2013-07-18 00:00:36 +00:00
Argyrios Kyrtzidis
fead64be9b
[preprocessor] Use MacroDirective in the preprocessor callbacks to make available the
...
full information about the macro (e.g if it was imported and where).
llvm-svn: 175978
2013-02-24 00:05:14 +00:00
Argyrios Kyrtzidis
222a7bbf0d
[Preprocessor] Enhance Ifdef/Ifndef/Defined preprocessor callbacks to also pass
...
a MacroInfo object if the identifier was a macro name.
llvm-svn: 169665
2012-12-08 02:21:11 +00:00
Argyrios Kyrtzidis
f3d587ea7c
Refactor recording the preprocessor conditional directive regions out of
...
PreprocessingRecord and into its own class, PPConditionalDirectiveRecord.
Decoupling allows a client to use the functionality of PPConditionalDirectiveRecord
without needing a PreprocessingRecord.
llvm-svn: 169229
2012-12-04 07:27:05 +00:00