summaryrefslogtreecommitdiffstats
path: root/clang/lib/Lex/PPConditionalDirectiveRecord.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Change std::{lower,upper}_bound to llvm::{lower,upper}_bound or ↵Fangrui Song2019-07-031-6/+4
| | | | | | llvm::partition_point. NFC llvm-svn: 365006
* Update the file headers across all of the LLVM projects in the monorepoChandler Carruth2019-01-191-4/+3
| | | | | | | | | | | | | | | | | to reflect the new license. We understand that people may be surprised that we're moving the header entirely to discuss the new license. We checked this carefully with the Foundation's lawyer and we believe this is the correct approach. Essentially, all code in the project is now made available by the LLVM project under our new license, so you will see that the license headers include that license only. Some of our contributors have contributed code under our old license, and accordingly, we have retained a copy of our old license notice in the top-level files in each project and repository. llvm-svn: 351636
* Switch PPCallbacks to take the new MacroDefinition instead of ↵Richard Smith2015-05-041-2/+2
| | | | | | MacroDirective*, in order to preserve full information on module macro expansion. llvm-svn: 236404
* Changed ConditionValue argument to PPCallbacks If and Elif callbacks to be a ↵John Thompson2013-12-071-2/+2
| | | | | | 3-state enum. llvm-svn: 196648
* Add condition expression result to if and elif callbacks.John Thompson2013-07-181-1/+3
| | | | llvm-svn: 186547
* [preprocessor] Use MacroDirective in the preprocessor callbacks to make ↵Argyrios Kyrtzidis2013-02-241-2/+2
| | | | | | | | available the full information about the macro (e.g if it was imported and where). llvm-svn: 175978
* [Preprocessor] Enhance Ifdef/Ifndef/Defined preprocessor callbacks to also passArgyrios Kyrtzidis2012-12-081-2/+4
| | | | | | a MacroInfo object if the identifier was a macro name. llvm-svn: 169665
* Refactor recording the preprocessor conditional directive regions out ofArgyrios Kyrtzidis2012-12-041-0/+118
PreprocessingRecord and into its own class, PPConditionalDirectiveRecord. Decoupling allows a client to use the functionality of PPConditionalDirectiveRecord without needing a PreprocessingRecord. llvm-svn: 169229
OpenPOWER on IntegriCloud