diff --git a/include/llvm/ParameterAttributes.h b/include/llvm/ParameterAttributes.h index 22833629f06..919c460337a 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); }