diff options
| author | Alexey Samsonov <vonosmas@gmail.com> | 2014-06-04 19:56:57 +0000 |
|---|---|---|
| committer | Alexey Samsonov <vonosmas@gmail.com> | 2014-06-04 19:56:57 +0000 |
| commit | c54a9c3b7aa1b0f857ee866d3aae71f1d7884d6a (patch) | |
| tree | 361a7ed90a0df9c05ef5ce444f68f351484ec4d2 /lib/CodeGen/CGExpr.cpp | |
| parent | dc7436c8690b095ed7359efb10e25c01506ce7ce (diff) | |
| download | clang-c54a9c3b7aa1b0f857ee866d3aae71f1d7884d6a.tar.gz clang-c54a9c3b7aa1b0f857ee866d3aae71f1d7884d6a.tar.bz2 clang-c54a9c3b7aa1b0f857ee866d3aae71f1d7884d6a.tar.xz | |
Refactor and generalize GetAddrOfConstantString and GetAddrOfConstantStringFromLiteral.
Share mode code between these functions and re-structure them in a way
which shows how similar they actually are. The latter function works well
with literals of multi-byte chars and does a GlobalVariable name mangling
(if global strings are non-writable).
No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@210212 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
