Searched refs:FTI (Results 1 – 9 of 9) sorted by relevance
/openbsd/gnu/llvm/clang/include/clang/Sema/ |
H A D | SemaInternal.h | 29 FTIHasSingleVoidParameter(const DeclaratorChunk::FunctionTypeInfo &FTI) { in FTIHasSingleVoidParameter() argument 30 return FTI.NumParams == 1 && !FTI.isVariadic && in FTIHasSingleVoidParameter() 31 FTI.Params[0].Ident == nullptr && FTI.Params[0].Param && in FTIHasSingleVoidParameter() 32 cast<ParmVarDecl>(FTI.Params[0].Param)->getType()->isVoidType(); in FTIHasSingleVoidParameter() 36 FTIHasNonVoidParameters(const DeclaratorChunk::FunctionTypeInfo &FTI) { in FTIHasNonVoidParameters() argument 38 return FTI.NumParams && !FTIHasSingleVoidParameter(FTI); in FTIHasNonVoidParameters()
|
/openbsd/gnu/llvm/clang/lib/Sema/ |
H A D | SemaType.cpp | 3839 if (FTI.NumParams > 0) { in warnAboutAmbiguousFunction() 5131 FTI.hasMethodTypeQualifiers() || FTI.hasRefQualifier(); in GetFullTypeForDeclarator() 5246 if (FTI.isVariadic && in GetFullTypeForDeclarator() 5360 if (FTI.isAmbiguous) in GetFullTypeForDeclarator() 5369 if (!FTI.NumParams && !FTI.isVariadic && in GetFullTypeForDeclarator() 5377 if (!FTI.NumParams && FTI.isVariadic && !LangOpts.CPlusPlus) { in GetFullTypeForDeclarator() 5390 if (FTI.NumParams && FTI.Params[0].Param == nullptr) { in GetFullTypeForDeclarator() 5409 FTI.MethodQualifiers ? FTI.MethodQualifiers->getTypeQualifiers() in GetFullTypeForDeclarator() 5436 if (FTI.NumParams != 1 || FTI.isVariadic) { in GetFullTypeForDeclarator() 5562 if (FTI.MethodQualifiers) in GetFullTypeForDeclarator() [all …]
|
H A D | SemaLambda.cpp | 968 DeclaratorChunk::FunctionTypeInfo &FTI = ParamInfo.getFunctionTypeInfo(); in ActOnStartOfLambdaDefinition() local 974 if (!FTI.hasMutableQualifier() && !IsLambdaStatic) { in ActOnStartOfLambdaDefinition() 975 FTI.getOrCreateMethodQualifiers().SetTypeQual(DeclSpec::TQ_const, in ActOnStartOfLambdaDefinition() 983 ExplicitResultType = FTI.hasTrailingReturnType(); in ActOnStartOfLambdaDefinition() 986 QualType RetTy = FTI.getTrailingReturnType().get(); in ActOnStartOfLambdaDefinition() 992 Diag(FTI.getTrailingReturnTypeLoc(), in ActOnStartOfLambdaDefinition() 997 if (FTIHasNonVoidParameters(FTI)) { in ActOnStartOfLambdaDefinition() 998 Params.reserve(FTI.NumParams); in ActOnStartOfLambdaDefinition() 999 for (unsigned i = 0, e = FTI.NumParams; i != e; ++i) in ActOnStartOfLambdaDefinition() 1000 Params.push_back(cast<ParmVarDecl>(FTI.Params[i].Param)); in ActOnStartOfLambdaDefinition()
|
H A D | SemaDeclCXX.cpp | 4030 auto &FTI = D.getFunctionTypeInfo(); in ActOnStartTrailingRequiresClause() local 4031 if (!FTI.Params) in ActOnStartTrailingRequiresClause() 10517 if (FTI.hasMethodTypeQualifiers() && !D.isInvalidType()) { in checkMethodTypeQualifiers() 10519 FTI.MethodQualifiers->forEachQualifier( in checkMethodTypeQualifiers() 10579 if (FTI.hasRefQualifier()) { in CheckConstructorDeclarator() 10581 << FTI.RefQualifierIsLValueRef in CheckConstructorDeclarator() 10756 if (FTI.hasRefQualifier()) { in CheckDestructorDeclarator() 10758 << FTI.RefQualifierIsLValueRef in CheckDestructorDeclarator() 10764 if (FTIHasNonVoidParameters(FTI)) { in CheckDestructorDeclarator() 10768 FTI.freeParams(); in CheckDestructorDeclarator() [all …]
|
H A D | SemaDecl.cpp | 10036 if (FTIHasNonVoidParameters(FTI) && FTI.Params[0].Param) { in ActOnFunctionDeclarator() 10037 for (unsigned i = 0, e = FTI.NumParams; i != e; ++i) { in ActOnFunctionDeclarator() 10055 for (NamedDecl *NonParmDecl : FTI.getDeclsInPrototype()) { in ActOnFunctionDeclarator() 14862 if (!FTI.hasPrototype) { in ActOnFinishKNRParamDeclarations() 14863 for (int i = FTI.NumParams; i != 0; /* decrement in loop */) { in ActOnFinishKNRParamDeclarations() 14865 if (FTI.Params[i].Param == nullptr) { in ActOnFinishKNRParamDeclarations() 14871 << FTI.Params[i].Ident in ActOnFinishKNRParamDeclarations() 14884 DS.SetRangeStart(FTI.Params[i].IdentLoc); in ActOnFinishKNRParamDeclarations() 14885 DS.SetRangeEnd(FTI.Params[i].IdentLoc); in ActOnFinishKNRParamDeclarations() 14888 ParamD.SetIdentifier(FTI.Params[i].Ident, FTI.Params[i].IdentLoc); in ActOnFinishKNRParamDeclarations() [all …]
|
/openbsd/gnu/llvm/clang/lib/Parse/ |
H A D | Parser.cpp | 1249 const DeclaratorChunk::FunctionTypeInfo &FTI = D.getFunctionTypeInfo(); in ParseFunctionDefinition() local 1271 if (FTI.isKNRPrototype()) in ParseFunctionDefinition() 1490 DeclaratorChunk::FunctionTypeInfo &FTI = D.getFunctionTypeInfo(); in ParseKNRParamDeclarations() local 1552 if (i == FTI.NumParams) { in ParseKNRParamDeclarations() 1558 if (FTI.Params[i].Ident == ParmDeclarator.getIdentifier()) { in ParseKNRParamDeclarations() 1560 if (FTI.Params[i].Param) { in ParseKNRParamDeclarations() 1565 FTI.Params[i].Param = Param; in ParseKNRParamDeclarations()
|
H A D | ParseDeclCXX.cpp | 2316 DeclaratorChunk::FunctionTypeInfo &FTI = DeclaratorInfo.getFunctionTypeInfo(); in HandleMemberFunctionDeclDelays() local 2319 bool NeedLateParse = FTI.getExceptionSpecType() == EST_Unparsed; in HandleMemberFunctionDeclDelays() 2323 for (unsigned ParamIdx = 0; ParamIdx < FTI.NumParams; ++ParamIdx) { in HandleMemberFunctionDeclDelays() 2324 auto Param = cast<ParmVarDecl>(FTI.Params[ParamIdx].Param); in HandleMemberFunctionDeclDelays() 2341 LateMethod->DefaultArgs.reserve(FTI.NumParams); in HandleMemberFunctionDeclDelays() 2342 for (unsigned ParamIdx = 0; ParamIdx < FTI.NumParams; ++ParamIdx) in HandleMemberFunctionDeclDelays() 2344 FTI.Params[ParamIdx].Param, in HandleMemberFunctionDeclDelays() 2345 std::move(FTI.Params[ParamIdx].DefaultArgTokens))); in HandleMemberFunctionDeclDelays() 2348 if (FTI.getExceptionSpecType() == EST_Unparsed) { in HandleMemberFunctionDeclDelays() 2349 LateMethod->ExceptionSpecTokens = FTI.ExceptionSpecTokens; in HandleMemberFunctionDeclDelays() [all …]
|
H A D | ParseDecl.cpp | 540 DeclaratorChunk::FunctionTypeInfo FTI = D->getFunctionTypeInfo(); in ParseGNUAttributeArgs() local 544 for (unsigned i = 0; i != FTI.NumParams; ++i) { in ParseGNUAttributeArgs() 545 ParmVarDecl *Param = cast<ParmVarDecl>(FTI.Params[i].Param); in ParseGNUAttributeArgs()
|
/openbsd/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/ |
H A D | CodeViewDebug.cpp | 2233 TypeIndex FTI; in lowerTypeEnum() local 2253 FTI = TypeTable.insertRecord(ContinuationBuilder); in lowerTypeEnum() 2258 EnumRecord ER(EnumeratorCount, CO, FTI, FullName, Ty->getIdentifier(), in lowerTypeEnum()
|