[llvm] r233870 - Mark this inline properly
Daniel Berlin
dberlin at dberlin.org
Wed Apr 1 17:03:15 PDT 2015
Author: dannyb
Date: Wed Apr 1 19:03:15 2015
New Revision: 233870
URL: http://llvm.org/viewvc/llvm-project?rev=233870&view=rev
Log:
Mark this inline properly
Modified:
llvm/trunk/include/llvm/IR/Instruction.h
Modified: llvm/trunk/include/llvm/IR/Instruction.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/Instruction.h?rev=233870&r1=233869&r2=233870&view=diff
==============================================================================
--- llvm/trunk/include/llvm/IR/Instruction.h (original)
+++ llvm/trunk/include/llvm/IR/Instruction.h Wed Apr 1 19:03:15 2015
@@ -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>,
More information about the llvm-commits
mailing list