aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LiveDebugVariables.cpp
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2017-06-21 22:19:17 +0000
committerSam Clegg <sbc@chromium.org>2017-06-21 22:19:17 +0000
commit705f798bff394f8f4372d917dfb93fac6017fe34 (patch)
tree50f84972e7b1976fff00fce0cd2182c6f9fa0c4e /llvm/lib/CodeGen/LiveDebugVariables.cpp
parente3eb42cef64ffee02fe00d633eeb0c44e24217e9 (diff)
downloadllvm-705f798bff394f8f4372d917dfb93fac6017fe34.zip
llvm-705f798bff394f8f4372d917dfb93fac6017fe34.tar.gz
llvm-705f798bff394f8f4372d917dfb93fac6017fe34.tar.bz2
Mark dump() methods as const. NFC
Add const qualifier to any dump() method where adding one was trivial. Differential Revision: https://reviews.llvm.org/D34481 llvm-svn: 305963
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
-rw-r--r--llvm/lib/CodeGen/LiveDebugVariables.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LiveDebugVariables.cpp b/llvm/lib/CodeGen/LiveDebugVariables.cpp
index bbd7833..0c76478 100644
--- a/llvm/lib/CodeGen/LiveDebugVariables.cpp
+++ b/llvm/lib/CodeGen/LiveDebugVariables.cpp
@@ -1006,7 +1006,7 @@ bool LiveDebugVariables::doInitialization(Module &M) {
}
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
-LLVM_DUMP_METHOD void LiveDebugVariables::dump() {
+LLVM_DUMP_METHOD void LiveDebugVariables::dump() const {
if (pImpl)
static_cast<LDVImpl*>(pImpl)->print(dbgs());
}