summaryrefslogtreecommitdiffstats
path: root/llvm/include
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2014-06-05 14:32:15 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2014-06-05 14:32:15 +0000
commitbec9dedf78d42a5c6a8e869a59c9f56f259ec2ac (patch)
tree5117a8a95a33bb49c6198f1458e570fb8cde2170 /llvm/include
parent53e8cd3deabe915cc35e5d0f0b54aaa702bf16e2 (diff)
downloadbcm5719-llvm-bec9dedf78d42a5c6a8e869a59c9f56f259ec2ac.tar.gz
bcm5719-llvm-bec9dedf78d42a5c6a8e869a59c9f56f259ec2ac.zip
Add missing const specifier to a const method.
llvm-svn: 210265
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/llvm/IR/DebugLoc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/IR/DebugLoc.h b/llvm/include/llvm/IR/DebugLoc.h
index 6d769d4055c..3d969a8b753 100644
--- a/llvm/include/llvm/IR/DebugLoc.h
+++ b/llvm/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.
OpenPOWER on IntegriCloud