diff options
| author | Dmitri Gribenko <gribozavr@gmail.com> | 2013-02-07 19:09:22 +0000 |
|---|---|---|
| committer | Dmitri Gribenko <gribozavr@gmail.com> | 2013-02-07 19:09:22 +0000 |
| commit | 90b5ac660ef96b9d59dff837e96fd72d0673d7de (patch) | |
| tree | 6a1bdae8dcacbcf78b8c2e6c22c3158387d3db33 /lib/CodeGen/CodeGenFunction.cpp | |
| parent | 953a61f26bf79932b9699b09add4c388764de170 (diff) | |
| download | clang-90b5ac660ef96b9d59dff837e96fd72d0673d7de.tar.gz clang-90b5ac660ef96b9d59dff837e96fd72d0673d7de.tar.bz2 clang-90b5ac660ef96b9d59dff837e96fd72d0673d7de.tar.xz | |
libclang: reduce CXString abuse
ContainerUSR is not really a CXString, but it should own the underlying memory
buffer. Thus, it is better to change the type to std::string. This will not
introduce extra copying overhead, since the workaround that is being removed
was already making a copy.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174647 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
