Home
last modified time | relevance | path

Searched refs:EPI (Results 1 – 21 of 21) sorted by relevance

/external/clang/lib/Sema/
DSemaExceptionSpec.cpp136 const FunctionProtoType::ExtProtoInfo &EPI) { in UpdateExceptionSpec() argument
141 NewEPI.ExceptionSpecType = EPI.ExceptionSpecType; in UpdateExceptionSpec()
142 NewEPI.NumExceptions = EPI.NumExceptions; in UpdateExceptionSpec()
143 NewEPI.Exceptions = EPI.Exceptions; in UpdateExceptionSpec()
144 NewEPI.NoexceptExpr = EPI.NoexceptExpr; in UpdateExceptionSpec()
149 if (!isUnresolvedExceptionSpec(EPI.ExceptionSpecType)) in UpdateExceptionSpec()
230 FunctionProtoType::ExtProtoInfo EPI = NewProto->getExtProtoInfo(); in CheckEquivalentExceptionSpec() local
231 EPI.ExceptionSpecType = EST_DynamicNone; in CheckEquivalentExceptionSpec()
233 NewProto->getParamTypes(), EPI); in CheckEquivalentExceptionSpec()
241 FunctionProtoType::ExtProtoInfo EPI = NewProto->getExtProtoInfo(); in CheckEquivalentExceptionSpec() local
[all …]
DSemaDeclCXX.cpp4815 FunctionProtoType::ExtProtoInfo EPI; in getImplicitMethodEPI() local
4818 EPI.ExceptionSpecType = EST_Unevaluated; in getImplicitMethodEPI()
4819 EPI.ExceptionSpecDecl = MD; in getImplicitMethodEPI()
4822 EPI.ExtInfo = EPI.ExtInfo.withCallingConv( in getImplicitMethodEPI()
4825 return EPI; in getImplicitMethodEPI()
4837 FunctionProtoType::ExtProtoInfo EPI; in EvaluateImplicitExceptionSpec() local
4838 ExceptSpec.getEPI(EPI); in EvaluateImplicitExceptionSpec()
4841 UpdateExceptionSpec(MD, EPI); in EvaluateImplicitExceptionSpec()
4849 UpdateExceptionSpec(MD->getCanonicalDecl(), EPI); in EvaluateImplicitExceptionSpec()
4994 FunctionProtoType::ExtProtoInfo EPI = Type->getExtProtoInfo(); in CheckExplicitlyDefaultedSpecialMember() local
[all …]
DSemaTemplateInstantiateDecl.cpp3134 FunctionProtoType::ExtProtoInfo EPI; in InstantiateExceptionSpec() local
3135 EPI.ExceptionSpecType = Proto->getExceptionSpecType(); in InstantiateExceptionSpec()
3136 EPI.NumExceptions = Exceptions.size(); in InstantiateExceptionSpec()
3137 EPI.Exceptions = Exceptions.data(); in InstantiateExceptionSpec()
3138 EPI.NoexceptExpr = NoexceptExpr; in InstantiateExceptionSpec()
3140 SemaRef.UpdateExceptionSpec(New, EPI); in InstantiateExceptionSpec()
3154 FunctionProtoType::ExtProtoInfo EPI; in InstantiateExceptionSpec() local
3155 EPI.ExceptionSpecType = EST_None; in InstantiateExceptionSpec()
3156 UpdateExceptionSpec(Decl, EPI); in InstantiateExceptionSpec()
3216 FunctionProtoType::ExtProtoInfo EPI = Proto->getExtProtoInfo(); in InitFunctionInstantiation() local
[all …]
DSemaType.cpp1768 const FunctionProtoType::ExtProtoInfo &EPI) { in BuildFunctionType() argument
1792 return Context.getFunctionType(T, ParamTypes, EPI); in BuildFunctionType()
2887 FunctionProtoType::ExtProtoInfo EPI; in GetFullTypeForDeclarator() local
2888 EPI.ExtInfo = EI; in GetFullTypeForDeclarator()
2889 EPI.Variadic = FTI.isVariadic; in GetFullTypeForDeclarator()
2890 EPI.HasTrailingReturn = FTI.hasTrailingReturnType(); in GetFullTypeForDeclarator()
2891 EPI.TypeQuals = FTI.TypeQuals; in GetFullTypeForDeclarator()
2892 EPI.RefQualifier = !FTI.hasRefQualifier()? RQ_None in GetFullTypeForDeclarator()
2971 EPI.ConsumedParameters = ConsumedParameters.data(); in GetFullTypeForDeclarator()
2997 EPI); in GetFullTypeForDeclarator()
[all …]
DSemaLambda.cpp865 FunctionProtoType::ExtProtoInfo EPI(Context.getDefaultCallingConvention( in ActOnStartOfLambdaDefinition() local
867 EPI.HasTrailingReturn = true; in ActOnStartOfLambdaDefinition()
868 EPI.TypeQuals |= DeclSpec::TQ_const; in ActOnStartOfLambdaDefinition()
879 Context.getFunctionType(DefaultTypeForNoTrailingReturn, None, EPI); in ActOnStartOfLambdaDefinition()
DSemaExprCXX.cpp1750 FunctionProtoType::ExtProtoInfo EPI; in FindAllocationFunctions() local
1751 EPI.Variadic = Proto->isVariadic(); in FindAllocationFunctions()
1754 = Context.getFunctionType(Context.VoidTy, ArgTypes, EPI); in FindAllocationFunctions()
2074 FunctionProtoType::ExtProtoInfo EPI; in DeclareGlobalAllocationFunction() local
2084 EPI.ExceptionSpecType = EST_Dynamic; in DeclareGlobalAllocationFunction()
2085 EPI.NumExceptions = 1; in DeclareGlobalAllocationFunction()
2086 EPI.Exceptions = &BadAllocType; in DeclareGlobalAllocationFunction()
2089 EPI.ExceptionSpecType = getLangOpts().CPlusPlus11 ? in DeclareGlobalAllocationFunction()
2096 Return, ArrayRef<QualType>(Params, NumParams), EPI); in DeclareGlobalAllocationFunction()
DSemaLookup.cpp736 FunctionProtoType::ExtProtoInfo EPI = ConvProto->getExtProtoInfo(); in LookupDirect() local
737 EPI.ExtInfo = EPI.ExtInfo.withCallingConv(CC_C); in LookupDirect()
738 EPI.ExceptionSpecType = EST_None; in LookupDirect()
739 EPI.NumExceptions = 0; in LookupDirect()
742 None, EPI); in LookupDirect()
DSemaExpr.cpp10460 FunctionProtoType::ExtProtoInfo EPI; in ActOnBlockArguments() local
10461 EPI.HasTrailingReturn = false; in ActOnBlockArguments()
10462 EPI.TypeQuals |= DeclSpec::TQ_const; in ActOnBlockArguments()
10463 T = Context.getFunctionType(Context.DependentTy, None, EPI); in ActOnBlockArguments()
10625 FunctionProtoType::ExtProtoInfo EPI; in ActOnBlockStmtExpr() local
10626 EPI.ExtInfo = Ext; in ActOnBlockStmtExpr()
10627 BlockTy = Context.getFunctionType(RetTy, None, EPI); in ActOnBlockStmtExpr()
10638 FunctionProtoType::ExtProtoInfo EPI = FPT->getExtProtoInfo(); in ActOnBlockStmtExpr() local
10639 EPI.TypeQuals = 0; // FIXME: silently? in ActOnBlockStmtExpr()
10640 EPI.ExtInfo = Ext; in ActOnBlockStmtExpr()
[all …]
DSemaDecl.cpp7113 FunctionProtoType::ExtProtoInfo EPI = FPT->getExtProtoInfo(); in ActOnFunctionDeclarator() local
7114 EPI.ExceptionSpecType = EST_BasicNoexcept; in ActOnFunctionDeclarator()
7116 FPT->getParamTypes(), EPI)); in ActOnFunctionDeclarator()
7518 FunctionProtoType::ExtProtoInfo EPI( in ActOnFunctionDeclarator() local
7520 EPI.Variadic = true; in ActOnFunctionDeclarator()
7521 EPI.ExtInfo = FT->getExtInfo(); in ActOnFunctionDeclarator()
7523 QualType R = Context.getFunctionType(FT->getReturnType(), None, EPI); in ActOnFunctionDeclarator()
7744 FunctionProtoType::ExtProtoInfo EPI = FPT->getExtProtoInfo(); in CheckFunctionDeclaration() local
7745 EPI.TypeQuals |= Qualifiers::Const; in CheckFunctionDeclaration()
7747 FPT->getParamTypes(), EPI)); in CheckFunctionDeclaration()
DSemaTemplateDeduction.cpp3733 FunctionProtoType::ExtProtoInfo EPI = InvokerFPT->getExtProtoInfo(); in SpecializeCorrespondingLambdaCallOperatorAndInvoker() local
3734 EPI.TypeQuals = 0; in SpecializeCorrespondingLambdaCallOperatorAndInvoker()
3736 InvokerFPT->getReturnType(), InvokerFPT->getParamTypes(), EPI)); in SpecializeCorrespondingLambdaCallOperatorAndInvoker()
DSemaTemplate.cpp6650 FunctionProtoType::ExtProtoInfo EPI = FPT->getExtProtoInfo(); in CheckFunctionTemplateSpecialization() local
6651 EPI.TypeQuals |= Qualifiers::Const; in CheckFunctionTemplateSpecialization()
6653 FPT->getParamTypes(), EPI); in CheckFunctionTemplateSpecialization()
DTreeTransform.h754 const FunctionProtoType::ExtProtoInfo &EPI);
9912 const FunctionProtoType::ExtProtoInfo &EPI) { in RebuildFunctionProtoType() argument
9916 EPI); in RebuildFunctionProtoType()
/external/clang/include/clang/AST/
DType.h2959 ExtProtoInfo EPI;
2960 EPI.ExtInfo = getExtInfo();
2961 EPI.Variadic = isVariadic();
2962 EPI.HasTrailingReturn = hasTrailingReturn();
2963 EPI.ExceptionSpecType = getExceptionSpecType();
2964 EPI.TypeQuals = static_cast<unsigned char>(getTypeQuals());
2965 EPI.RefQualifier = getRefQualifier();
2966 if (EPI.ExceptionSpecType == EST_Dynamic) {
2967 EPI.NumExceptions = NumExceptions;
2968 EPI.Exceptions = exception_begin();
[all …]
DASTContext.h1058 const FunctionProtoType::ExtProtoInfo &EPI) const;
/external/clang/lib/AST/
DASTContext.cpp2089 FunctionProtoType::ExtProtoInfo EPI = FPT->getExtProtoInfo(); in adjustFunctionType() local
2090 EPI.ExtInfo = Info; in adjustFunctionType()
2091 Result = getFunctionType(FPT->getReturnType(), FPT->getParamTypes(), EPI); in adjustFunctionType()
2102 FunctionProtoType::ExtProtoInfo EPI = FPT->getExtProtoInfo(); in adjustDeducedFunctionResultType() local
2103 FD->setType(getFunctionType(ResultType, FPT->getParamTypes(), EPI)); in adjustDeducedFunctionResultType()
2827 const FunctionProtoType::ExtProtoInfo &EPI) const { in getFunctionType()
2833 FunctionProtoType::Profile(ID, ResultTy, ArgArray.begin(), NumArgs, EPI, in getFunctionType()
2843 EPI.ExceptionSpecType == EST_None && isCanonicalResultType(ResultTy) && in getFunctionType()
2844 !EPI.HasTrailingReturn; in getFunctionType()
2858 FunctionProtoType::ExtProtoInfo CanonicalEPI = EPI; in getFunctionType()
[all …]
DASTDumper.cpp916 FunctionProtoType::ExtProtoInfo EPI = FPT->getExtProtoInfo(); in VisitFunctionDecl() local
917 switch (EPI.ExceptionSpecType) { in VisitFunctionDecl()
920 OS << " noexcept-unevaluated " << EPI.ExceptionSpecDecl; in VisitFunctionDecl()
923 OS << " noexcept-uninstantiated " << EPI.ExceptionSpecTemplate; in VisitFunctionDecl()
/external/clang/include/clang/Sema/
DSema.h1155 const FunctionProtoType::ExtProtoInfo &EPI);
1180 const FunctionProtoType::ExtProtoInfo &EPI);
3931 void getEPI(FunctionProtoType::ExtProtoInfo &EPI) const { in getEPI() argument
3932 EPI.ExceptionSpecType = getExceptionSpecType(); in getEPI()
3933 if (EPI.ExceptionSpecType == EST_Dynamic) { in getEPI()
3934 EPI.NumExceptions = size(); in getEPI()
3935 EPI.Exceptions = data(); in getEPI()
3936 } else if (EPI.ExceptionSpecType == EST_None) { in getEPI()
3940 EPI.ExceptionSpecType = EST_ComputedNoexcept; in getEPI()
3941 EPI.NoexceptExpr = Self->ActOnCXXBoolLiteral(SourceLocation(), in getEPI()
[all …]
/external/clang/lib/Serialization/
DASTReader.cpp5224 FunctionProtoType::ExtProtoInfo EPI; in readTypeRecord() local
5225 EPI.ExtInfo = FunctionType::ExtInfo(/*noreturn*/ Record[1], in readTypeRecord()
5237 EPI.Variadic = Record[Idx++]; in readTypeRecord()
5238 EPI.HasTrailingReturn = Record[Idx++]; in readTypeRecord()
5239 EPI.TypeQuals = Record[Idx++]; in readTypeRecord()
5240 EPI.RefQualifier = static_cast<RefQualifierKind>(Record[Idx++]); in readTypeRecord()
5242 readExceptionSpec(*Loc.F, ExceptionStorage, EPI, Record, Idx); in readTypeRecord()
5243 return Context.getFunctionType(ResultType, ParamTypes, EPI); in readTypeRecord()
5505 FunctionProtoType::ExtProtoInfo &EPI, in readExceptionSpec() argument
5509 EPI.ExceptionSpecType = EST; in readExceptionSpec()
[all …]
DASTReaderDecl.cpp3272 auto EPI = FPT->getExtProtoInfo(); in UpdateDecl() local
3274 Reader.readExceptionSpec(ModuleFile, ExceptionStorage, EPI, Record, Idx); in UpdateDecl()
3276 FPT->getParamTypes(), EPI)); in UpdateDecl()
/external/clang/include/clang/Serialization/
DASTReader.h1145 FunctionProtoType::ExtProtoInfo &EPI,
/external/bison/data/m4sugar/
Dm4sugar.m41902 # the PRO/EPI pairs.