]> granicus.if.org Git - clang/commit
Internal-linkage variables with constant-evaluatable initializers do not need to...
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 19 Aug 2015 20:49:38 +0000 (20:49 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 19 Aug 2015 20:49:38 +0000 (20:49 +0000)
commit42b16e6936d5bf91afe89d3811c4d4c7cc1407aa
tree0ad6897530c2df68842882300f5e6e624298352d
parent2063b03d43303f7fd8612160027c405b9e284966
Internal-linkage variables with constant-evaluatable initializers do not need to be emitted. (Also reduces the set of variables that need to be eagerly deserialized when using PCH / modules.)

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@245497 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/ASTContext.cpp
test/CodeGen/block-with-perdefinedexpr.c
test/CodeGenCXX/const-init-cxx11.cpp
test/CodeGenCXX/dllimport.cpp
test/CodeGenCXX/typeid-cxx11.cpp
test/CodeGenObjC/local-static-block.m
test/PCH/check-deserializations.cpp