]> granicus.if.org Git - clang/commit
Just bail out immediately when emitting an unreachable function-local static
authorJohn McCall <rjmccall@apple.com>
Mon, 3 May 2010 21:39:56 +0000 (21:39 +0000)
committerJohn McCall <rjmccall@apple.com>
Mon, 3 May 2010 21:39:56 +0000 (21:39 +0000)
commite65ce966b6865b686b0a9ba4fc72dfadf3e83701
tree73a08eca146d45e846c98a8a311d18d68f2c5208
parenta36f3ed3f19ebd78432d967325e9157ec02e1bdf
Just bail out immediately when emitting an unreachable function-local static
variable.  Surprisingly, this does seem to be the right way to solve this.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102961 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGDecl.cpp
test/CodeGenCXX/static-init.cpp