[llvm-commits] [llvm] r52492 - /llvm/trunk/include/llvm/ParameterAttributes.h

Dan Gohman gohman at apple.com
Thu Jun 19 09:16:06 PDT 2008


Author: djg
Date: Thu Jun 19 11:16:06 2008
New Revision: 52492

URL: http://llvm.org/viewvc/llvm-project?rev=52492&view=rev
Log:
The inline keyword goes before the return type. This fixes a compiler warning.

Modified:
    llvm/trunk/include/llvm/ParameterAttributes.h

Modified: llvm/trunk/include/llvm/ParameterAttributes.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ParameterAttributes.h?rev=52492&r1=52491&r2=52492&view=diff

==============================================================================
--- llvm/trunk/include/llvm/ParameterAttributes.h (original)
+++ llvm/trunk/include/llvm/ParameterAttributes.h Thu Jun 19 11:16:06 2008
@@ -68,7 +68,7 @@
 
 /// 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);
 }
 





More information about the llvm-commits mailing list