/external/clang/lib/Sema/ |
D | SemaExceptionSpec.cpp | 136 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 …]
|
D | SemaDeclCXX.cpp | 4815 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 …]
|
D | SemaTemplateInstantiateDecl.cpp | 3134 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 …]
|
D | SemaType.cpp | 1768 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 …]
|
D | SemaLambda.cpp | 865 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()
|
D | SemaExprCXX.cpp | 1750 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()
|
D | SemaLookup.cpp | 736 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()
|
D | SemaExpr.cpp | 10460 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 …]
|
D | SemaDecl.cpp | 7113 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()
|
D | SemaTemplateDeduction.cpp | 3733 FunctionProtoType::ExtProtoInfo EPI = InvokerFPT->getExtProtoInfo(); in SpecializeCorrespondingLambdaCallOperatorAndInvoker() local 3734 EPI.TypeQuals = 0; in SpecializeCorrespondingLambdaCallOperatorAndInvoker() 3736 InvokerFPT->getReturnType(), InvokerFPT->getParamTypes(), EPI)); in SpecializeCorrespondingLambdaCallOperatorAndInvoker()
|
D | SemaTemplate.cpp | 6650 FunctionProtoType::ExtProtoInfo EPI = FPT->getExtProtoInfo(); in CheckFunctionTemplateSpecialization() local 6651 EPI.TypeQuals |= Qualifiers::Const; in CheckFunctionTemplateSpecialization() 6653 FPT->getParamTypes(), EPI); in CheckFunctionTemplateSpecialization()
|
D | TreeTransform.h | 754 const FunctionProtoType::ExtProtoInfo &EPI); 9912 const FunctionProtoType::ExtProtoInfo &EPI) { in RebuildFunctionProtoType() argument 9916 EPI); in RebuildFunctionProtoType()
|
/external/clang/include/clang/AST/ |
D | Type.h | 2959 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 …]
|
D | ASTContext.h | 1058 const FunctionProtoType::ExtProtoInfo &EPI) const;
|
/external/clang/lib/AST/ |
D | ASTContext.cpp | 2089 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 …]
|
D | ASTDumper.cpp | 916 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/ |
D | Sema.h | 1155 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/ |
D | ASTReader.cpp | 5224 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 …]
|
D | ASTReaderDecl.cpp | 3272 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/ |
D | ASTReader.h | 1145 FunctionProtoType::ExtProtoInfo &EPI,
|
/external/bison/data/m4sugar/ |
D | m4sugar.m4 | 1902 # the PRO/EPI pairs.
|