Skip to content
Commit 6c885805 authored by Anders Carlsson's avatar Anders Carlsson
Browse files

Fix invalid VLAs/VMs in Sema::ActOnVariableDeclarator, so that the variable...

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
parent 06a23210
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment