[clang] [clang] Add Bytes/Column types to TextDiagnostic (PR #165541)

via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 29 04:13:47 PDT 2025


https://github.com/Sirraide commented:

In my experience, it’s usually easier to abuse enums for this, i.e.
```c++
enum class Bytes : unsigned;
enum class Columns : unsigned;
```
and then define additional operators as needed.

https://github.com/llvm/llvm-project/pull/165541


More information about the cfe-commits mailing list