[clang] [clang] Add Bytes/Column types to TextDiagnostic (PR #165541)
Timm Baeder via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 29 05:22:04 PDT 2025
Timm =?utf-8?q?Bäder?= <tbaeder at redhat.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/165541 at github.com>
tbaederr wrote:
> That’s still quite a bit of code duplication; it’d be nice to e.g. inherit from some common base class that provides most of the common operators.
It doesn't buy much since most of the member functions shouldn't return "a byte or a column" but a specific type.
https://github.com/llvm/llvm-project/pull/165541
More information about the cfe-commits
mailing list