summaryrefslogtreecommitdiff
path: root/clang/test/Format/multiple-inputs-error.cpp
AgeCommit message (Collapse)Author
2025-07-14Revert "[clang-format] Fix an off-by-1 bug with -length option (#143302)"Owen Pan
This reverts commit 1fae5918b3d6fbed8ce6d8a2edf31bdf304ca8db because it may break VSCode. Closes #146036
2025-06-13[clang-format] Fix an off-by-1 bug with -length option (#143302)Owen Pan
Also validate the argument value. Fixes #56245
2013-07-18Added -lines X:Y option to specify line range to process. This is a more ↵Alexander Kornienko
human-friendly alternative to -offset and -length. Differential Revision: http://llvm-reviews.chandlerc.com/D1160 llvm-svn: 186625
2013-07-04Add 'not' to commands that are expected to fail.Rafael Espindola
This is at least good documentation, but also opens the possibility of using pipefail. llvm-svn: 185652
2013-04-24clang-format support for multiple input files.Alexander Kornienko
Summary: Added support for multiple input files, that can be used both with and without in-place edit (-i) option. Added checks for -offset and -length options: don't allow them on multiple files, check that they don't fall outside input file, made both options unsigned, so that there's no need to check for negative values. Removed "-1 can be used for end-of-file" from -length description. Reviewers: djasper, klimek Reviewed By: djasper CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D719 llvm-svn: 180185