diff options
Diffstat (limited to 'tools/libclang/CIndexCodeCompletion.cpp')
-rw-r--r-- | tools/libclang/CIndexCodeCompletion.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libclang/CIndexCodeCompletion.cpp b/tools/libclang/CIndexCodeCompletion.cpp index 84050b2cfd..9dbc7fa2a8 100644 --- a/tools/libclang/CIndexCodeCompletion.cpp +++ b/tools/libclang/CIndexCodeCompletion.cpp @@ -508,7 +508,7 @@ namespace { IdentifierInfo *selIdent = Context.getSelIdents()[i]; if (selIdent != NULL) { StringRef selectorString = Context.getSelIdents()[i]->getName(); - AllocatedResults.Selector += selectorString.str(); + AllocatedResults.Selector += selectorString; } AllocatedResults.Selector += ":"; } |