forked from OSchip/llvm-project
parent
96d34d34b0
commit
3f13d4d20d
|
@ -2157,7 +2157,7 @@ void Parser::ParseSpecifierQualifierList(DeclSpec &DS, AccessSpecifier AS,
|
|||
DS.ClearStorageClassSpecs();
|
||||
}
|
||||
|
||||
// Issue diagnostic and remove function specfier if present.
|
||||
// Issue diagnostic and remove function specifier if present.
|
||||
if (Specs & DeclSpec::PQ_FunctionSpecifier) {
|
||||
if (DS.isInlineSpecified())
|
||||
Diag(DS.getInlineSpecLoc(), diag::err_typename_invalid_functionspec);
|
||||
|
|
Loading…
Reference in New Issue