mirror of
https://github.com/intel/llvm.git
synced 2026-01-30 14:07:28 +08:00
[LLDB] Migrate llvm::make_unique to std::make_unique
Now that we've moved to C++14, we no longer need the llvm::make_unique implementation from STLExtras.h. This patch is a mechanical replacement of (hopefully) all the llvm::make_unique instances across the monorepo. Differential revision: https://reviews.llvm.org/D66259 llvm-svn: 368933
This commit is contained in:
@@ -1107,7 +1107,7 @@ lldb::SBValue SBFrame::EvaluateExpression(const char *expr,
|
||||
if (target->GetDisplayExpressionsInCrashlogs()) {
|
||||
StreamString frame_description;
|
||||
frame->DumpUsingSettingsFormat(&frame_description);
|
||||
stack_trace = llvm::make_unique<llvm::PrettyStackTraceFormat>(
|
||||
stack_trace = std::make_unique<llvm::PrettyStackTraceFormat>(
|
||||
"SBFrame::EvaluateExpression (expr = \"%s\", fetch_dynamic_value "
|
||||
"= %u) %s",
|
||||
expr, options.GetFetchDynamicValue(),
|
||||
|
||||
Reference in New Issue
Block a user