Fix some weird patch issue.

llvm-svn: 97894
This commit is contained in:
Tanya Lattner 2010-03-07 04:27:11 +00:00
parent 5029d56cc1
commit 351e4393f1
1 changed files with 1 additions and 1 deletions

View File

@ -502,7 +502,7 @@ void InitListChecker::CheckImplicitInitList(const InitializedEntity &Entity,
// Warn about missing braces.
if (T->isArrayType() || T->isRecordType()) {
SemaRef.Diag(StructuredSubobjectInitList->getLocStart(),
+ diag::warn_missing_braces)
diag::warn_missing_braces)
<< StructuredSubobjectInitList->getSourceRange()
<< CodeModificationHint::CreateInsertion(
StructuredSubobjectInitList->getLocStart(),