diff options
author | Iuri Chaer <ichaer@splunk.com> | 2024-10-12 03:14:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-11 19:14:09 -0700 |
commit | 0fba8381d2a71ff440fdf0ae30d59a0bf07fea75 (patch) | |
tree | 48ab20e147c4f8bb3745500176ec5728f3685ec9 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 1c28f3113377da218d67dc76aa0876b6250ceb6a (diff) | |
download | llvm-0fba8381d2a71ff440fdf0ae30d59a0bf07fea75.zip llvm-0fba8381d2a71ff440fdf0ae30d59a0bf07fea75.tar.gz llvm-0fba8381d2a71ff440fdf0ae30d59a0bf07fea75.tar.bz2 |
[clang-format] Introduce "ReflowComments: IndentOnly" to re-indent comments without breaking internal structure (think Doxygen). (#96804)
* Convert `ReflowComments` from boolean into a new `enum` which can take
on the value `RCS_Never`, `RCS_IndentOnly`, or `RCS_Always`. The first
one is equivalent to the old `false`, the third one is `true`, and the
middle one means that multiline comments should only have their
indentation corrected, which is what Doxygen users will want.
* Preserve backward compatibility while parsing `ReflowComments`.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions