summaryrefslogtreecommitdiff
path: root/clang/test/Format/basic.cpp
AgeCommit message (Collapse)Author
2015-10-19clang-format: Use pipes instead of temporary files for most lit tests.Nico Weber
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
2013-04-12Provide better emacs integration.Daniel Jasper
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
2013-03-25Re-add clang-format tests to clang/test.Daniel Jasper
Also now use -strict-whitespace as the tests are confusing otherwise. llvm-svn: 177853