[cfe-commits] r69192 - in /cfe/trunk/include/clang/Basic: Diagnostic.td DiagnosticCommonKinds.td DiagnosticLexKinds.td DiagnosticSemaKinds.td

Sebastian Redl sebastian.redl at getdesigned.at
Wed Apr 15 12:21:38 PDT 2009


Chris Lattner wrote:
> Author: lattner
> Date: Wed Apr 15 13:08:55 2009
> New Revision: 69192
>
> URL: http://llvm.org/viewvc/llvm-project?rev=69192&view=rev
> Log:
> annotate diagnostics with which groups they belong to.  Each 
> diagnostic can belong to at most one group.

Hmm ... this is not like we planned it. I don't know if we have any real
use cases for having a diag in multiple, independent groups. I thought
it would be nice if we wanted to, say, group warnings once by topical
area (e.g. -Winheritance, -Wtemplates, -Wobsolete, or -Weffective-cxx,
-Wcxx-gotchas, -Wcxx-coding-standards :-) ) and perhaps a different way
by sensitivity/likelihood of false positives (similar to what MSVC's
warning levels do).

Sebastian



More information about the cfe-commits mailing list