aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2007-09-14 20:08:19 +0000
committerDan Gohman <gohman@apple.com>2007-09-14 20:08:19 +0000
commitcb648f90a26eb05ae8d508d500ca12881df50824 (patch)
tree8c3bb052505c1aa007d453755f4ee921341127c8 /include/llvm
parent7effac5475c9057dd1c384d33f41d518ff387207 (diff)
downloadexternal_llvm-cb648f90a26eb05ae8d508d500ca12881df50824.zip
external_llvm-cb648f90a26eb05ae8d508d500ca12881df50824.tar.gz
external_llvm-cb648f90a26eb05ae8d508d500ca12881df50824.tar.bz2
Remove spurious consts. This fixes warnings with compilers that
are strict about such things. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41956 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/CodeGen/MachineInstr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/MachineInstr.h b/include/llvm/CodeGen/MachineInstr.h
index 8fe446f..4ba436b 100644
--- a/include/llvm/CodeGen/MachineInstr.h
+++ b/include/llvm/CodeGen/MachineInstr.h
@@ -363,7 +363,7 @@ public:
/// getOpcode - Returns the opcode of this MachineInstr.
///
- const int getOpcode() const;
+ int getOpcode() const;
/// Access to explicit operands of the instruction.
///