Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaExceptionSpec.cpp164 FunctionProtoType::ExtProtoInfo EPI = NewProto->getExtProtoInfo(); in CheckEquivalentExceptionSpec() local
165 EPI.ExceptionSpecType = EST_DynamicNone; in CheckEquivalentExceptionSpec()
169 EPI); in CheckEquivalentExceptionSpec()
178 FunctionProtoType::ExtProtoInfo EPI = NewProto->getExtProtoInfo(); in CheckEquivalentExceptionSpec() local
179 EPI.ExceptionSpecType = OldProto->getExceptionSpecType(); in CheckEquivalentExceptionSpec()
180 if (EPI.ExceptionSpecType == EST_Dynamic) { in CheckEquivalentExceptionSpec()
181 EPI.NumExceptions = OldProto->getNumExceptions(); in CheckEquivalentExceptionSpec()
182 EPI.Exceptions = OldProto->exception_begin(); in CheckEquivalentExceptionSpec()
183 } else if (EPI.ExceptionSpecType == EST_ComputedNoexcept) { in CheckEquivalentExceptionSpec()
193 EPI); in CheckEquivalentExceptionSpec()
DSemaTemplateInstantiateDecl.cpp2497 FunctionProtoType::ExtProtoInfo EPI = NewProto->getExtProtoInfo(); in InstantiateExceptionSpec() local
2498 EPI.ExceptionSpecType = Proto->getExceptionSpecType(); in InstantiateExceptionSpec()
2499 EPI.NumExceptions = Exceptions.size(); in InstantiateExceptionSpec()
2500 EPI.Exceptions = Exceptions.data(); in InstantiateExceptionSpec()
2501 EPI.NoexceptExpr = NoexceptExpr; in InstantiateExceptionSpec()
2506 EPI)); in InstantiateExceptionSpec()
2520 FunctionProtoType::ExtProtoInfo EPI = Proto->getExtProtoInfo(); in InstantiateExceptionSpec() local
2521 EPI.ExceptionSpecType = EST_None; in InstantiateExceptionSpec()
2525 EPI)); in InstantiateExceptionSpec()
2581 FunctionProtoType::ExtProtoInfo EPI = Proto->getExtProtoInfo(); in InitFunctionInstantiation() local
[all …]
DSemaType.cpp1532 FunctionProtoType::ExtProtoInfo EPI; in BuildFunctionType() local
1533 EPI.Variadic = Variadic; in BuildFunctionType()
1534 EPI.HasTrailingReturn = HasTrailingReturn; in BuildFunctionType()
1535 EPI.TypeQuals = Quals; in BuildFunctionType()
1536 EPI.RefQualifier = RefQualifier; in BuildFunctionType()
1537 EPI.ExtInfo = Info; in BuildFunctionType()
1539 return Context.getFunctionType(T, ParamTypes, NumParamTypes, EPI); in BuildFunctionType()
2455 FunctionProtoType::ExtProtoInfo EPI; in GetFullTypeForDeclarator() local
2456 EPI.Variadic = FTI.isVariadic; in GetFullTypeForDeclarator()
2457 EPI.HasTrailingReturn = FTI.hasTrailingReturnType(); in GetFullTypeForDeclarator()
[all …]
DSemaDeclCXX.cpp4017 FunctionProtoType::ExtProtoInfo EPI = FPT->getExtProtoInfo(); in updateExceptionSpec() local
4018 ExceptSpec.getEPI(EPI); in updateExceptionSpec()
4021 FPT->getNumArgs(), EPI)); in updateExceptionSpec()
4179 FunctionProtoType::ExtProtoInfo EPI = Type->getExtProtoInfo(); in CheckExplicitlyDefaultedSpecialMember() local
4180 computeImplicitExceptionSpec(*this, MD->getLocation(), MD).getEPI(EPI); in CheckExplicitlyDefaultedSpecialMember()
4182 Context.getFunctionType(ReturnType, &ArgType, ExpectedParams, EPI)); in CheckExplicitlyDefaultedSpecialMember()
5000 FunctionProtoType::ExtProtoInfo EPI = Proto->getExtProtoInfo(); in CheckConstructorDeclarator() local
5001 EPI.TypeQuals = 0; in CheckConstructorDeclarator()
5002 EPI.RefQualifier = RQ_None; in CheckConstructorDeclarator()
5005 Proto->getNumArgs(), EPI); in CheckConstructorDeclarator()
[all …]
DSemaLambda.cpp385 FunctionProtoType::ExtProtoInfo EPI; in ActOnStartOfLambdaDefinition() local
386 EPI.HasTrailingReturn = true; in ActOnStartOfLambdaDefinition()
387 EPI.TypeQuals |= DeclSpec::TQ_const; in ActOnStartOfLambdaDefinition()
389 /*Args=*/0, /*NumArgs=*/0, EPI); in ActOnStartOfLambdaDefinition()
DSemaLookup.cpp720 FunctionProtoType::ExtProtoInfo EPI = ConvProto->getExtProtoInfo(); in LookupDirect() local
721 EPI.ExtInfo = EPI.ExtInfo.withCallingConv(CC_Default); in LookupDirect()
722 EPI.ExceptionSpecType = EST_None; in LookupDirect()
723 EPI.NumExceptions = 0; in LookupDirect()
726 0, 0, EPI); in LookupDirect()
DSemaExprCXX.cpp1620 FunctionProtoType::ExtProtoInfo EPI; in FindAllocationFunctions() local
1621 EPI.Variadic = Proto->isVariadic(); in FindAllocationFunctions()
1625 ArgTypes.size(), EPI); in FindAllocationFunctions()
1915 FunctionProtoType::ExtProtoInfo EPI; in DeclareGlobalAllocationFunction() local
1918 EPI.ExceptionSpecType = EST_Dynamic; in DeclareGlobalAllocationFunction()
1919 EPI.NumExceptions = 1; in DeclareGlobalAllocationFunction()
1920 EPI.Exceptions = &BadAllocType; in DeclareGlobalAllocationFunction()
1923 EPI.ExceptionSpecType = getLangOpts().CPlusPlus0x ? in DeclareGlobalAllocationFunction()
1927 QualType FnType = Context.getFunctionType(Return, &Argument, 1, EPI); in DeclareGlobalAllocationFunction()
DSemaExpr.cpp9258 FunctionProtoType::ExtProtoInfo EPI; in ActOnBlockArguments() local
9259 EPI.HasTrailingReturn = false; in ActOnBlockArguments()
9260 EPI.TypeQuals |= DeclSpec::TQ_const; in ActOnBlockArguments()
9262 EPI); in ActOnBlockArguments()
9440 FunctionProtoType::ExtProtoInfo EPI; in ActOnBlockStmtExpr() local
9441 EPI.ExtInfo = Ext; in ActOnBlockStmtExpr()
9442 BlockTy = Context.getFunctionType(RetTy, 0, 0, EPI); in ActOnBlockStmtExpr()
9453 FunctionProtoType::ExtProtoInfo EPI = FPT->getExtProtoInfo(); in ActOnBlockStmtExpr() local
9454 EPI.TypeQuals = 0; // FIXME: silently? in ActOnBlockStmtExpr()
9455 EPI.ExtInfo = Ext; in ActOnBlockStmtExpr()
[all …]
DSemaDecl.cpp5157 FunctionProtoType::ExtProtoInfo EPI = FPT->getExtProtoInfo(); in ActOnFunctionDeclarator() local
5159 FPT->getNumArgs(), EPI); in ActOnFunctionDeclarator()
5814 FunctionProtoType::ExtProtoInfo EPI; in ActOnFunctionDeclarator() local
5815 EPI.Variadic = true; in ActOnFunctionDeclarator()
5816 EPI.ExtInfo = FT->getExtInfo(); in ActOnFunctionDeclarator()
5818 QualType R = Context.getFunctionType(FT->getResultType(), 0, 0, EPI); in ActOnFunctionDeclarator()
/external/clang/include/clang/AST/
DType.h2835 ExtProtoInfo EPI;
2836 EPI.ExtInfo = getExtInfo();
2837 EPI.Variadic = isVariadic();
2838 EPI.HasTrailingReturn = hasTrailingReturn();
2839 EPI.ExceptionSpecType = getExceptionSpecType();
2840 EPI.TypeQuals = static_cast<unsigned char>(getTypeQuals());
2841 EPI.RefQualifier = getRefQualifier();
2842 if (EPI.ExceptionSpecType == EST_Dynamic) {
2843 EPI.NumExceptions = NumExceptions;
2844 EPI.Exceptions = exception_begin();
[all …]
DASTContext.h924 const FunctionProtoType::ExtProtoInfo &EPI) const;
/external/clang/lib/AST/
DASTContext.cpp1829 FunctionProtoType::ExtProtoInfo EPI = FPT->getExtProtoInfo(); in adjustFunctionType() local
1830 EPI.ExtInfo = Info; in adjustFunctionType()
1832 FPT->getNumArgs(), EPI); in adjustFunctionType()
2492 const FunctionProtoType::ExtProtoInfo &EPI) const { in getFunctionType()
2496 FunctionProtoType::Profile(ID, ResultTy, ArgArray, NumArgs, EPI, *this); in getFunctionType()
2505 EPI.ExceptionSpecType == EST_None && ResultTy.isCanonical() && in getFunctionType()
2506 !EPI.HasTrailingReturn; in getFunctionType()
2511 const CallingConv DefaultCC = EPI.ExtInfo.getCC(); in getFunctionType()
2524 FunctionProtoType::ExtProtoInfo CanonicalEPI = EPI; in getFunctionType()
2551 if (EPI.ExceptionSpecType == EST_Dynamic) { in getFunctionType()
[all …]
DASTImporter.cpp1512 FunctionProtoType::ExtProtoInfo EPI = T->getExtProtoInfo(); in VisitFunctionProtoType() local
1513 EPI.Exceptions = ExceptionTypes.data(); in VisitFunctionProtoType()
1516 ArgTypes.size(), EPI); in VisitFunctionProtoType()
/external/clang/lib/Serialization/
DASTReader.cpp3877 FunctionProtoType::ExtProtoInfo EPI; in readTypeRecord() local
3878 EPI.ExtInfo = FunctionType::ExtInfo(/*noreturn*/ Record[1], in readTypeRecord()
3890 EPI.Variadic = Record[Idx++]; in readTypeRecord()
3891 EPI.HasTrailingReturn = Record[Idx++]; in readTypeRecord()
3892 EPI.TypeQuals = Record[Idx++]; in readTypeRecord()
3893 EPI.RefQualifier = static_cast<RefQualifierKind>(Record[Idx++]); in readTypeRecord()
3896 EPI.ExceptionSpecType = EST; in readTypeRecord()
3899 EPI.NumExceptions = Record[Idx++]; in readTypeRecord()
3900 for (unsigned I = 0; I != EPI.NumExceptions; ++I) in readTypeRecord()
3902 EPI.Exceptions = Exceptions.data(); in readTypeRecord()
[all …]
/external/clang/include/clang/Sema/
DSema.h3366 void getEPI(FunctionProtoType::ExtProtoInfo &EPI) const { in getEPI() argument
3367 EPI.ExceptionSpecType = getExceptionSpecType(); in getEPI()
3368 EPI.NumExceptions = size(); in getEPI()
3369 EPI.Exceptions = data(); in getEPI()
3372 FunctionProtoType::ExtProtoInfo EPI; in getEPI() local
3373 getEPI(EPI); in getEPI()
3374 return EPI; in getEPI()
3422 FunctionProtoType::ExtProtoInfo &EPI);
/external/bison/data/m4sugar/
Dm4sugar.m41142 # the PRO/EPI pairs.