[cfe-commits] r50197 - /cfe/trunk/lib/Analysis/BugReporter.cpp
Chris Lattner
clattner at apple.com
Sun May 4 14:21:00 PDT 2008
On Apr 23, 2008, at 11:05 PM, Ted Kremenek wrote:
>
> On Apr 23, 2008, at 5:56 PM, Chris Lattner wrote:
>
>>
>> On Apr 23, 2008, at 4:35 PM, Ted Kremenek wrote:
>>
>>> Author: kremenek
>>> Date: Wed Apr 23 18:35:07 2008
>>> New Revision: 50197
>>>
>>> URL: http://llvm.org/viewvc/llvm-project?rev=50197&view=rev
>>> Log:
>>> For case statements involving enums, BugReporter now generates
>>> PathDiagnostics
>>> that say that we are jumping to "case a" instead of "case 0".
>>>
>>> This is a feature implementation for <rdar://problem/5880430>.
>>
>> Nifty, is there any way to write regtests for these sorts of
>> presentation issues?
>>
>> -Chris
>
> I think so. Checking the status code of grep?
Can you use 'expected-warning {{..}}' syntax with the non-html
diagnostic emitter?
-Chris
More information about the cfe-commits
mailing list