diff options
author | Ted Kremenek <kremenek@apple.com> | 2010-02-17 00:41:08 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2010-02-17 00:41:08 +0000 |
commit | ee4db4fccbcab7e6bd614fe8757c5453e7ad0e86 (patch) | |
tree | 615f1edca6313c0594b00400b6ef6392090529ed /lib/Frontend/PCHReaderDecl.cpp | |
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
Diffstat (limited to 'lib/Frontend/PCHReaderDecl.cpp')
0 files changed, 0 insertions, 0 deletions