summaryrefslogtreecommitdiffstats
path: root/clang/test/Format/line-ranges.cpp
Commit message (Collapse)AuthorAgeFilesLines
* clang-format: When a line is formatted, also format subsequence lines if ↵Daniel Jasper2015-10-281-4/+4
| | | | | | | | | | | | | | their indent is off. Summary: This is especially important so that if a change is solely inserting a block around a few statements, clang-format-diff.py will still clean up and add indentation to the inner parts. Reviewers: klimek Subscribers: cfe-commits, klimek Differential Revision: http://reviews.llvm.org/D14105 llvm-svn: 251474
* clang-format: Use pipes instead of temporary files for most lit tests.Nico Weber2015-10-191-3/+3
| | | | | | | | | | | | | | | 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
* Added -lines X:Y option to specify line range to process. This is a more ↵Alexander Kornienko2013-07-181-0/+11
human-friendly alternative to -offset and -length. Differential Revision: http://llvm-reviews.chandlerc.com/D1160 llvm-svn: 186625
OpenPOWER on IntegriCloud