diff options
author | Ted Kremenek <kremenek@apple.com> | 2010-01-12 00:38:53 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2010-01-12 00:38:53 +0000 |
commit | 1fc00e6e4976f3a05ab4ac8b5a2c7aa5c4d030eb (patch) | |
tree | 5ad8a887680861280feab78cac9b148a8eed36b5 /tools/CIndex/CIndexUSRs.cpp | |
parent | 4b333d2215b9707070f65ae569674e4818574f95 (diff) |
Change clang_getUSR() to return a CXString instead of a 'const char *'.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93213 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/CIndex/CIndexUSRs.cpp')
-rw-r--r-- | tools/CIndex/CIndexUSRs.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/CIndex/CIndexUSRs.cpp b/tools/CIndex/CIndexUSRs.cpp index e53c0c66f1..e0ee3acd30 100644 --- a/tools/CIndex/CIndexUSRs.cpp +++ b/tools/CIndex/CIndexUSRs.cpp @@ -74,8 +74,8 @@ CXEntity clang_getEntityFromDecl(CXIndex CIdx, CXDecl CE) { return NullCXEntity(); } -const char *clang_getUSR(CXEntity) { - return ""; +CXString clang_getUSR(CXEntity) { + return CIndexer::createCXString(""); } } // end extern "C" |