owenca 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.
IMO updating the `.td` files with the new syntax would be better. WDYT @HazardyKnusperkeks @mydeveloperday ? https://github.com/llvm/llvm-project/pull/215837 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
