[cfe-commits] r68914 - in /cfe/trunk: include/clang/Basic/DiagnosticParseKinds.td include/clang/Parse/Action.h include/clang/Parse/Parser.h lib/Parse/ParseDecl.cpp lib/Parse/ParseDeclCXX.cpp lib/Sema/Sema.h lib/Sema/SemaDecl.cpp test/Parser/declarators.c
Chris Lattner
sabre at nondot.org
Sun Apr 12 15:31:10 PDT 2009
On Apr 12, 2009, at 2:57 PM, Sebastian Redl wrote:
>> + // to see if this was a reference to a tag name without a
>> tag specified.
>> + // This is a common problem in C (saying 'foo' insteat of
>> 'struct foo').
>>
>
> Typo "insteat".
Thanks, fixed.
>>
>> +/// TST_union, TST_struct, TST_class). This is used to diagnose
>> cases in C
>> +/// where the user forgot to specify the tag.
>> +DeclSpec::TST Sema::isTagName(IdentifierInfo &II, Scope *S) {
>>
>
> Should MinimalAction have this function too? Or is error recovery not
> interesting for MA?
While it would be "nice", MinimalActions doesn't track tagged types at
all right now, so I deemed it more work than I'm willing to do for
MA :).
-Chris
More information about the cfe-commits
mailing list