[PATCH] D52963: [DwarfVerifier] Fixed -Wimplicit-fallthrough warning

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 6 04:29:29 PDT 2018


xbolva00 created this revision.
xbolva00 added a reviewer: JDevlieghere.
Herald added a subscriber: llvm-commits.

Repository:
  rL LLVM

https://reviews.llvm.org/D52963

Files:
  lib/DebugInfo/DWARF/DWARFVerifier.cpp


Index: lib/DebugInfo/DWARF/DWARFVerifier.cpp
===================================================================
--- lib/DebugInfo/DWARF/DWARFVerifier.cpp
+++ lib/DebugInfo/DWARF/DWARFVerifier.cpp
@@ -514,8 +514,8 @@
     if (TypeDie && !isType(TypeDie.getTag())) {
       ReportError("DIE has " + AttributeString(Attr) +
                   " with incompatible tag " + TagString(TypeDie.getTag()));
-      break;
     }
+    break;
   }
   default:
     break;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52963.168570.patch
Type: text/x-patch
Size: 461 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181006/f3140247/attachment.bin>


More information about the llvm-commits mailing list