summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/pp-trace
Commit message (Collapse)AuthorAgeFilesLines
* [pp-trace] Modernize the codeFangrui Song2019-03-249-11/+11
| | | | | | | | | 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-188-7/+24
| | | | | | | | | | | | | | | | | | | | | | | | 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-172-26/+26
| | | | | | This corresponds to the fix to Clang in r351470. llvm-svn: 351471
* Revert "Update clang-tools-extra for r350891 from Clang."Benjamin Kramer2019-01-152-26/+26
| | | | | | This reverts commit r350892. llvm-svn: 351208
* Update clang-tools-extra for r350891 from Clang.Aaron Ballman2019-01-102-26/+26
| | | | llvm-svn: 350892
* 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
* Revert 318668, which is associated with a broken patchErich Keane2017-11-202-2/+2
| | | | llvm-svn: 318702
* extra test modifications for D34158Erich Keane2017-11-202-2/+2
| | | | | | | | | | | | 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
* [pp-trace] Update skipped source ranges in testsVedant Kumar2017-09-112-17/+17
| | | | | | Depends on D36642 llvm-svn: 312948
* Fix tests to not assume they know exactly what will be in Clang's predefines ↵Richard Smith2016-09-303-18/+18
| | | | | | buffer. llvm-svn: 282984
* Update to match clang r236404.Richard Smith2015-05-042-12/+12
| | | | llvm-svn: 236405
* Revert r236001, "Disable ↵NAKAMURA Takumi2015-05-011-3/+0
| | | | | | | | clang-tools-extra/test/pp-trace/pp-trace-modules.cpp on win32 for now. Investigating." It has been resolved. llvm-svn: 236309
* Disable clang-tools-extra/test/pp-trace/pp-trace-modules.cpp on win32 for ↵NAKAMURA Takumi2015-04-281-0/+3
| | | | | | now. Investigating. llvm-svn: 236001
* Revert "Add a missing target requirement."Adrian Prantl2015-02-251-1/+1
| | | | | | This reverts commit 230430. llvm-svn: 230455
* Add a missing target requirement.Adrian Prantl2015-02-251-1/+1
| | | | llvm-svn: 230430
* Prune CRLF.NAKAMURA Takumi2014-10-271-92/+92
| | | | llvm-svn: 220678
* clang-tools-extra/test/pp-trace/pp-trace-modules.cpp: Flush module cache to ↵NAKAMURA Takumi2014-03-091-0/+1
| | | | | | let robust around r203317. llvm-svn: 203369
* clang-tools-extra/test/pp-trace/pp-trace-modules.cpp: Use [[@LINE]].NAKAMURA Takumi2014-03-091-6/+9
| | | | llvm-svn: 203368
* Changed ConditionValue argument to PPCallbacks If and Elif callbacks to be a ↵John Thompson2013-12-072-27/+27
| | | | | | 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 - Fix for PragmaWarning output, adding tests for the pragma ↵John Thompson2013-11-143-0/+240
| | | | | | callbacks. llvm-svn: 194636
* Extended moduleImport test to test a module with more than one path ↵John Thompson2013-11-126-1/+34
| | | | | | component. This required a change to the includes test, because of the change to the headers. llvm-svn: 194504
* Fixed moduleImport and ident callbacks. Fixed modules test. Added ident ↵John Thompson2013-11-122-8/+18
| | | | | | callback test. A better test for moduleExport is coming. llvm-svn: 194447
* [extra] pp-trace - Add test for conditional callbacks.John Thompson2013-11-121-0/+294
| | | | llvm-svn: 194440
* [extra] pp-trace - Test for moduleImport.John Thompson2013-11-113-0/+29
| | | | llvm-svn: 194422
* Rename Input to Inputs, for consistency with other tests.Dan Gohman2013-10-314-19/+19
| | | | llvm-svn: 193805
* pp-trace - preprocessor tacing and PPCallbacks testing toolJohn Thompson2013-10-315-0/+224
llvm-svn: 193743
OpenPOWER on IntegriCloud