aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/IR/DebugLoc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/IR/DebugLoc.h')
-rw-r--r--include/llvm/IR/DebugLoc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/IR/DebugLoc.h b/include/llvm/IR/DebugLoc.h
index 6d769d4..3d969a8 100644
--- a/include/llvm/IR/DebugLoc.h
+++ b/include/llvm/IR/DebugLoc.h
@@ -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.