summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/pp-trace/pp-trace-pragma-general.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 318668, which is associated with a broken patchErich Keane2017-11-201-1/+1
| | | | llvm-svn: 318702
* extra test modifications for D34158Erich Keane2017-11-201-1/+1
| | | | | | | | | | | | When adding support for D34158 which changes preprocessed output, I needed to make tiny test corrections for these. Adding the option -ffreestanding suppresses the new behavior, and that's the change I made to fix the tests. Patch By: mibintc Differential Revision: https://reviews.llvm.org/D34624 llvm-svn: 318668
* Handle PragmaDebug in PPChainedCallbacksAlex Lorenz2017-10-251-0/+11
| | | | | | The test is in clang-tools-extra/test/pp-trace llvm-svn: 316621
* [extra] pp-trace - Fix for PragmaWarning output, adding tests for the pragma ↵John Thompson2013-11-141-0/+107
callbacks. llvm-svn: 194636
OpenPOWER on IntegriCloud