зеркало из https://github.com/microsoft/clang-1.git
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77656 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
9fdbab3cbc
Коммит
5c15fe1f59
|
@ -77,7 +77,7 @@ def err_expected_rparen : Error<"expected ')'">;
|
|||
def err_expected_rsquare : Error<"expected ']'">;
|
||||
def err_expected_rbrace : Error<"expected '}'">;
|
||||
def err_expected_greater : Error<"expected '>'">;
|
||||
def err_expected_semi_declation : Error<
|
||||
def err_expected_semi_declaration : Error<
|
||||
"expected ';' at end of declaration">;
|
||||
def err_expected_semi_decl_list : Error<
|
||||
"expected ';' at end of declaration list">;
|
||||
|
|
|
@ -367,7 +367,7 @@ Parser::DeclGroupPtrTy Parser::ParseSimpleDeclaration(unsigned Context,
|
|||
return DG;
|
||||
}
|
||||
|
||||
Diag(Tok, diag::err_expected_semi_declation);
|
||||
Diag(Tok, diag::err_expected_semi_declaration);
|
||||
// Skip to end of block or statement
|
||||
SkipUntil(tok::r_brace, true, true);
|
||||
if (Tok.is(tok::semi))
|
||||
|
|
|
@ -187,7 +187,7 @@ Parser::ParseSingleDeclarationAfterTemplate(
|
|||
}
|
||||
|
||||
// Eat the semi colon after the declaration.
|
||||
ExpectAndConsume(tok::semi, diag::err_expected_semi_declation);
|
||||
ExpectAndConsume(tok::semi, diag::err_expected_semi_declaration);
|
||||
return ThisDecl;
|
||||
}
|
||||
|
||||
|
|
|
@ -561,7 +561,7 @@ Parser::ParseDeclarationOrFunctionDefinition(AccessSpecifier AS) {
|
|||
DeclGroupPtrTy DG =
|
||||
ParseInitDeclaratorListAfterFirstDeclarator(DeclaratorInfo);
|
||||
// Eat the semi colon after the declaration.
|
||||
ExpectAndConsume(tok::semi, diag::err_expected_semi_declation);
|
||||
ExpectAndConsume(tok::semi, diag::err_expected_semi_declaration);
|
||||
return DG;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче