Mark this inline properly
authorDaniel Berlin <dberlin@dberlin.org>
Thu, 2 Apr 2015 00:03:15 +0000 (00:03 +0000)
committerDaniel Berlin <dberlin@dberlin.org>
Thu, 2 Apr 2015 00:03:15 +0000 (00:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233870 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/IR/Instruction.h

index b4d72b5dd63abfde58457b8c1dc645d94bc9e2d4..fa7410e8323ce3aa0fdf493297de69705e3ceaab 100644 (file)
@@ -512,7 +512,7 @@ protected:
 
 };
 
-Instruction *ilist_traits<Instruction>::createSentinel() const {
+inline Instruction *ilist_traits<Instruction>::createSentinel() const {
   // Since i(p)lists always publicly derive from their corresponding traits,
   // placing a data member in this class will augment the i(p)list.  But since
   // the NodeTy is expected to be publicly derive from ilist_node<NodeTy>,