summaryrefslogtreecommitdiff
path: root/lib/CodeGen/AsmPrinter/DwarfDebug.h
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-06-13 22:29:31 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-06-13 22:29:31 +0000
commit9907af99d44487d51cf8631476f3d2284361483e (patch)
tree0ca20cc8707eadc46442a745d1e46991597eaaa0 /lib/CodeGen/AsmPrinter/DwarfDebug.h
parent0fcb9cb1c11b209774bb7dc4f23e796b7cafdbf3 (diff)
downloadllvm-9907af99d44487d51cf8631476f3d2284361483e.tar.gz
llvm-9907af99d44487d51cf8631476f3d2284361483e.tar.bz2
llvm-9907af99d44487d51cf8631476f3d2284361483e.tar.xz
DwarfDebug::getExistingAbstractVariable: constify an existing reference parameter that didn't need to be mutated.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210944 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfDebug.h')
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfDebug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.h b/lib/CodeGen/AsmPrinter/DwarfDebug.h
index fcc9a7c80d..88b8a674b3 100644
--- a/lib/CodeGen/AsmPrinter/DwarfDebug.h
+++ b/lib/CodeGen/AsmPrinter/DwarfDebug.h
@@ -344,7 +344,7 @@ class DwarfDebug : public AsmPrinterHandler {
}
/// \brief Find abstract variable associated with Var.
- DbgVariable *getExistingAbstractVariable(DIVariable &DV,
+ DbgVariable *getExistingAbstractVariable(const DIVariable &DV,
DIVariable &Cleansed);
DbgVariable *createAbstractVariable(DIVariable &DV, LexicalScope *Scope);
DbgVariable *getOrCreateAbstractVariable(DIVariable &Var,