mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-28 06:32:09 +00:00
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:
parent
f5999d6cb3
commit
0eacd38666
@ -95,7 +95,7 @@ namespace llvm {
|
||||
|
||||
// getFnDebugLoc - Walk up the scope chain of given debug loc and find line
|
||||
// number info for the function.
|
||||
DebugLoc getFnDebugLoc(const LLVMContext &Ctx);
|
||||
DebugLoc getFnDebugLoc(const LLVMContext &Ctx) const;
|
||||
|
||||
/// getAsMDNode - This method converts the compressed DebugLoc node into a
|
||||
/// DILocation compatible MDNode.
|
||||
|
@ -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()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user