forked from OSchip/llvm-project
parent
ff35428593
commit
3110a5cb93
|
@ -916,7 +916,7 @@ void Parser::ParseObjCPropertyAttribute(ObjCDeclSpec &DS) {
|
|||
|
||||
// getter/setter require extra treatment.
|
||||
unsigned DiagID = IsSetter ? diag::err_objc_expected_equal_for_setter :
|
||||
diag::err_objc_expected_equal_for_getter;
|
||||
diag::err_objc_expected_equal_for_getter;
|
||||
|
||||
if (ExpectAndConsume(tok::equal, DiagID)) {
|
||||
SkipUntil(tok::r_paren, StopAtSemi);
|
||||
|
@ -931,7 +931,6 @@ void Parser::ParseObjCPropertyAttribute(ObjCDeclSpec &DS) {
|
|||
return cutOffParsing();
|
||||
}
|
||||
|
||||
|
||||
SourceLocation SelLoc;
|
||||
IdentifierInfo *SelIdent = ParseObjCSelectorPiece(SelLoc);
|
||||
|
||||
|
|
Loading…
Reference in New Issue