mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 00:33:09 +00:00
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
This commit is contained in:
parent
2a65dd3101
commit
553e40036a
@ -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());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user