[clang] [clang-format] Preserve compact TableGen bit ranges (PR #215837)
Yuwei Zhao via cfe-commits
cfe-commits at lists.llvm.org
Sun Aug 23 04:58:30 PDT 2026
fyrsta7 wrote:
Thank you for the pointer. I see that the hyphenated range syntax was deprecated in LLVM 12 in favor of `...`. I checked the current tree and found that the old spelling is still widely used (about 23,000 simple numeric occurrences across 139 `.td` files), including the code motivating #177051.
Would you prefer that clang-format not special-case the deprecated spelling, or is preserving compact formatting acceptable while the parser and current sources still support and use it? I am happy to adjust the PR based on the preferred direction.
https://github.com/llvm/llvm-project/pull/215837
More information about the cfe-commits
mailing list