Add missing const specifier to a const method.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210265 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evgeniy Stepanov
2014-06-05 14:32:15 +00:00
parent f5999d6cb3
commit 0eacd38666
2 changed files with 2 additions and 2 deletions

View File

@ -76,7 +76,7 @@ MDNode *DebugLoc::getScopeNode(const LLVMContext &Ctx) const {
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()) {