summaryrefslogtreecommitdiffstats
path: root/clang/test/Format/basic.cpp
Commit message (Collapse)AuthorAgeFilesLines
* clang-format: Use pipes instead of temporary files for most lit tests.Nico Weber2015-10-191-3/+2
| | | | | | | | | | | | | | | This makes the format tests look more like most other FileCheck tests in clang. The multiple-inputs tests still use temp files, to make sure that the file input code in clang-format stays tested. Stop stripping out the comment lines in style-on-command-line.cpp as they don't get in the way and it makes the test simpler. Also remove 2>&1s on the tests in that file that don't need it. http://reviews.llvm.org/D13852 llvm-svn: 250706
* Provide better emacs integration.Daniel Jasper2013-04-121-1/+1
| | | | | | | | | | | The new emacs integration is simpler, does not save the current file before reformatting and ensures that emacs does not scroll as a result of formatting. Also explicitly set the style in clang-format tests to make them more robust. llvm-svn: 179372
* Re-add clang-format tests to clang/test.Daniel Jasper2013-03-251-0/+6
Also now use -strict-whitespace as the tests are confusing otherwise. llvm-svn: 177853
OpenPOWER on IntegriCloud