]> granicus.if.org Git - clang/commit
Revert r311857 "Emit static constexpr member as available_externally definition"
authorHans Wennborg <hans@hanshq.net>
Mon, 28 Aug 2017 17:53:00 +0000 (17:53 +0000)
committerHans Wennborg <hans@hanshq.net>
Mon, 28 Aug 2017 17:53:00 +0000 (17:53 +0000)
commit72ee108137acea74ea7d3c05362bb06d25637cc2
tree4f28e166a7bbf52816c9efa8ea40b12e44c02a1b
parentff991a88d39e5135f1616176c9738fdc53aba458
Revert r311857 "Emit static constexpr member as available_externally definition"

It caused PR759744.

> Emit static constexpr member as available_externally definition
>
> By exposing the constant initializer, the optimizer can fold many
> of these constructs.
>
> Differential Revision: https://reviews.llvm.org/D34992

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@311898 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenModule.cpp
test/CodeGenCXX/cxx11-extern-constexpr.cpp [deleted file]