[Lldb-commits] [lldb] 307cfad - Fix extraneous ')' error.

Simon Pilgrim via lldb-commits lldb-commits at lists.llvm.org
Fri Jun 11 06:50:26 PDT 2021


Author: Simon Pilgrim
Date: 2021-06-11T14:50:22+01:00
New Revision: 307cfad0d639b0397033069473e84e6c7f249056

URL: https://github.com/llvm/llvm-project/commit/307cfad0d639b0397033069473e84e6c7f249056
DIFF: https://github.com/llvm/llvm-project/commit/307cfad0d639b0397033069473e84e6c7f249056.diff

LOG: Fix extraneous ')' error.

Added: 
    

Modified: 
    lldb/source/Core/DumpDataExtractor.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/Core/DumpDataExtractor.cpp b/lldb/source/Core/DumpDataExtractor.cpp
index 93aaae8a1040..175ffef04a81 100644
--- a/lldb/source/Core/DumpDataExtractor.cpp
+++ b/lldb/source/Core/DumpDataExtractor.cpp
@@ -116,7 +116,7 @@ static lldb::offset_t DumpAPInt(Stream *s, const DataExtractor &data,
                                 bool is_signed, unsigned radix) {
   llvm::Optional<llvm::APInt> apint = GetAPInt(data, &offset, byte_size);
   if (apint.hasValue()) {
-    std::string apint_str = toString(apint.getValue(), radix, is_signed));
+    std::string apint_str = toString(apint.getValue(), radix, is_signed);
     switch (radix) {
     case 2:
       s->Write("0b", 2);


        


More information about the lldb-commits mailing list