| commit | 6c885805cd8a254644e47eefe5dbf18e8d20e87c | [log] [tgz] |
|---|---|---|
| author | Anders Carlsson <andersca@mac.com> | Sat Feb 28 21:56:50 2009 +0000 |
| committer | Anders Carlsson <andersca@mac.com> | Sat Feb 28 21:56:50 2009 +0000 |
| tree | 1b8d1220f801b50b96758160787ec2b39f0711ea | |
| parent | 06a2321051787eae3c7af987ca38c26b0681e276 [diff] |
Fix invalid VLAs/VMs in Sema::ActOnVariableDeclarator, so that the variable will have the right type by the time the initializer is checked. This ensures that code like
int a[(int)(1.0 / 1.0) = { 1 } will work.
Eli, please review.
llvm-svn: 65725