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 | 7d09808818c561f844a4e4ba2e50636a7bd8f01d (patch) | |
tree | c6ac1b9d9ab513276dd1329bf3eed03b6c7ebd71 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | |
parent | b61d087d4044a4c53bffc7072b4adb9306bd0466 (diff) | |
download | bcm5719-llvm-7d09808818c561f844a4e4ba2e50636a7bd8f01d.tar.gz bcm5719-llvm-7d09808818c561f844a4e4ba2e50636a7bd8f01d.zip |
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.
llvm-svn: 175455
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
0 files changed, 0 insertions, 0 deletions