From 553e40036af29f9e8dee46812cd2ad90d97225f0 Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Sat, 5 Apr 2014 22:20:50 +0000 Subject: [PATCH] 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 --- include/llvm/CodeGen/MachineInstr.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/llvm/CodeGen/MachineInstr.h b/include/llvm/CodeGen/MachineInstr.h index f5dc75eb5a4..440d3a1302f 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 operands() { + iterator_range operands() { return iterator_range(operands_begin(), operands_end()); } - inline iterator_range operands() const { + iterator_range operands() const { return iterator_range(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 memoperands() { + iterator_range memoperands() { return iterator_range(memoperands_begin(), memoperands_end()); } - inline iterator_range memoperands() const { + iterator_range memoperands() const { return iterator_range(memoperands_begin(), memoperands_end()); }