]> granicus.if.org Git - clang/commit
PR20473: Don't "deduplicate" string literals with the same value but different
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 29 Jul 2014 21:20:12 +0000 (21:20 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 29 Jul 2014 21:20:12 +0000 (21:20 +0000)
commitf8d1c718d00326522a2a9d8097b66e62b315e320
tree19922de81812fa8c95c8326d0a34f28fb74c958d
parent68c679f8416d6261836f6fd50e02a65ded40b157
PR20473: Don't "deduplicate" string literals with the same value but different
lengths! In passing, simplify string literal deduplication by relying on LLVM
to deduplicate the underlying constant values.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@214222 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenModule.cpp
lib/CodeGen/CodeGenModule.h
test/CodeGen/init.c