[Lldb-commits] [lldb] r289746 - Fix incorrectly named variables.

Jim Ingham via lldb-commits lldb-commits at lists.llvm.org
Wed Dec 14 16:30:30 PST 2016


Author: jingham
Date: Wed Dec 14 18:30:30 2016
New Revision: 289746

URL: http://llvm.org/viewvc/llvm-project?rev=289746&view=rev
Log:
Fix incorrectly named variables.

Modified:
    lldb/trunk/source/API/SBFrame.cpp
    lldb/trunk/source/API/SBTarget.cpp
    lldb/trunk/source/Interpreter/CommandInterpreter.cpp
    lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp

Modified: lldb/trunk/source/API/SBFrame.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/API/SBFrame.cpp?rev=289746&r1=289745&r2=289746&view=diff
==============================================================================
--- lldb/trunk/source/API/SBFrame.cpp (original)
+++ lldb/trunk/source/API/SBFrame.cpp Wed Dec 14 18:30:30 2016
@@ -1290,11 +1290,11 @@ lldb::SBValue SBFrame::EvaluateExpressio
     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(),

Modified: lldb/trunk/source/API/SBTarget.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/API/SBTarget.cpp?rev=289746&r1=289745&r2=289746&view=diff
==============================================================================
--- lldb/trunk/source/API/SBTarget.cpp (original)
+++ lldb/trunk/source/API/SBTarget.cpp Wed Dec 14 18:30:30 2016
@@ -2130,7 +2130,7 @@ lldb::SBValue SBTarget::EvaluateExpressi
       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(),

Modified: lldb/trunk/source/Interpreter/CommandInterpreter.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Interpreter/CommandInterpreter.cpp?rev=289746&r1=289745&r2=289746&view=diff
==============================================================================
--- lldb/trunk/source/Interpreter/CommandInterpreter.cpp (original)
+++ lldb/trunk/source/Interpreter/CommandInterpreter.cpp Wed Dec 14 18:30:30 2016
@@ -1527,7 +1527,7 @@ bool CommandInterpreter::HandleCommand(c
   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)

Modified: lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp?rev=289746&r1=289745&r2=289746&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp (original)
+++ lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp Wed Dec 14 18:30:30 2016
@@ -1473,7 +1473,7 @@ TypeSP DWARFASTParserClang::ParseTypeFro
                         }
 
                         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,




More information about the lldb-commits mailing list