constify a few accessors.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203032 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Christopher 2014-03-06 00:00:53 +00:00
parent 26148a62c3
commit ec3c85e043

View File

@ -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; }