Readded line removed by mistake.

llvm-svn: 167587
This commit is contained in:
Abramo Bagnara 2012-11-08 16:01:51 +00:00
parent 75fb677fd1
commit 3b8a9e5e6b
1 changed files with 1 additions and 0 deletions

View File

@ -4703,6 +4703,7 @@ bool Sema::CheckVariableDeclaration(VarDecl *NewVD,
}
Diag(NewVD->getLocation(), diag::warn_illegal_constant_array_size);
NewVD->setType(FixedTInfo->getType());
NewVD->setTypeSourceInfo(FixedTInfo);
}