summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2014-03-06 00:00:53 +0000
committerEric Christopher <echristo@gmail.com>2014-03-06 00:00:53 +0000
commitec3c85e0434dcfa5d9314b544078b96bac964972 (patch)
tree96e4ee5545e84f16f0ac4a00c328f22f068fe3e8 /lib
parent26148a62c3ae9543f30c163f240e4b2c32970480 (diff)
downloadllvm-ec3c85e0434dcfa5d9314b544078b96bac964972.tar.gz
llvm-ec3c85e0434dcfa5d9314b544078b96bac964972.tar.bz2
llvm-ec3c85e0434dcfa5d9314b544078b96bac964972.tar.xz
constify a few accessors.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203032 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfDebug.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.h b/lib/CodeGen/AsmPrinter/DwarfDebug.h
index c74d76a06a..a63900a31a 100644
--- a/lib/CodeGen/AsmPrinter/DwarfDebug.h
+++ b/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; }