summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/pp-trace/pp-trace-conditional.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [pp-trace] Modernize the codeFangrui Song2019-03-241-1/+1
| | | | | | | | | Use InitLLVM and WithColor Delete PPTraceConsumer, add the callback in PPTraceAction Migrae to tooling::createExecutorFromCommandLineArgs Don't specialize empty OutputFileName llvm-svn: 356849
* [pp-trace] Delete -ignore and add a new option -callbacksFangrui Song2019-03-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Summary: -ignore specifies a list of PP callbacks to ignore. It cannot express a whitelist, which may be more useful than a blacklist. Add a new option -callbacks to replace it. -ignore= (default) => -callbacks='*' (default) -ignore=FileChanged,FileSkipped => -callbacks='*,-FileChanged,-FileSkipped' -callbacks='Macro*' : print only MacroDefined,MacroExpands,MacroUndefined,... Reviewers: juliehockett, aaron.ballman, alexfh, ioeric Reviewed By: aaron.ballman Subscribers: nemanjai, kbarton, jsji, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D59296 llvm-svn: 356366
* Revert r351208 (which was a revert of r350892).Aaron Ballman2019-01-171-24/+24
| | | | | | This corresponds to the fix to Clang in r351470. llvm-svn: 351471
* Revert "Update clang-tools-extra for r350891 from Clang."Benjamin Kramer2019-01-151-24/+24
| | | | | | This reverts commit r350892. llvm-svn: 351208
* Update clang-tools-extra for r350891 from Clang.Aaron Ballman2019-01-101-24/+24
| | | | llvm-svn: 350892
* [pp-trace] Update skipped source ranges in testsVedant Kumar2017-09-111-16/+16
| | | | | | Depends on D36642 llvm-svn: 312948
* Fix tests to not assume they know exactly what will be in Clang's predefines ↵Richard Smith2016-09-301-6/+6
| | | | | | buffer. llvm-svn: 282984
* Update to match clang r236404.Richard Smith2015-05-041-4/+4
| | | | llvm-svn: 236405
* Changed ConditionValue argument to PPCallbacks If and Elif callbacks to be a ↵John Thompson2013-12-071-24/+24
| | | | | | 3-state enum. llvm-svn: 196648
* Enea Zaffanella's fix for the PPCallbacks Elif callback, with a slight ↵John Thompson2013-12-041-0/+10
| | | | | | re-org, and an update of the new PPCallbacks test (soon to be moved to clang from extra), rather the unittest. llvm-svn: 196407
* [extra] pp-trace - Add test for conditional callbacks.John Thompson2013-11-121-0/+294
llvm-svn: 194440
OpenPOWER on IntegriCloud