From 8ce5d8e3e7401f8e1189a9b67dc02d3938ecf0c2 Mon Sep 17 00:00:00 2001 From: Daniel Berlin Date: Thu, 2 Apr 2015 00:03:15 +0000 Subject: [PATCH] Mark this inline properly git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233870 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/IR/Instruction.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/IR/Instruction.h b/include/llvm/IR/Instruction.h index b4d72b5dd63..fa7410e8323 100644 --- a/include/llvm/IR/Instruction.h +++ b/include/llvm/IR/Instruction.h @@ -512,7 +512,7 @@ protected: }; -Instruction *ilist_traits::createSentinel() const { +inline Instruction *ilist_traits::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, -- 2.34.1