summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2012-11-19 22:42:15 +0000
committerEric Christopher <echristo@gmail.com>2012-11-19 22:42:15 +0000
commitc4639d6ec2cf1e66d0bbc22db9ec530419b18784 (patch)
tree8426c55f84c6d9780ba8c7cfc715f09e7a104fd1 /include
parent0f1c7f6216c4dfdd4593bef077f7e1e082b624f9 (diff)
downloadllvm-c4639d6ec2cf1e66d0bbc22db9ec530419b18784.tar.gz
llvm-c4639d6ec2cf1e66d0bbc22db9ec530419b18784.tar.bz2
llvm-c4639d6ec2cf1e66d0bbc22db9ec530419b18784.tar.xz
Remove a function argument and propagate const around accordingly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168338 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/DebugInfo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/DebugInfo.h b/include/llvm/DebugInfo.h
index dae03ad100..66d91b5399 100644
--- a/include/llvm/DebugInfo.h
+++ b/include/llvm/DebugInfo.h
@@ -836,7 +836,7 @@ namespace llvm {
public:
/// processModule - Process entire module and collect debug info
/// anchors.
- void processModule(Module &M);
+ void processModule(const Module &M);
private:
/// processType - Process DIType.
@@ -849,7 +849,7 @@ namespace llvm {
void processSubprogram(DISubprogram SP);
/// processDeclare - Process DbgDeclareInst.
- void processDeclare(DbgDeclareInst *DDI);
+ void processDeclare(const DbgDeclareInst *DDI);
/// processLocation - Process DILocation.
void processLocation(DILocation Loc);