commit | 65383479cb2caf0f136f58fecdbdbaf9c497b7a1 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Tue Dec 18 07:15:40 2007 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Tue Dec 18 07:15:40 2007 +0000 |
tree | b21f67f9c2ab406e1c8f2eab8e1d6014c210e0ce | |
parent | d52a4578144ab2887912e52eabec58a857a44adb [diff] |
Fix the location we emit the "not a constant" error for this: int foo() { typedef int x[foo()]; static int y = sizeof(x); } previously we'd emit it on the typedef, which made not sense at all. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45154 91177308-0d34-0410-b5e6-96231b3b80d8