forked from OSchip/llvm-project
[DWARFYAML] Simplify isEmpty(). NFC.
This commit is contained in:
parent
3aecf4bdf3
commit
4a0b95dc5e
|
@ -17,9 +17,7 @@
|
|||
namespace llvm {
|
||||
|
||||
bool DWARFYAML::Data::isEmpty() const {
|
||||
return DebugStrings.empty() && AbbrevDecls.empty() && !DebugAranges &&
|
||||
DebugRanges.empty() && !PubNames && !PubTypes && !GNUPubNames &&
|
||||
!GNUPubTypes && CompileUnits.empty() && DebugLines.empty();
|
||||
return getNonEmptySectionNames().empty();
|
||||
}
|
||||
|
||||
SetVector<StringRef> DWARFYAML::Data::getNonEmptySectionNames() const {
|
||||
|
|
Loading…
Reference in New Issue