commit | ee4db4fccbcab7e6bd614fe8757c5453e7ad0e86 | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Wed Feb 17 00:41:08 2010 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Wed Feb 17 00:41:08 2010 +0000 |
tree | 615f1edca6313c0594b00400b6ef6392090529ed | |
parent | 2e55e3af2f6d6c0509495357fade95105dd144cd [diff] |
Move createCXString() functions out of CIndexer and into the clang::cxstring namespace. We can much more succinctly refer to these functions this way. Also change the default behavior of createCXString(StringRef&) to duplicate the string. This is almost always what we want. The other case is where we pass a constant c-string, which uses the other version of createCXString(). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96423 91177308-0d34-0410-b5e6-96231b3b80d8