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 | 20aad334c769067e8df889d7d36b53e73e714091 (patch) | |
tree | 2fad05ffb6fa38e2d228c6df1362985db4ede05f /llvm/lib/Transforms/Utils/InlineFunction.cpp | |
parent | 6d2d1b67ca90486c546e896d7fd1642ce86b09ce (diff) | |
download | bcm5719-llvm-20aad334c769067e8df889d7d36b53e73e714091.tar.gz bcm5719-llvm-20aad334c769067e8df889d7d36b53e73e714091.zip |
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.
llvm-svn: 45154
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions