summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2016-12-15 00:30:30 +0000
committerJim Ingham <jingham@apple.com>2016-12-15 00:30:30 +0000
commit8f7db52d9d16dc1fe7bcc236a5e8681fff2e4209 (patch)
tree16590d38c14063eb57f22faffa70a8bde239bbfd
parentc4e9482164d3908fd3d62fddce271b4719ee8925 (diff)
downloadbcm5719-llvm-8f7db52d9d16dc1fe7bcc236a5e8681fff2e4209.tar.gz
bcm5719-llvm-8f7db52d9d16dc1fe7bcc236a5e8681fff2e4209.zip
Fix incorrectly named variables.
llvm-svn: 289746
-rw-r--r--lldb/source/API/SBFrame.cpp4
-rw-r--r--lldb/source/API/SBTarget.cpp2
-rw-r--r--lldb/source/Interpreter/CommandInterpreter.cpp2
-rw-r--r--lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp2
4 files changed, 5 insertions, 5 deletions
diff --git a/lldb/source/API/SBFrame.cpp b/lldb/source/API/SBFrame.cpp
index 5500c339dfa..8d8cb48df3b 100644
--- a/lldb/source/API/SBFrame.cpp
+++ b/lldb/source/API/SBFrame.cpp
@@ -1290,11 +1290,11 @@ lldb::SBValue SBFrame::EvaluateExpression(const char *expr,
if (stop_locker.TryLock(&process->GetRunLock())) {
frame = exe_ctx.GetFramePtr();
if (frame) {
- std::unique_ptr<llvm::PrettyStackTraceFormat> PST;
+ std::unique_ptr<llvm::PrettyStackTraceFormat> stack_trace;
if (target->GetDisplayExpressionsInCrashlogs()) {
StreamString frame_description;
frame->DumpUsingSettingsFormat(&frame_description);
- PST = llvm::make_unique<llvm::PrettyStackTraceFormat>(
+ stack_trace = llvm::make_unique<llvm::PrettyStackTraceFormat>(
"SBFrame::EvaluateExpression (expr = \"%s\", fetch_dynamic_value "
"= %u) %s",
expr, options.GetFetchDynamicValue(),
diff --git a/lldb/source/API/SBTarget.cpp b/lldb/source/API/SBTarget.cpp
index 211f77aee03..c000bf94c23 100644
--- a/lldb/source/API/SBTarget.cpp
+++ b/lldb/source/API/SBTarget.cpp
@@ -2130,7 +2130,7 @@ lldb::SBValue SBTarget::EvaluateExpression(const char *expr,
StreamString frame_description;
if (frame)
frame->DumpUsingSettingsFormat(&frame_description);
- llvm::PrettyStackTraceFormat PST(
+ llvm::PrettyStackTraceFormat stack_trace(
"SBTarget::EvaluateExpression (expr = \"%s\", fetch_dynamic_value = "
"%u) %s",
expr, options.GetFetchDynamicValue(),
diff --git a/lldb/source/Interpreter/CommandInterpreter.cpp b/lldb/source/Interpreter/CommandInterpreter.cpp
index a8055725bd2..d44eb25848d 100644
--- a/lldb/source/Interpreter/CommandInterpreter.cpp
+++ b/lldb/source/Interpreter/CommandInterpreter.cpp
@@ -1527,7 +1527,7 @@ bool CommandInterpreter::HandleCommand(const char *command_line,
std::string original_command_string(command_line);
Log *log(lldb_private::GetLogIfAllCategoriesSet(LIBLLDB_LOG_COMMANDS));
- llvm::PrettyStackTraceFormat PST("HandleCommand(command = \"%s\")",
+ llvm::PrettyStackTraceFormat stack_trace("HandleCommand(command = \"%s\")",
command_line);
if (log)
diff --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp b/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
index 52898088882..554b71a36c4 100644
--- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
+++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
@@ -1473,7 +1473,7 @@ TypeSP DWARFASTParserClang::ParseTypeFromDWARF(const SymbolContext &sc,
}
if (add_method) {
- llvm::PrettyStackTraceFormat PST(
+ llvm::PrettyStackTraceFormat stack_trace(
"SymbolFileDWARF::ParseType() is adding a method "
"%s to class %s in DIE 0x%8.8" PRIx64 " from %s",
type_name_cstr,
OpenPOWER on IntegriCloud