[llvm] 8b7f379 - [AppleAccelTable][NFC] Remove `struct` keyword from member decl

Felipe de Azevedo Piovezan via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 5 06:55:24 PDT 2023


Author: Felipe de Azevedo Piovezan
Date: 2023-06-05T09:55:12-04:00
New Revision: 8b7f379dc832fa5ca8fdbcfc723279be8e42a2a2

URL: https://github.com/llvm/llvm-project/commit/8b7f379dc832fa5ca8fdbcfc723279be8e42a2a2
DIFF: https://github.com/llvm/llvm-project/commit/8b7f379dc832fa5ca8fdbcfc723279be8e42a2a2.diff

LOG: [AppleAccelTable][NFC] Remove `struct` keyword from member decl

This is only needed in C.

Depends on D151989

Differential Revision: https://reviews.llvm.org/D152155

Added: 
    

Modified: 
    llvm/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h b/llvm/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h
index 278a1b871a977..77d33b10abe5a 100644
--- a/llvm/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h
+++ b/llvm/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h
@@ -103,8 +103,8 @@ class AppleAcceleratorTable : public DWARFAcceleratorTable {
     extractOffset(std::optional<DWARFFormValue> Value) const;
   };
 
-  struct Header Hdr;
-  struct HeaderData HdrData;
+  Header Hdr;
+  HeaderData HdrData;
   bool IsValid = false;
 
   /// Returns true if we should continue scanning for entries or false if we've


        


More information about the llvm-commits mailing list