Searched refs:FTI (Results 1 - 9 of 9) sorted by relevance
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Sema/ |
H A D | SemaInternal.h | 29 FTIHasSingleVoidParameter(const DeclaratorChunk::FunctionTypeInfo &FTI) { argument 30 return FTI.NumParams == 1 && !FTI.isVariadic && 31 FTI.Params[0].Ident == nullptr && FTI.Params[0].Param && 32 cast<ParmVarDecl>(FTI.Params[0].Param)->getType()->isVoidType(); 36 FTIHasNonVoidParameters(const DeclaratorChunk::FunctionTypeInfo &FTI) { argument 37 // Assume FTI is well-formed. 38 return FTI.NumParams && !FTIHasSingleVoidParameter(FTI); [all...] |
/netbsd-current/external/apache2/llvm/dist/clang/lib/Sema/ |
H A D | SemaType.cpp | 3120 const DeclaratorChunk::FunctionTypeInfo &FTI = local 3122 if (FTI.hasTrailingReturnType()) { 3125 FTI.getTrailingReturnTypeLoc()); 3617 const DeclaratorChunk::FunctionTypeInfo &FTI = DeclType.Fun; local 3618 assert(FTI.isAmbiguous && "no direct-initializer / function ambiguity"); 3625 if (!RT->isRecordType() && FTI.NumParams > 1) 3629 if (RT->isReferenceType() && FTI.NumParams != 1) 3648 FTI.NumParams ? diag::warn_parens_disambiguated_as_function_declaration 3672 if (FTI.NumParams > 0) { 3676 SourceRange Range = FTI 3831 getCCForDeclaratorChunk( Sema &S, Declarator &D, const ParsedAttributesView &AttrList, const DeclaratorChunk::FunctionTypeInfo &FTI, unsigned ChunkIndex) argument 4942 DeclaratorChunk::FunctionTypeInfo &FTI = DeclType.Fun; local 5485 const DeclaratorChunk::FunctionTypeInfo &FTI = DeclType.Fun; local 6155 const DeclaratorChunk::FunctionTypeInfo &FTI = Chunk.Fun; local [all...] |
H A D | SemaLambda.cpp | 947 DeclaratorChunk::FunctionTypeInfo &FTI = ParamInfo.getFunctionTypeInfo(); local 953 if (!FTI.hasMutableQualifier()) { 954 FTI.getOrCreateMethodQualifiers().SetTypeQual(DeclSpec::TQ_const, 962 ExplicitResultType = FTI.hasTrailingReturnType(); 964 if (FTIHasNonVoidParameters(FTI)) { 965 Params.reserve(FTI.NumParams); 966 for (unsigned i = 0, e = FTI.NumParams; i != e; ++i) 967 Params.push_back(cast<ParmVarDecl>(FTI.Params[i].Param));
|
H A D | SemaDeclCXX.cpp | 3948 auto &FTI = D.getFunctionTypeInfo(); 3949 if (!FTI.Params) 3951 for (auto &Param : ArrayRef<DeclaratorChunk::ParamInfo>(FTI.Params, 3952 FTI.NumParams)) { 10228 const DeclaratorChunk::FunctionTypeInfo &FTI = D.getFunctionTypeInfo(); 10229 if (FTI.hasMethodTypeQualifiers() && !D.isInvalidType()) { 10231 FTI.MethodQualifiers->forEachQualifier( 10290 DeclaratorChunk::FunctionTypeInfo &FTI = D.getFunctionTypeInfo(); 10291 if (FTI.hasRefQualifier()) { 10292 Diag(FTI [all...] |
H A D | SemaDecl.cpp | 9363 DeclaratorChunk::FunctionTypeInfo &FTI = D.getTypeObject(FTIIdx).Fun; local 9370 if (FTIHasNonVoidParameters(FTI) && FTI.Params[0].Param) { 9371 for (unsigned i = 0, e = FTI.NumParams; i != e; ++i) { 9372 ParmVarDecl *Param = cast<ParmVarDecl>(FTI.Params[i].Param); 9389 for (NamedDecl *NonParmDecl : FTI.getDeclsInPrototype()) { 13906 DeclaratorChunk::FunctionTypeInfo &FTI = D.getFunctionTypeInfo(); local 13910 if (!FTI.hasPrototype) { 13911 for (int i = FTI.NumParams; i != 0; /* decrement in loop */) { 13913 if (FTI [all...] |
/netbsd-current/external/apache2/llvm/dist/clang/lib/Parse/ |
H A D | ParseDeclCXX.cpp | 2194 DeclaratorChunk::FunctionTypeInfo &FTI local 2198 bool NeedLateParse = FTI.getExceptionSpecType() == EST_Unparsed; 2202 for (unsigned ParamIdx = 0; ParamIdx < FTI.NumParams; ++ParamIdx) { 2203 auto Param = cast<ParmVarDecl>(FTI.Params[ParamIdx].Param); 2220 LateMethod->DefaultArgs.reserve(FTI.NumParams); 2221 for (unsigned ParamIdx = 0; ParamIdx < FTI.NumParams; ++ParamIdx) 2223 FTI.Params[ParamIdx].Param, 2224 std::move(FTI.Params[ParamIdx].DefaultArgTokens))); 2227 if (FTI.getExceptionSpecType() == EST_Unparsed) { 2228 LateMethod->ExceptionSpecTokens = FTI [all...] |
H A D | Parser.cpp | 1173 const DeclaratorChunk::FunctionTypeInfo &FTI = D.getFunctionTypeInfo(); local 1193 if (FTI.isKNRPrototype()) 1403 DeclaratorChunk::FunctionTypeInfo &FTI = D.getFunctionTypeInfo(); local 1464 if (i == FTI.NumParams) { 1470 if (FTI.Params[i].Ident == ParmDeclarator.getIdentifier()) { 1472 if (FTI.Params[i].Param) { 1477 FTI.Params[i].Param = Param;
|
H A D | ParseDecl.cpp | 499 DeclaratorChunk::FunctionTypeInfo FTI = D->getFunctionTypeInfo(); local 503 for (unsigned i = 0; i != FTI.NumParams; ++i) { 504 ParmVarDecl *Param = cast<ParmVarDecl>(FTI.Params[i].Param);
|
/netbsd-current/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/ |
H A D | CodeViewDebug.cpp | 2107 TypeIndex FTI; local 2126 FTI = TypeTable.insertRecord(ContinuationBuilder); 2131 EnumRecord ER(EnumeratorCount, CO, FTI, FullName, Ty->getIdentifier(),
|
Completed in 800 milliseconds