[cfe-dev] Info diagnostic level

Victor Zverovich victor.zverovich at googlemail.com
Fri Nov 20 02:10:57 PST 2009


I thought about using Note, but unfortunately it is not sufficient, because
a note is virtually attached to the previous diagnostic and is ignored if
the previous one is ignored. This is not a desired behaviour when one needs
to output a standalone informational diagnostic.

Victor

2009/11/20 Sebastian Redl <sebastian.redl at getdesigned.at>

>
> On Fri, 20 Nov 2009 09:11:28 +0000, Victor Zverovich
> <victor.zverovich at googlemail.com> wrote:
> > I am actively using the clang's Basic library in my project and in
> > particular its diagnostic part which is great.
> > However it has the following limitation: it is not possible to report an
> > "informational" message which is neither warning nor error through it.
> > While
> > clang doesn't need this functionality it may be useful for other users
> (me
> > being one of them :)) without any overhead for clang. The attached patch
> > introduces the Info diagnostic level.
>
> Isn't Note sufficient?
>
> Sebastian
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20091120/891b930d/attachment.html>


More information about the cfe-dev mailing list