[Lldb-commits] [PATCH] D12100: [LLDB] Use llvm::APInt and llvm::APFloat in Scalar and RegisterValue
Oleksiy Vyalov via lldb-commits
lldb-commits at lists.llvm.org
Tue Aug 18 11:37:50 PDT 2015
ovyalov accepted this revision.
================
Comment at: include/lldb/Core/RegisterValue.h:51
@@ -51,2 +50,3 @@
{
+ m_scalar = (unsigned long)0;
}
----------------
Nit: you can initialize m_scalar within initializer list.
================
Comment at: include/lldb/Core/RegisterValue.h:185
@@ -190,1 +184,3 @@
+ llvm::APInt
+ GetAsUInt128 (llvm::APInt& fail_value, bool *success_ptr = NULL) const;
----------------
Could you pass fail_value as a const reference?
Repository:
rL LLVM
http://reviews.llvm.org/D12100
More information about the lldb-commits
mailing list