The inline keyword goes before the return type. This fixes a compiler warning.
authorDan Gohman <gohman@apple.com>
Thu, 19 Jun 2008 16:16:06 +0000 (16:16 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 19 Jun 2008 16:16:06 +0000 (16:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52492 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/ParameterAttributes.h

index 22833629f06ebeed34fe883d45eb3df5d0d171cc..919c460337ad4eb09d83d879034b179899a3e3f5 100644 (file)
@@ -68,7 +68,7 @@ Attributes typeIncompatible(const Type *Ty);
 
 /// This turns an int alignment (a power of 2, normally) into the
 /// form used internally in ParameterAttributes.
-ParamAttr::Attributes inline constructAlignmentFromInt(unsigned i) {
+inline ParamAttr::Attributes constructAlignmentFromInt(unsigned i) {
   return (i << 16);
 }