[Lldb-commits] [lldb] 309fccd - [lldb][NFC] Use llvm::Optional to refer to Optional

Raphael Isemann via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 25 02:38:42 PDT 2021


Author: Raphael Isemann
Date: 2021-10-25T11:37:15+02:00
New Revision: 309fccdac936c49d0771878b3f4dd345a5e1c5d8

URL: https://github.com/llvm/llvm-project/commit/309fccdac936c49d0771878b3f4dd345a5e1c5d8
DIFF: https://github.com/llvm/llvm-project/commit/309fccdac936c49d0771878b3f4dd345a5e1c5d8.diff

LOG: [lldb][NFC] Use llvm::Optional to refer to Optional

clang::Optional is just an alias used within Clang.

Added: 
    

Modified: 
    lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp b/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
index a240784c942b0..0b3f83e709622 100644
--- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
+++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
@@ -2786,7 +2786,7 @@ void DWARFASTParserClang::ParseSingleMember(
           die.GetCU()->Supports_unnamed_objc_bitfields();
 
     if (detect_unnamed_bitfields) {
-      clang::Optional<FieldInfo> unnamed_field_info;
+      llvm::Optional<FieldInfo> unnamed_field_info;
       uint64_t last_field_end = 0;
 
       last_field_end = last_field_info.bit_offset + last_field_info.bit_size;


        


More information about the lldb-commits mailing list