git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120644
91177308-0d34-0410-b5e6-
96231b3b80d8
bool isValidDwarfFileNumber(unsigned FileNumber);
- bool hasDwarfFiles(void) {
- return MCDwarfFiles.size() != 0;
+ bool hasDwarfFiles() const {
+ return !MCDwarfFiles.empty();
}
- bool hasDwarfLines(void) {
- return MCLineSectionOrder.size() != 0;
+ bool hasDwarfLines() const {
+ return !MCLineSectionOrder.empty();
}
const std::vector<MCDwarfFile *> &getMCDwarfFiles() {