[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:34:19 PDT 2018
xbolva00 updated this revision to Diff 168571.
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
@@ -508,14 +508,15 @@
"incompatible tag " +
TagString(RefTag));
}
+ break;
}
case DW_AT_type: {
DWARFDie TypeDie = Die.getAttributeValueAsReferencedDie(DW_AT_type);
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.168571.patch
Type: text/x-patch
Size: 663 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181006/da41814a/attachment.bin>
More information about the llvm-commits
mailing list