diff options
-rw-r--r-- | tools/libclang/CXComment.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libclang/CXComment.cpp b/tools/libclang/CXComment.cpp index 44b947379b..90a67ca69c 100644 --- a/tools/libclang/CXComment.cpp +++ b/tools/libclang/CXComment.cpp @@ -1028,7 +1028,7 @@ void CommentASTToXMLConverter::visitVerbatimLineComment( Result << "</Verbatim>"; } -static StringRef getSourceTextOfDeclaration(const DeclInfo *ThisDecl) { +static std::string getSourceTextOfDeclaration(const DeclInfo *ThisDecl) { ASTContext &Context = ThisDecl->CurrentDecl->getASTContext(); const LangOptions &LangOpts = Context.getLangOpts(); |