[Lldb-commits] [lldb] r366292 - [Target][NFCI] Rename variable

Alex Langford via lldb-commits lldb-commits at lists.llvm.org
Wed Jul 17 00:03:17 PDT 2019


Author: xiaobai
Date: Wed Jul 17 00:03:17 2019
New Revision: 366292

URL: http://llvm.org/viewvc/llvm-project?rev=366292&view=rev
Log:
[Target][NFCI] Rename variable

This variable doesn't have anything to do with clang.

Modified:
    lldb/trunk/source/Target/ABI.cpp

Modified: lldb/trunk/source/Target/ABI.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Target/ABI.cpp?rev=366292&r1=366291&r2=366292&view=diff
==============================================================================
--- lldb/trunk/source/Target/ABI.cpp (original)
+++ lldb/trunk/source/Target/ABI.cpp Wed Jul 17 00:03:17 2019
@@ -124,11 +124,11 @@ ValueObjectSP ABI::GetReturnValueObject(
 
     return_valobj_sp = const_valobj_sp;
 
-    ExpressionVariableSP clang_expr_variable_sp(
+    ExpressionVariableSP expr_variable_sp(
         persistent_expression_state->CreatePersistentVariable(
             return_valobj_sp));
 
-    assert(clang_expr_variable_sp);
+    assert(expr_variable_sp);
 
     // Set flags and live data as appropriate
 
@@ -141,21 +141,21 @@ ValueObjectSP ABI::GetReturnValueObject(
       break;
     case Value::eValueTypeScalar:
     case Value::eValueTypeVector:
-      clang_expr_variable_sp->m_flags |=
+      expr_variable_sp->m_flags |=
           ExpressionVariable::EVIsFreezeDried;
-      clang_expr_variable_sp->m_flags |=
+      expr_variable_sp->m_flags |=
           ExpressionVariable::EVIsLLDBAllocated;
-      clang_expr_variable_sp->m_flags |=
+      expr_variable_sp->m_flags |=
           ExpressionVariable::EVNeedsAllocation;
       break;
     case Value::eValueTypeLoadAddress:
-      clang_expr_variable_sp->m_live_sp = live_valobj_sp;
-      clang_expr_variable_sp->m_flags |=
+      expr_variable_sp->m_live_sp = live_valobj_sp;
+      expr_variable_sp->m_flags |=
           ExpressionVariable::EVIsProgramReference;
       break;
     }
 
-    return_valobj_sp = clang_expr_variable_sp->GetValueObject();
+    return_valobj_sp = expr_variable_sp->GetValueObject();
   }
   return return_valobj_sp;
 }




More information about the lldb-commits mailing list