[cfe-dev] Need help designing a new diagnostic formatting command line option for use with x86_64-pc-win32

David Blaikie dblaikie at gmail.com
Wed May 18 14:04:09 PDT 2011


> Did you mean to also reply to cfe-dev?
>
>
Yes indeed, sorry for the noise. I hope you don't mind my adding them back
on here.

> I'd rather that DiagOpts->Format use an enumeration type, so this can be a
>> switch() on the format. Otherwise, this looks fine.
>>
>>
> I suppose for 3 values it's hard to tell whether it would be worthwhile -
>
>
> It's worthwhile for anything that isn't true/false :)
>
> but when this was proposed it crossed my mind that it could be a table of
> type->print format pattern (does clang/llvm have an internal typesafe
> variadic string formatter?)
>
>
> Yes, it's part of Clang's diagnostic system.
>
> - Doug
>



-- 
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS d+@ s++: a-- C++++ ULS++ P L++ !E W++ N+ o? K? w(+) O? M@ V? PS+ PE@
Y+ PGP- t(+) 5 X+ R tv+ b+ DI++ D++ G+ e++ h- r y?
------END GEEK CODE BLOCK------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110518/c877695a/attachment.html>


More information about the cfe-dev mailing list