[all-commits] [llvm/llvm-project] 1fae59: [clang-format] Fix an off-by-1 bug with -length op...
Owen Pan via All-commits
all-commits at lists.llvm.org
Fri Jun 13 00:46:13 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1fae5918b3d6fbed8ce6d8a2edf31bdf304ca8db
https://github.com/llvm/llvm-project/commit/1fae5918b3d6fbed8ce6d8a2edf31bdf304ca8db
Author: Owen Pan <owenpiano at gmail.com>
Date: 2025-06-13 (Fri, 13 Jun 2025)
Changed paths:
M clang/test/Format/multiple-inputs-error.cpp
M clang/test/Format/ranges.cpp
M clang/tools/clang-format/ClangFormat.cpp
Log Message:
-----------
[clang-format] Fix an off-by-1 bug with -length option (#143302)
Also validate the argument value.
Fixes #56245
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list