[PATCH] D52963: [DwarfVerifier] Fixed -Wimplicit-fallthrough warning
Dávid Bolvanský via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 10 13:12:29 PDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL344176: [DwarfVerifier] Fixed -Wimplicit-fallthrough warning (authored by xbolva00, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D52963?vs=168571&id=169077#toc
Repository:
rL LLVM
https://reviews.llvm.org/D52963
Files:
llvm/trunk/lib/DebugInfo/DWARF/DWARFVerifier.cpp
Index: llvm/trunk/lib/DebugInfo/DWARF/DWARFVerifier.cpp
===================================================================
--- llvm/trunk/lib/DebugInfo/DWARF/DWARFVerifier.cpp
+++ llvm/trunk/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.169077.patch
Type: text/x-patch
Size: 696 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181010/1c8aa0d1/attachment.bin>
More information about the llvm-commits
mailing list