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

Felipe de Azevedo Piovezan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 5 06:44:29 PDT 2023


fdeazeve created this revision.
Herald added a project: All.
fdeazeve requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This is only needed in C.

Depends on D151989 <https://reviews.llvm.org/D151989>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D152155

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


Index: llvm/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h
===================================================================
--- llvm/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h
+++ llvm/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h
@@ -103,8 +103,8 @@
     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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152155.528411.patch
Type: text/x-patch
Size: 546 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230605/24d94087/attachment.bin>


More information about the llvm-commits mailing list