From 411bd590d118ba84718bc72e9c770e6b4dec3dc0 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Thu, 6 Mar 2014 00:00:53 +0000 Subject: constify a few accessors. llvm-svn: 203032 --- llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h') diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h index c74d76a06a1..a63900a31ae 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h @@ -739,14 +739,14 @@ public: /// \brief Returns whether or not to emit tables that dwarf consumers can /// use to accelerate lookup. - bool useDwarfAccelTables() { return HasDwarfAccelTables; } + bool useDwarfAccelTables() const { return HasDwarfAccelTables; } /// \brief Returns whether or not to change the current debug info for the /// split dwarf proposal support. - bool useSplitDwarf() { return HasSplitDwarf; } + bool useSplitDwarf() const { return HasSplitDwarf; } /// \brief Returns whether or not to use AT_ranges for compilation units. - bool useCURanges() { return HasCURanges; } + bool useCURanges() const { return HasCURanges; } /// Returns the Dwarf Version. unsigned getDwarfVersion() const { return DwarfVersion; } -- cgit v1.2.3