summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExpr.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2013-06-02 00:09:52 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2013-06-02 00:09:52 +0000
commite67ca5803ac9e39cc31ed1ad9576e1626c8141eb (patch)
tree23c41f886e675e2f4ec708789544fee113084129 /lib/CodeGen/CGExpr.cpp
parent0348be0c78781c5ddb8c271976812705410c731a (diff)
downloadclang-e67ca5803ac9e39cc31ed1ad9576e1626c8141eb.tar.gz
clang-e67ca5803ac9e39cc31ed1ad9576e1626c8141eb.tar.bz2
clang-e67ca5803ac9e39cc31ed1ad9576e1626c8141eb.tar.xz
PR12848: When emitting a local variable declared 'constexpr', always initialize it with a store or a memcpy, not by emitting the initializer expression. This is not required for correctness, but more closely aligns with people's expectations, and is cheap (since we've already evaluated the initializer).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183082 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions