libclang: reduce CXString abuse
authorDmitri Gribenko <gribozavr@gmail.com>
Thu, 7 Feb 2013 19:09:22 +0000 (19:09 +0000)
committerDmitri Gribenko <gribozavr@gmail.com>
Thu, 7 Feb 2013 19:09:22 +0000 (19:09 +0000)
commit0b62f8a632693b0091f3b2c7a77af18ec9773e09
tree675576a2ebe61a039c0b1498ffd6196848bb4e79
parent3476fc8c828883f2ad7874be1e60a41ecaa15110
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.

llvm-svn: 174647
clang/tools/libclang/CIndexCodeCompletion.cpp