[clang] [clang] Adjust TextDiagnostic style ranges for interesting source region (PR #164941)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 31 03:59:22 PDT 2025
================
@@ -0,0 +1,29 @@
+// RUN: not %clang_cc1 %s -fmessage-length=40 -fcolor-diagnostics -fno-show-source-location -Wunused-value -o - 2>&1 | FileCheck %s
+
+// REQUIRES: ansi-escape-sequences
+
----------------
Sirraide wrote:
I think the test here should also check that we position the caret and any source ranges correctly in the presence of front and/or back ellipses.
https://github.com/llvm/llvm-project/pull/164941
More information about the cfe-commits
mailing list