summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/pp-trace/pp-trace-pragma-ms.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
* test: use target triple for the testSaleem Abdulrasool2018-02-071-1/+1
| | | | | | | | Now that `pragma comment` is also used on ELF-ish targets with a restricted set of options, we need to specify the full target here for the test. llvm-svn: 324441
* [extra] pp-trace - Fix for PragmaWarning output, adding tests for the pragma ↵John Thompson2013-11-141-0/+100
callbacks. llvm-svn: 194636
OpenPOWER on IntegriCloud