[llvm-bugs] [Bug 42416] New: Examples 'Formatting of Diagnostics' unclear

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jun 27 01:00:38 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=42416

            Bug ID: 42416
           Summary: Examples 'Formatting of Diagnostics' unclear
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Documentation
          Assignee: unassignedclangbugs at nondot.org
          Reporter: jvapen at gmail.com
                CC: llvm-bugs at lists.llvm.org, richard-llvm at metafoo.co.uk

Reading the [Formatting of
diagnostics](https://clang.llvm.org/docs/UsersManual.html#formatting-of-diagnostics)
it is completely unclear what the different options do if one looks at the
examples.

The first 3 examples all look exactly the same.
It's only after reading through it a second time that one notices the text:
When this is disabled, Clang will print “test.c:28: warning…” with no column
number.

It would be nice if both examples would be formatted the same, like done for
-f[no-]color-diagnostics

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190627/6781ea04/attachment.html>


More information about the llvm-bugs mailing list