summaryrefslogtreecommitdiff
path: root/include/llvm
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-04-05 22:20:50 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-04-05 22:20:50 +0000
commit553e40036af29f9e8dee46812cd2ad90d97225f0 (patch)
tree978ae06b4039cd3e7f59c0f14f76d53f0d99c054 /include/llvm
parent2a65dd3101da4dbb955122dd68f53c39f08fee4f (diff)
downloadllvm-553e40036af29f9e8dee46812cd2ad90d97225f0.tar.gz
llvm-553e40036af29f9e8dee46812cd2ad90d97225f0.tar.bz2
llvm-553e40036af29f9e8dee46812cd2ad90d97225f0.tar.xz
Remove unnecessary "inline" of inline defined member functions
Member functions defined within a class definition are implicitly 'inline' for linkage purposes. Compilers might slightly favor inlining functions explicitly marked 'inline', but LLVM doesn't make a stylistic habit of doing this generally. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205679 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/CodeGen/MachineInstr.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/llvm/CodeGen/MachineInstr.h b/include/llvm/CodeGen/MachineInstr.h
index f5dc75eb5a..440d3a1302 100644
--- a/include/llvm/CodeGen/MachineInstr.h
+++ b/include/llvm/CodeGen/MachineInstr.h
@@ -287,10 +287,10 @@ public:
const_mop_iterator operands_begin() const { return Operands; }
const_mop_iterator operands_end() const { return Operands + NumOperands; }
- inline iterator_range<mop_iterator> operands() {
+ iterator_range<mop_iterator> operands() {
return iterator_range<mop_iterator>(operands_begin(), operands_end());
}
- inline iterator_range<const_mop_iterator> operands() const {
+ iterator_range<const_mop_iterator> operands() const {
return iterator_range<const_mop_iterator>(operands_begin(), operands_end());
}
@@ -299,10 +299,10 @@ public:
mmo_iterator memoperands_end() const { return MemRefs + NumMemRefs; }
bool memoperands_empty() const { return NumMemRefs == 0; }
- inline iterator_range<mmo_iterator> memoperands() {
+ iterator_range<mmo_iterator> memoperands() {
return iterator_range<mmo_iterator>(memoperands_begin(), memoperands_end());
}
- inline iterator_range<mmo_iterator> memoperands() const {
+ iterator_range<mmo_iterator> memoperands() const {
return iterator_range<mmo_iterator>(memoperands_begin(), memoperands_end());
}