[llvm] r344176 - [DwarfVerifier] Fixed -Wimplicit-fallthrough warning
David Bolvansky via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 10 13:10:38 PDT 2018
Author: xbolva00
Date: Wed Oct 10 13:10:37 2018
New Revision: 344176
URL: http://llvm.org/viewvc/llvm-project?rev=344176&view=rev
Log:
[DwarfVerifier] Fixed -Wimplicit-fallthrough warning
Reviewers: JDevlieghere, RKSimon
Reviewed By: JDevlieghere
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D52963
Modified:
llvm/trunk/lib/DebugInfo/DWARF/DWARFVerifier.cpp
Modified: llvm/trunk/lib/DebugInfo/DWARF/DWARFVerifier.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/DebugInfo/DWARF/DWARFVerifier.cpp?rev=344176&r1=344175&r2=344176&view=diff
==============================================================================
--- llvm/trunk/lib/DebugInfo/DWARF/DWARFVerifier.cpp (original)
+++ llvm/trunk/lib/DebugInfo/DWARF/DWARFVerifier.cpp Wed Oct 10 13:10:37 2018
@@ -508,14 +508,15 @@ unsigned DWARFVerifier::verifyDebugInfoA
"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;
More information about the llvm-commits
mailing list