[clang] [lldb] [clang] Honor ShowLevel for diagnostics without a source location (PR #203520)

Michael Buch via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 12 06:06:34 PDT 2026


================
@@ -140,7 +140,7 @@ def test_source_and_caret_printing(self):
             """
     1 | foo(1, 2)
       | ^~~
-note: candidate function not viable: requires single argument 'x', but 2 arguments were provided
+candidate function not viable: requires single argument 'x', but 2 arguments were provided
----------------
Michael137 wrote:

Any idea why this isn't emitting `note:` here anymore? That seemed correct previously

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


More information about the cfe-commits mailing list