diff options
author | Dmitri Gribenko <gribozavr@gmail.com> | 2013-02-18 19:50:38 +0000 |
---|---|---|
committer | Dmitri Gribenko <gribozavr@gmail.com> | 2013-02-18 19:50:38 +0000 |
commit | 9ba7627d25a7555b1afff04f685d2f161974e682 (patch) | |
tree | 4c99af73e53f6ff1ef567c364c81d1d46bfedcf2 /lib/Sema/SemaCodeComplete.cpp | |
parent | 5be093c0ef46c7749c942d0d9056af6dc3d591a4 (diff) |
libclang: don't store nul-terminated strings as StringRefs,
if the nul-terminatedness property is important for clients.
Also, don't return the same CXString multiple times. This did not create a
correctness issue in practice because the CXString was of an CXS_Unmanaged
kind, and destruction was a no-op.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175455 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaCodeComplete.cpp')
0 files changed, 0 insertions, 0 deletions