#include "clang/Sema/DeclSpec.h"
Definition at line 1357 of file DeclSpec.h.
◆ destroy() void clang::DeclaratorChunk::FunctionTypeInfo::destroy ( ) inlineDefinition at line 1477 of file DeclSpec.h.
References DeclsInPrototype, clang::EST_Dynamic, clang::EST_None, clang::EST_Unparsed, Exceptions, ExceptionSpecTokens, freeParams(), getExceptionSpecType(), MethodQualifiers, NumExceptionsOrDecls, and QualAttrFactory.
Referenced by clang::DeclaratorChunk::destroy().
◆ freeParams() void clang::DeclaratorChunk::FunctionTypeInfo::freeParams ( ) inline ◆ getConstQualifierLoc() SourceLocation clang::DeclaratorChunk::FunctionTypeInfo::getConstQualifierLoc ( ) const inline ◆ getDeclsInPrototype() ArrayRef< NamedDecl * > clang::DeclaratorChunk::FunctionTypeInfo::getDeclsInPrototype ( ) const inline ◆ getEllipsisLoc() SourceLocation clang::DeclaratorChunk::FunctionTypeInfo::getEllipsisLoc ( ) const inline ◆ getExceptionSpecLocBeg() SourceLocation clang::DeclaratorChunk::FunctionTypeInfo::getExceptionSpecLocBeg ( ) const inline ◆ getExceptionSpecLocEnd() SourceLocation clang::DeclaratorChunk::FunctionTypeInfo::getExceptionSpecLocEnd ( ) const inline ◆ getExceptionSpecRange() SourceRange clang::DeclaratorChunk::FunctionTypeInfo::getExceptionSpecRange ( ) const inline ◆ getExceptionSpecType() ◆ getLParenLoc() SourceLocation clang::DeclaratorChunk::FunctionTypeInfo::getLParenLoc ( ) const inline ◆ getMutableLoc() SourceLocation clang::DeclaratorChunk::FunctionTypeInfo::getMutableLoc ( ) const inline ◆ getNumExceptions() unsigned clang::DeclaratorChunk::FunctionTypeInfo::getNumExceptions ( ) const inline ◆ getOrCreateMethodQualifiers() DeclSpec & clang::DeclaratorChunk::FunctionTypeInfo::getOrCreateMethodQualifiers ( ) inline ◆ getRefQualifierLoc() SourceLocation clang::DeclaratorChunk::FunctionTypeInfo::getRefQualifierLoc ( ) const inline ◆ getRestrictQualifierLoc() SourceLocation clang::DeclaratorChunk::FunctionTypeInfo::getRestrictQualifierLoc ( ) const inline ◆ getRParenLoc() SourceLocation clang::DeclaratorChunk::FunctionTypeInfo::getRParenLoc ( ) const inline ◆ getTrailingReturnType() ParsedType clang::DeclaratorChunk::FunctionTypeInfo::getTrailingReturnType ( ) const inline ◆ getTrailingReturnTypeLoc() SourceLocation clang::DeclaratorChunk::FunctionTypeInfo::getTrailingReturnTypeLoc ( ) const inline ◆ getVolatileQualifierLoc() SourceLocation clang::DeclaratorChunk::FunctionTypeInfo::getVolatileQualifierLoc ( ) const inline ◆ hasMethodTypeQualifiers() bool clang::DeclaratorChunk::FunctionTypeInfo::hasMethodTypeQualifiers ( ) const inline ◆ hasMutableQualifier() bool clang::DeclaratorChunk::FunctionTypeInfo::hasMutableQualifier ( ) const inline ◆ hasRefQualifier() bool clang::DeclaratorChunk::FunctionTypeInfo::hasRefQualifier ( ) const inline ◆ hasTrailingReturnType() bool clang::DeclaratorChunk::FunctionTypeInfo::hasTrailingReturnType ( ) const inline ◆ isKNRPrototype() bool clang::DeclaratorChunk::FunctionTypeInfo::isKNRPrototype ( ) const inlineisKNRPrototype - Return true if this is a K&R style identifier list, like "void foo(a,b,c)".
In a function definition, this will be followed by the parameter type definitions.
Definition at line 1508 of file DeclSpec.h.
References hasPrototype, and NumParams.
◆ union { ... } clang::DeclaratorChunk::FunctionTypeInfo::@227 ◆ DeclsInPrototype NamedDecl** clang::DeclaratorChunk::FunctionTypeInfo::DeclsInPrototype ◆ DeleteParams unsigned clang::DeclaratorChunk::FunctionTypeInfo::DeleteParams ◆ EllipsisLoc ◆ Exceptions TypeAndRange* clang::DeclaratorChunk::FunctionTypeInfo::Exceptions ◆ ExceptionSpecLocBeg SourceLocation clang::DeclaratorChunk::FunctionTypeInfo::ExceptionSpecLocBeg ◆ ExceptionSpecLocEnd SourceLocation clang::DeclaratorChunk::FunctionTypeInfo::ExceptionSpecLocEnd ◆ ExceptionSpecTokens CachedTokens* clang::DeclaratorChunk::FunctionTypeInfo::ExceptionSpecTokens ◆ ExceptionSpecType unsigned clang::DeclaratorChunk::FunctionTypeInfo::ExceptionSpecType ◆ hasPrototype unsigned clang::DeclaratorChunk::FunctionTypeInfo::hasPrototype ◆ HasTrailingReturnType unsigned clang::DeclaratorChunk::FunctionTypeInfo::HasTrailingReturnType ◆ isAmbiguous unsigned clang::DeclaratorChunk::FunctionTypeInfo::isAmbiguous ◆ isVariadic unsigned clang::DeclaratorChunk::FunctionTypeInfo::isVariadic ◆ LParenLoc ◆ MethodQualifiers DeclSpec* clang::DeclaratorChunk::FunctionTypeInfo::MethodQualifiers ◆ MutableLoc ◆ NoexceptExpr Expr* clang::DeclaratorChunk::FunctionTypeInfo::NoexceptExpr ◆ NumExceptionsOrDecls unsigned clang::DeclaratorChunk::FunctionTypeInfo::NumExceptionsOrDecls ◆ NumParams unsigned clang::DeclaratorChunk::FunctionTypeInfo::NumParamsNumParams - This is the number of formal parameters specified by the declarator.
Definition at line 1403 of file DeclSpec.h.
Referenced by clang::Sema::ActOnFinishKNRParamDeclarations(), clang::Sema::ActOnFunctionDeclarator(), clang::Sema::CheckExplicitObjectMemberFunction(), clang::Sema::CheckExtraCXXDefaultArguments(), clang::Sema::containsUnexpandedParameterPacks(), freeParams(), clang::FTIHasNonVoidParameters(), clang::FTIHasSingleVoidParameter(), GetFullTypeForDeclarator(), clang::DeclaratorChunk::getFunction(), clang::Declarator::isExplicitObjectMemberFunction(), isKNRPrototype(), and warnAboutAmbiguousFunction().
◆ Params ParamInfo* clang::DeclaratorChunk::FunctionTypeInfo::ParamsParams - This is a pointer to a new[]'d array of ParamInfo objects that describe the parameters specified by this function declarator.
null if there are no parameters specified.
Definition at line 1428 of file DeclSpec.h.
Referenced by clang::Sema::ActOnFinishKNRParamDeclarations(), clang::Sema::ActOnFunctionDeclarator(), clang::Sema::CheckConversionDeclarator(), clang::Sema::CheckExplicitObjectMemberFunction(), clang::Sema::CheckExtraCXXDefaultArguments(), clang::Sema::containsUnexpandedParameterPacks(), freeParams(), clang::FTIHasSingleVoidParameter(), GetFullTypeForDeclarator(), clang::DeclaratorChunk::getFunction(), clang::Declarator::isExplicitObjectMemberFunction(), and warnAboutAmbiguousFunction().
◆ QualAttrFactory ◆ RefQualifierIsLValueRef unsigned clang::DeclaratorChunk::FunctionTypeInfo::RefQualifierIsLValueRef ◆ RefQualifierLoc SourceLocation clang::DeclaratorChunk::FunctionTypeInfo::RefQualifierLoc ◆ RParenLoc ◆ TrailingReturnType UnionParsedType clang::DeclaratorChunk::FunctionTypeInfo::TrailingReturnType ◆ TrailingReturnTypeLoc SourceLocation clang::DeclaratorChunk::FunctionTypeInfo::TrailingReturnTypeLocThe documentation for this struct was generated from the following file:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4