summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/pp-trace/pp-trace-macro.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-2/+2
| | | | | | 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-2/+2
| | | | | | This reverts commit r350892. llvm-svn: 351208
* Update clang-tools-extra for r350891 from Clang.Aaron Ballman2019-01-101-2/+2
| | | | llvm-svn: 350892
* [pp-trace] Update skipped source ranges in testsVedant Kumar2017-09-111-1/+1
| | | | | | 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-8/+8
| | | | llvm-svn: 236405
* Prune CRLF.NAKAMURA Takumi2014-10-271-92/+92
| | | | llvm-svn: 220678
* Changed ConditionValue argument to PPCallbacks If and Elif callbacks to be a ↵John Thompson2013-12-071-3/+3
| | | | | | 3-state enum. llvm-svn: 196648
* pp-trace - preprocessor tacing and PPCallbacks testing toolJohn Thompson2013-10-311-0/+101
llvm-svn: 193743
OpenPOWER on IntegriCloud