forked from OSchip/llvm-project
parent
7b20dc769a
commit
599e47e6ff
|
@ -865,8 +865,6 @@ bool Parser::isTypeSpecifierQualifier() const {
|
||||||
// typedef-name
|
// typedef-name
|
||||||
case tok::identifier:
|
case tok::identifier:
|
||||||
return Actions.isTypeName(*Tok.getIdentifierInfo(), CurScope) != 0;
|
return Actions.isTypeName(*Tok.getIdentifierInfo(), CurScope) != 0;
|
||||||
|
|
||||||
// TODO: Attributes.
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -911,13 +909,13 @@ bool Parser::isDeclarationSpecifier() const {
|
||||||
case tok::kw_volatile:
|
case tok::kw_volatile:
|
||||||
case tok::kw_restrict:
|
case tok::kw_restrict:
|
||||||
|
|
||||||
// GNU typeof support.
|
|
||||||
case tok::kw_typeof:
|
|
||||||
|
|
||||||
// function-specifier
|
// function-specifier
|
||||||
case tok::kw_inline:
|
case tok::kw_inline:
|
||||||
|
|
||||||
// attributes.
|
// GNU typeof support.
|
||||||
|
case tok::kw_typeof:
|
||||||
|
|
||||||
|
// GNU attributes.
|
||||||
case tok::kw___attribute:
|
case tok::kw___attribute:
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue