commit | 9ba7627d25a7555b1afff04f685d2f161974e682 | [log] [tgz] |
---|---|---|
author | Dmitri Gribenko <gribozavr@gmail.com> | Mon Feb 18 19:50:38 2013 +0000 |
committer | Dmitri Gribenko <gribozavr@gmail.com> | Mon Feb 18 19:50:38 2013 +0000 |
tree | 4c99af73e53f6ff1ef567c364c81d1d46bfedcf2 | |
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