git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120644 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2010-12-02 01:29:39 +00:00
parent 4a6c7fc872
commit ec99c90ea5

View File

@ -177,11 +177,11 @@ namespace llvm {
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() {