Home
last modified time | relevance | path

Searched refs:FTI (Results 1 – 13 of 13) sorted by relevance

/external/clang/include/clang/Sema/
DSemaInternal.h30 FTIHasSingleVoidParameter(const DeclaratorChunk::FunctionTypeInfo &FTI) { in FTIHasSingleVoidParameter() argument
31 return FTI.NumParams == 1 && !FTI.isVariadic && in FTIHasSingleVoidParameter()
32 FTI.Params[0].Ident == nullptr && FTI.Params[0].Param && in FTIHasSingleVoidParameter()
33 cast<ParmVarDecl>(FTI.Params[0].Param)->getType()->isVoidType(); in FTIHasSingleVoidParameter()
37 FTIHasNonVoidParameters(const DeclaratorChunk::FunctionTypeInfo &FTI) { in FTIHasNonVoidParameters() argument
39 return FTI.NumParams && !FTIHasSingleVoidParameter(FTI); in FTIHasNonVoidParameters()
/external/clang/lib/Sema/
DSemaType.cpp2922 const DeclaratorChunk::FunctionTypeInfo &FTI = DeclType.Fun; in GetDeclSpecTypeForDeclarator() local
2923 if (FTI.hasTrailingReturnType()) { in GetDeclSpecTypeForDeclarator()
3025 const DeclaratorChunk::FunctionTypeInfo &FTI = DeclType.Fun; in warnAboutAmbiguousFunction() local
3026 assert(FTI.isAmbiguous && "no direct-initializer / function ambiguity"); in warnAboutAmbiguousFunction()
3033 if (!RT->isRecordType() && FTI.NumParams > 1) in warnAboutAmbiguousFunction()
3037 if (RT->isReferenceType() && FTI.NumParams != 1) in warnAboutAmbiguousFunction()
3057 FTI.NumParams ? diag::warn_parens_disambiguated_as_function_declaration in warnAboutAmbiguousFunction()
3080 if (FTI.NumParams > 0) { in warnAboutAmbiguousFunction()
3084 SourceRange Range = FTI.Params[0].Param->getSourceRange(); in warnAboutAmbiguousFunction()
3124 const DeclaratorChunk::FunctionTypeInfo &FTI, in getCCForDeclaratorChunk() argument
[all …]
DSemaLambda.cpp852 DeclaratorChunk::FunctionTypeInfo &FTI = ParamInfo.getFunctionTypeInfo(); in ActOnStartOfLambdaDefinition() local
858 if (!FTI.hasMutableQualifier()) in ActOnStartOfLambdaDefinition()
859 FTI.TypeQuals |= DeclSpec::TQ_const; in ActOnStartOfLambdaDefinition()
865 ExplicitResultType = FTI.hasTrailingReturnType(); in ActOnStartOfLambdaDefinition()
867 if (FTIHasNonVoidParameters(FTI)) { in ActOnStartOfLambdaDefinition()
868 Params.reserve(FTI.NumParams); in ActOnStartOfLambdaDefinition()
869 for (unsigned i = 0, e = FTI.NumParams; i != e; ++i) in ActOnStartOfLambdaDefinition()
870 Params.push_back(cast<ParmVarDecl>(FTI.Params[i].Param)); in ActOnStartOfLambdaDefinition()
DSemaDeclCXX.cpp6840 DeclaratorChunk::FunctionTypeInfo &FTI = D.getFunctionTypeInfo(); in CheckConstructorDeclarator() local
6841 if (FTI.TypeQuals != 0) { in CheckConstructorDeclarator()
6842 if (FTI.TypeQuals & Qualifiers::Const) in CheckConstructorDeclarator()
6845 if (FTI.TypeQuals & Qualifiers::Volatile) in CheckConstructorDeclarator()
6848 if (FTI.TypeQuals & Qualifiers::Restrict) in CheckConstructorDeclarator()
6856 if (FTI.hasRefQualifier()) { in CheckConstructorDeclarator()
6857 Diag(FTI.getRefQualifierLoc(), diag::err_ref_qualifier_constructor) in CheckConstructorDeclarator()
6858 << FTI.RefQualifierIsLValueRef in CheckConstructorDeclarator()
6859 << FixItHint::CreateRemoval(FTI.getRefQualifierLoc()); in CheckConstructorDeclarator()
7011 DeclaratorChunk::FunctionTypeInfo &FTI = D.getFunctionTypeInfo(); in CheckDestructorDeclarator() local
[all …]
DSemaDecl.cpp8112 DeclaratorChunk::FunctionTypeInfo &FTI = D.getFunctionTypeInfo(); in ActOnFunctionDeclarator() local
8119 if (FTIHasNonVoidParameters(FTI) && FTI.Params[0].Param) { in ActOnFunctionDeclarator()
8120 for (unsigned i = 0, e = FTI.NumParams; i != e; ++i) { in ActOnFunctionDeclarator()
8121 ParmVarDecl *Param = cast<ParmVarDecl>(FTI.Params[i].Param); in ActOnFunctionDeclarator()
11037 DeclaratorChunk::FunctionTypeInfo &FTI = D.getFunctionTypeInfo(); in ActOnFinishKNRParamDeclarations() local
11041 if (!FTI.hasPrototype) { in ActOnFinishKNRParamDeclarations()
11042 for (int i = FTI.NumParams; i != 0; /* decrement in loop */) { in ActOnFinishKNRParamDeclarations()
11044 if (FTI.Params[i].Param == nullptr) { in ActOnFinishKNRParamDeclarations()
11047 << " int " << FTI.Params[i].Ident->getName() << ";\n"; in ActOnFinishKNRParamDeclarations()
11048 Diag(FTI.Params[i].IdentLoc, diag::ext_param_not_declared) in ActOnFinishKNRParamDeclarations()
[all …]
/external/clang/lib/Parse/
DParser.cpp979 const DeclaratorChunk::FunctionTypeInfo &FTI = D.getFunctionTypeInfo(); in ParseFunctionDefinition() local
998 if (FTI.isKNRPrototype()) in ParseFunctionDefinition()
1202 DeclaratorChunk::FunctionTypeInfo &FTI = D.getFunctionTypeInfo(); in ParseKNRParamDeclarations() local
1263 if (i == FTI.NumParams) { in ParseKNRParamDeclarations()
1269 if (FTI.Params[i].Ident == ParmDeclarator.getIdentifier()) { in ParseKNRParamDeclarations()
1271 if (FTI.Params[i].Param) { in ParseKNRParamDeclarations()
1276 FTI.Params[i].Param = Param; in ParseKNRParamDeclarations()
DParseDeclCXX.cpp1965 DeclaratorChunk::FunctionTypeInfo &FTI in HandleMemberFunctionDeclDelays() local
1969 bool NeedLateParse = FTI.getExceptionSpecType() == EST_Unparsed; in HandleMemberFunctionDeclDelays()
1973 for (unsigned ParamIdx = 0; ParamIdx < FTI.NumParams; ++ParamIdx) { in HandleMemberFunctionDeclDelays()
1974 auto Param = cast<ParmVarDecl>(FTI.Params[ParamIdx].Param); in HandleMemberFunctionDeclDelays()
1990 LateMethod->ExceptionSpecTokens = FTI.ExceptionSpecTokens; in HandleMemberFunctionDeclDelays()
1991 FTI.ExceptionSpecTokens = nullptr; in HandleMemberFunctionDeclDelays()
1995 LateMethod->DefaultArgs.reserve(FTI.NumParams); in HandleMemberFunctionDeclDelays()
1996 for (unsigned ParamIdx = 0; ParamIdx < FTI.NumParams; ++ParamIdx) in HandleMemberFunctionDeclDelays()
1998 FTI.Params[ParamIdx].Param, FTI.Params[ParamIdx].DefaultArgTokens)); in HandleMemberFunctionDeclDelays()
DParseDecl.cpp372 DeclaratorChunk::FunctionTypeInfo FTI = D->getFunctionTypeInfo(); in ParseGNUAttributeArgs() local
376 for (unsigned i = 0; i != FTI.NumParams; ++i) { in ParseGNUAttributeArgs()
377 ParmVarDecl *Param = cast<ParmVarDecl>(FTI.Params[i].Param); in ParseGNUAttributeArgs()
/external/llvm/lib/CodeGen/AsmPrinter/
DCodeViewDebug.cpp1419 TypeIndex FTI; in lowerTypeEnum() local
1436 FTI = TypeTable.writeFieldList(Fields); in lowerTypeEnum()
1441 return TypeTable.writeEnum(EnumRecord(EnumeratorCount, CO, FTI, FullName, in lowerTypeEnum()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/
DCodeViewDebug.cpp1862 TypeIndex FTI; in lowerTypeEnum() local
1881 FTI = TypeTable.insertRecord(ContinuationBuilder); in lowerTypeEnum()
1886 EnumRecord ER(EnumeratorCount, CO, FTI, FullName, Ty->getIdentifier(), in lowerTypeEnum()
/external/cldr/tools/java/org/unicode/cldr/util/data/external/
D2013-1_UNLOCODE_CodeListPart1.csv752 ,"AS","FTI","Fitiuta","Fitiuta",,"---4----","AI","9912",,,
19573 ,"DE","FTI","Forstinning","Forstinning","BY","--3-----","RL","0201",,"4810N 01154E",
35632 ,"FR","FTI","Felletin","Felletin","23","--3-----","RL","0507",,"4553N 00211E",
D2013-1_UNLOCODE_CodeListPart2.csv4878 ,"GB","FTI","The Forties","The Forties","DBY","1-------","RL","0407",,"5246N 00129W",
D2013-1_UNLOCODE_CodeListPart3.csv15122 ,"US","FTI","Forest","Forest","MS","--3-----","RQ","9307",,,