tidy up
[oota-llvm.git] / include / llvm / MC / MCContext.h
index 60d5c0fae1f3f6f1ada707db89bd56ce7e2fcda1..575bc3b29719ac7e3d992f3614d3c152658c04a4 100644 (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() {