diff options
author | Chris Lattner <sabre@nondot.org> | 2010-12-02 01:29:39 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-12-02 01:29:39 +0000 |
commit | ec99c90ea54806ae59eb8ea7686e201ed7eb0d29 (patch) | |
tree | afa50d8b5cc7d8bf88d3128e502c3b9daacd7674 | |
parent | 4a6c7fc872a141db761c9d85d4059c97224987f0 (diff) |
tidy up
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120644 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/MC/MCContext.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/llvm/MC/MCContext.h b/include/llvm/MC/MCContext.h index 60d5c0fae1..575bc3b297 100644 --- a/include/llvm/MC/MCContext.h +++ b/include/llvm/MC/MCContext.h @@ -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() { |