]> granicus.if.org Git - clang/commit
Merge constant array and structures. This will create a global variables for arrays...
authorTanya Lattner <tonic@nondot.org>
Wed, 4 Nov 2009 01:18:09 +0000 (01:18 +0000)
committerTanya Lattner <tonic@nondot.org>
Wed, 4 Nov 2009 01:18:09 +0000 (01:18 +0000)
commit59876c2713683d1538ca45bb14c2f415862fb716
tree26b57d531c40086facdcd42f942d0a15c3475737
parent79d5768e7bc30e847d18bb0e41244d25faff934b
Merge constant array and structures. This will create a global variables for arrays and structs that are constant and their initializer is constant. It is on by default but can be disable with the flag -fno-merge-all-constants.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85991 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/Options.def
include/clang/Frontend/CompileOptions.h
lib/CodeGen/CGDecl.cpp
lib/Driver/Tools.cpp
tools/clang-cc/clang-cc.cpp