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 | 5cca6ebae92e3a86b884e0ba1fa406d829ab85ca (patch) | |
tree | 51e265c1fdd0b39e351f1ec3003545c6f574b6d5 /clang/tools/c-index-test/c-index-test.c | |
parent | e01545280b5a832fd14f80ce23385a90af1aa6bf (diff) | |
download | bcm5719-llvm-5cca6ebae92e3a86b884e0ba1fa406d829ab85ca.tar.gz bcm5719-llvm-5cca6ebae92e3a86b884e0ba1fa406d829ab85ca.zip |
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().
llvm-svn: 96423
Diffstat (limited to 'clang/tools/c-index-test/c-index-test.c')
0 files changed, 0 insertions, 0 deletions