[cfe-commits] r167587 - /cfe/trunk/lib/Sema/SemaDecl.cpp
Abramo Bagnara
abramo.bagnara at bugseng.com
Thu Nov 8 08:01:51 PST 2012
Author: abramo
Date: Thu Nov 8 10:01:51 2012
New Revision: 167587
URL: http://llvm.org/viewvc/llvm-project?rev=167587&view=rev
Log:
Readded line removed by mistake.
Modified:
cfe/trunk/lib/Sema/SemaDecl.cpp
Modified: cfe/trunk/lib/Sema/SemaDecl.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaDecl.cpp?rev=167587&r1=167586&r2=167587&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaDecl.cpp (original)
+++ cfe/trunk/lib/Sema/SemaDecl.cpp Thu Nov 8 10:01:51 2012
@@ -4703,6 +4703,7 @@
}
Diag(NewVD->getLocation(), diag::warn_illegal_constant_array_size);
+ NewVD->setType(FixedTInfo->getType());
NewVD->setTypeSourceInfo(FixedTInfo);
}
More information about the cfe-commits
mailing list