@@ -1943,11 +1943,6 @@ class alignas(TypeAlignment) Type : public ExtQualsTypeCommonBase {
1943
1943
LLVM_PREFERRED_TYPE (TypeBitfields)
1944
1944
unsigned : NumTypeBits;
1945
1945
1946
- // / Extra information which affects how the function is called, like
1947
- // / regparm and the calling convention.
1948
- LLVM_PREFERRED_TYPE (CallingConv)
1949
- unsigned ExtInfo : 14 ;
1950
-
1951
1946
// / The ref-qualifier associated with a \c FunctionProtoType.
1952
1947
// /
1953
1948
// / This is a value of type \c RefQualifierKind.
@@ -1966,12 +1961,6 @@ class alignas(TypeAlignment) Type : public ExtQualsTypeCommonBase {
1966
1961
LLVM_PREFERRED_TYPE (bool )
1967
1962
unsigned HasExtQuals : 1 ;
1968
1963
1969
- // / The number of parameters this function has, not counting '...'.
1970
- // / According to [implimits] 8 bits should be enough here but this is
1971
- // / somewhat easy to exceed with metaprogramming and so we would like to
1972
- // / keep NumParams as wide as reasonably possible.
1973
- unsigned NumParams : FunctionTypeNumParamsWidth;
1974
-
1975
1964
// / The type of exception specification this function has.
1976
1965
LLVM_PREFERRED_TYPE (ExceptionSpecificationType)
1977
1966
unsigned ExceptionSpecType : 4 ;
@@ -1991,6 +1980,17 @@ class alignas(TypeAlignment) Type : public ExtQualsTypeCommonBase {
1991
1980
// / Whether this function has a trailing return type.
1992
1981
LLVM_PREFERRED_TYPE (bool )
1993
1982
unsigned HasTrailingReturn : 1 ;
1983
+
1984
+ // / Extra information which affects how the function is called, like
1985
+ // / regparm and the calling convention.
1986
+ LLVM_PREFERRED_TYPE (CallingConv)
1987
+ unsigned ExtInfo : 14 ;
1988
+
1989
+ // / The number of parameters this function has, not counting '...'.
1990
+ // / According to [implimits] 8 bits should be enough here but this is
1991
+ // / somewhat easy to exceed with metaprogramming and so we would like to
1992
+ // / keep NumParams as wide as reasonably possible.
1993
+ unsigned NumParams : FunctionTypeNumParamsWidth;
1994
1994
};
1995
1995
1996
1996
class ObjCObjectTypeBitfields {
0 commit comments