]> granicus.if.org Git - clang/commit
Generate code for static variables that don't have initializers. Also, report an...
authorAnders Carlsson <andersca@mac.com>
Wed, 17 Oct 2007 00:52:43 +0000 (00:52 +0000)
committerAnders Carlsson <andersca@mac.com>
Wed, 17 Oct 2007 00:52:43 +0000 (00:52 +0000)
commit1a86b33c1870fee08d281c9f07ac1280195a7fae
treebc8758a3130764e9274f8efeb214e111253b83f7
parentadc9b13208a628c525fe075afb06bca518810777
Generate code for static variables that don't have initializers. Also, report an error if a static initializer is not constant.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43058 91177308-0d34-0410-b5e6-96231b3b80d8
AST/Expr.cpp
CodeGen/CGDecl.cpp
CodeGen/CodeGenFunction.h
Sema/Sema.h
Sema/SemaDecl.cpp
test/Sema/static-init.c [new file with mode: 0644]