]> granicus.if.org Git - clang/commit
If a global variable has an initializer with side effects, it can never be deferred...
authorAnders Carlsson <andersca@mac.com>
Tue, 26 Jan 2010 06:15:16 +0000 (06:15 +0000)
committerAnders Carlsson <andersca@mac.com>
Tue, 26 Jan 2010 06:15:16 +0000 (06:15 +0000)
commitd0c4792ca6bde9d60002760c10eb605ed2eebde8
tree1e896feec2e90d5d031dd1c5e050b5bd1e9fd0b2
parenta113e7263c5337731c65fada9de7ff72af25423b
If a global variable has an initializer with side effects, it can never be deferred (even if it's in an anonymous namespace).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94525 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenModule.cpp
test/CodeGenCXX/anonymous-namespaces.cpp