[Lldb-commits] [lldb] 751f5c8 - Fix LLDB tweak in 62a47e994fcf5b73e29547d26cd9676b30cb69a3
Sam McCall via lldb-commits
lldb-commits at lists.llvm.org
Wed Sep 23 16:31:02 PDT 2020
Author: Sam McCall
Date: 2020-09-24T01:30:42+02:00
New Revision: 751f5c81468966d921ad54827d27ff19aa43af8e
URL: https://github.com/llvm/llvm-project/commit/751f5c81468966d921ad54827d27ff19aa43af8e
DIFF: https://github.com/llvm/llvm-project/commit/751f5c81468966d921ad54827d27ff19aa43af8e.diff
LOG: Fix LLDB tweak in 62a47e994fcf5b73e29547d26cd9676b30cb69a3
Added:
Modified:
lldb/source/Utility/StructuredData.cpp
Removed:
################################################################################
diff --git a/lldb/source/Utility/StructuredData.cpp b/lldb/source/Utility/StructuredData.cpp
index 4e79f6e9a7d7..b349de7b0b78 100644
--- a/lldb/source/Utility/StructuredData.cpp
+++ b/lldb/source/Utility/StructuredData.cpp
@@ -63,7 +63,7 @@ static StructuredData::ObjectSP ParseJSONValue(json::Value &value) {
if (auto b = value.getAsBoolean())
return std::make_shared<StructuredData::Boolean>(*b);
- if (auto i = value.getAsInteger(i))
+ if (auto i = value.getAsInteger())
return std::make_shared<StructuredData::Integer>(*i);
if (auto d = value.getAsNumber())
More information about the lldb-commits
mailing list