diff options
author | Dan Gohman <gohman@apple.com> | 2008-06-19 16:16:06 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-06-19 16:16:06 +0000 |
commit | e6807551cb78f2813c64d79eb03d50aa99951eeb (patch) | |
tree | d95ccb6295b137e821c4f7c9f1c7b37a42f8bcb1 /include/llvm/ParameterAttributes.h | |
parent | 3d2ff5f9391857f6ab0458f592fa09c1d4b16f72 (diff) | |
download | external_llvm-e6807551cb78f2813c64d79eb03d50aa99951eeb.zip external_llvm-e6807551cb78f2813c64d79eb03d50aa99951eeb.tar.gz external_llvm-e6807551cb78f2813c64d79eb03d50aa99951eeb.tar.bz2 |
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
Diffstat (limited to 'include/llvm/ParameterAttributes.h')
-rw-r--r-- | include/llvm/ParameterAttributes.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |