]> granicus.if.org Git - clang/commitdiff
sp.
authorJohn McCall <rjmccall@apple.com>
Fri, 31 Jul 2009 02:20:35 +0000 (02:20 +0000)
committerJohn McCall <rjmccall@apple.com>
Fri, 31 Jul 2009 02:20:35 +0000 (02:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77656 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/DiagnosticParseKinds.td
lib/Parse/ParseDecl.cpp
lib/Parse/ParseTemplate.cpp
lib/Parse/Parser.cpp

index bf832a53d6b9c484af26ec66da5a5a1ee01c82b7..5f134ad6447ab73d05813819695af97d6c45e0e2 100644 (file)
@@ -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">;
index 9d13e98560d3de5862943d9337d66b692968b707..27f3293aca3acfe56c1560bb74ed64d87bc27459 100644 (file)
@@ -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))
index df7c22cf265270318b7222d52b02e8e79a8a6256..dd745d603ac7df16c31582a61031ead7f58d9b9c 100644 (file)
@@ -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;
   }
 
index 32604442406cc3e04e45e1fc5781e598fba00ca6..ad68f93bebad62b8504f0f2031ab96c32efe13ac 100644 (file)
@@ -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;
   }