[cfe-dev] PATCH: Enable checking of notes

Doug Gregor doug.gregor at gmail.com
Wed Sep 10 19:52:34 PDT 2008


On Tue, Sep 9, 2008 at 3:09 AM, Nico Weber <nicolasweber at gmx.de> wrote:
>> This little patch enables checking of notes in the Clang driver's
>> "-verify" mode using, e.g.,
>>
>>  // expected-note {{ this is a note }}
>>
>
> +
> +      // Find all expected warnings
> +      FindDiagnostics(Comment, ExpectedNotes, PP.getSourceManager(),
> +                      Tok.getLocation(), ExpectedNoteStr);
>
> Looks like a copy-and-paste error in the comment (s/warnings/notes/).

Yep, thanks. Committed with that change.

  - Doug



More information about the cfe-dev mailing list