From c52d876ae239e01a50cbe70ba4f01e9f522a462b Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Thu, 19 Jun 2008 16:16:06 +0000 Subject: The inline keyword goes before the return type. This fixes a compiler warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52492 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/ParameterAttributes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/ParameterAttributes.h b/include/llvm/ParameterAttributes.h index 2283362..919c460 100644 --- a/include/llvm/ParameterAttributes.h +++ b/include/llvm/ParameterAttributes.h @@ -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); } -- cgit v1.1