commit | bec9dedf78d42a5c6a8e869a59c9f56f259ec2ac | [log] [tgz] |
---|---|---|
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | Thu Jun 05 14:32:15 2014 +0000 |
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | Thu Jun 05 14:32:15 2014 +0000 |
tree | 5117a8a95a33bb49c6198f1458e570fb8cde2170 | |
parent | 53e8cd3deabe915cc35e5d0f0b54aaa702bf16e2 [diff] [blame] |
Add missing const specifier to a const method. llvm-svn: 210265
diff --git a/llvm/lib/IR/DebugLoc.cpp b/llvm/lib/IR/DebugLoc.cpp index 43360d3..e8bdcce 100644 --- a/llvm/lib/IR/DebugLoc.cpp +++ b/llvm/lib/IR/DebugLoc.cpp
@@ -76,7 +76,7 @@ return getScope(Ctx); } -DebugLoc DebugLoc::getFnDebugLoc(const LLVMContext &Ctx) { +DebugLoc DebugLoc::getFnDebugLoc(const LLVMContext &Ctx) const { const MDNode *Scope = getScopeNode(Ctx); DISubprogram SP = getDISubprogram(Scope); if (SP.isSubprogram()) {