]> granicus.if.org Git - clang/commit
Handle global variable definitions which change the type of a definition, such as:
authorChris Lattner <sabre@nondot.org>
Sun, 2 Dec 2007 07:09:19 +0000 (07:09 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 2 Dec 2007 07:09:19 +0000 (07:09 +0000)
commit9cd4fe4af6d3e8b6dcfce9c2cdefcaafca7eed7c
tree951b238ba836eba03ff31ab6a77b8de7e0f9de57
parent5a2fa14860813a8b93f68a84063dd20c690f045a
Handle global variable definitions which change the type of a definition, such as:
extern int x[];
void foo() { x[0] = 1; }
int x[10];
void bar() { x[0] = 1; }

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44509 91177308-0d34-0410-b5e6-96231b3b80d8
CodeGen/CGExpr.cpp
CodeGen/CodeGenFunction.cpp
CodeGen/CodeGenModule.cpp
CodeGen/CodeGenModule.h
test/CodeGen/globalinit.c