summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/AsmPrinter.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-04-17 16:44:48 +0000
committerDan Gohman <gohman@apple.com>2010-04-17 16:44:48 +0000
commit0d805c33d134d88169e3dc4a3272cff9a5713ce7 (patch)
treeb0536d75aba7a5f2cec56facbf1695121c9a712d /include/llvm/CodeGen/AsmPrinter.h
parent82d5eaf23e9588e47c18ce63acb6a5d35d67490a (diff)
downloadllvm-0d805c33d134d88169e3dc4a3272cff9a5713ce7.tar.gz
llvm-0d805c33d134d88169e3dc4a3272cff9a5713ce7.tar.bz2
llvm-0d805c33d134d88169e3dc4a3272cff9a5713ce7.tar.xz
Add const qualifiers to TargetLoweringObjectFile usage.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101640 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/AsmPrinter.h')
-rw-r--r--include/llvm/CodeGen/AsmPrinter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h
index 85c267eea9..17048f68db 100644
--- a/include/llvm/CodeGen/AsmPrinter.h
+++ b/include/llvm/CodeGen/AsmPrinter.h
@@ -129,7 +129,7 @@ namespace llvm {
unsigned getFunctionNumber() const;
/// getObjFileLowering - Return information about object file lowering.
- TargetLoweringObjectFile &getObjFileLowering() const;
+ const TargetLoweringObjectFile &getObjFileLowering() const;
/// getTargetData - Return information about data layout.
const TargetData &getTargetData() const;