diff options
author | Chris Lattner <sabre@nondot.org> | 2007-12-18 07:15:40 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-12-18 07:15:40 +0000 |
commit | 65383479cb2caf0f136f58fecdbdbaf9c497b7a1 (patch) | |
tree | b21f67f9c2ab406e1c8f2eab8e1d6014c210e0ce /CodeGen/CodeGenModule.h | |
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
Diffstat (limited to 'CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions