]> granicus.if.org Git - clang/commitdiff
Fix a typo in a parse assert.
authorFariborz Jahanian <fjahanian@apple.com>
Mon, 29 Apr 2013 15:35:35 +0000 (15:35 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Mon, 29 Apr 2013 15:35:35 +0000 (15:35 +0000)
Patch by Alex Denisov.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@180712 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Parse/ParseObjc.cpp

index aa9c05ec7fc290b532919073ffcdbc5cb4ad289e..4a572f1993280fb18a0a557c586cbbc59b50d7f8 100644 (file)
@@ -1682,7 +1682,7 @@ Decl *Parser::ParseObjCAtAliasDeclaration(SourceLocation atLoc) {
 ///
 Decl *Parser::ParseObjCPropertySynthesize(SourceLocation atLoc) {
   assert(Tok.isObjCAtKeyword(tok::objc_synthesize) &&
-         "ParseObjCPropertyDynamic(): Expected '@synthesize'");
+         "ParseObjCPropertySynthesize(): Expected '@synthesize'");
   ConsumeToken(); // consume synthesize
 
   while (true) {