This revision was automatically updated to reflect the committed changes. Closed by commit rL369304: Fix use-after-free (authored by mgehre, committed by ). Herald added a project: LLVM. Herald added a subscriber: llvm-commits.
Changed prior to commit: https://reviews.llvm.org/D66442?vs=215985&id=215987#toc Repository: rL LLVM CHANGES SINCE LAST ACTION https://reviews.llvm.org/D66442/new/ https://reviews.llvm.org/D66442 Files: lldb/trunk/source/Core/FormatEntity.cpp Index: lldb/trunk/source/Core/FormatEntity.cpp =================================================================== --- lldb/trunk/source/Core/FormatEntity.cpp +++ lldb/trunk/source/Core/FormatEntity.cpp @@ -2347,7 +2347,7 @@ } size_t FormatEntity::AutoComplete(CompletionRequest &request) { - llvm::StringRef str = request.GetCursorArgumentPrefix().str(); + llvm::StringRef str = request.GetCursorArgumentPrefix(); request.SetWordComplete(false);
Index: lldb/trunk/source/Core/FormatEntity.cpp =================================================================== --- lldb/trunk/source/Core/FormatEntity.cpp +++ lldb/trunk/source/Core/FormatEntity.cpp @@ -2347,7 +2347,7 @@ } size_t FormatEntity::AutoComplete(CompletionRequest &request) { - llvm::StringRef str = request.GetCursorArgumentPrefix().str(); + llvm::StringRef str = request.GetCursorArgumentPrefix(); request.SetWordComplete(false);
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits