class Type::FunctionTypeBitfields
Declaration
class Type::FunctionTypeBitfields { /* full declaration omitted */ };
Description
FunctionTypeBitfields store various bits belonging to FunctionProtoType. Only common bits are stored here. Additional uncommon bits are stored in a trailing object after FunctionProtoType.
Declared at: clang/include/clang/AST/Type.h:1646
Member Variables
- private unsigned int
- private unsigned int ExtInfo
- Extra information which affects how the function is called, like regparm and the calling convention.
- private unsigned int RefQualifier
- This is a value of type \c RefQualifierKind.
- private unsigned int FastTypeQuals
- C++ 8.3.5p4: The return type, the parameter type list and the cv-qualifier-seq, [...], are part of the function type.
- private unsigned int HasExtQuals
- Whether this function has extended Qualifiers.
- private unsigned int NumParams
- The number of parameters this function has, not counting '...'. According to [implimits] 8 bits should be enough here but this is somewhat easy to exceed with metaprogramming and so we would like to keep NumParams as wide as reasonably possible.
- private unsigned int ExceptionSpecType
- The type of exception specification this function has.
- private unsigned int HasExtParameterInfos
- Whether this function has extended parameter information.
- private unsigned int HasExtraBitfields
- Whether this function has extra bitfields for the prototype.
- private unsigned int Variadic
- Whether the function is variadic.
- private unsigned int HasTrailingReturn
- Whether this function has a trailing return type.