[cfe-commits] [PATCH] Tests for formatter diagnostics + custom DiagnosticConsumer in API.
Alexander Kornienko
alexfh at google.com
Mon Jan 14 03:41:17 PST 2013
On Mon, Jan 14, 2013 at 12:13 PM, Alexander Kornienko <alexfh at google.com>wrote:
> In this case I'd prefer to use VerifyDiagnosticConsumer, which is an
> implementation of clang's "-verify" option. Any concerns?
>
I found a little problem with both FileCheck and "-verify" approaches: they
both require a stand-alone binary, which it resides in clang-tools-extra.
>
>
> On Mon, Jan 14, 2013 at 11:26 AM, Daniel Jasper <djasper at google.com>wrote:
>
>> +1, seems like the better approach.
>>
>>
>> On Mon, Jan 14, 2013 at 11:18 AM, Manuel Klimek <klimek at google.com>wrote:
>>
>>>
>>> This still seems like an awful lot of code for checking 2(!)
>>> diagnostics. I'd actually vote for using FileCheck.
>>>
>>> http://llvm-reviews.chandlerc.com/D290
>>>
>>> BRANCH
>>> svn
>>>
>>> ARCANIST PROJECT
>>> clang
>>>
>>
>>
>
>
> --
> Alexander Kornienko | Software Engineer | alexfh at google.com | +49 151 221
> 77 957
> Google Germany GmbH | Dienerstr. 12 | 80331 München
>
--
Alexander Kornienko | Software Engineer | alexfh at google.com | +49 151 221
77 957
Google Germany GmbH | Dienerstr. 12 | 80331 München
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130114/ee2e3524/attachment.html>
More information about the cfe-commits
mailing list