Home
last modified time | relevance | path

Searched refs:NoexceptExpr (Results 1 – 20 of 20) sorted by relevance

/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaExceptionSpec.cpp82 ExprResult Sema::ActOnNoexceptSpec(Expr *NoexceptExpr, in ActOnNoexceptSpec() argument
85 if (NoexceptExpr->isTypeDependent() || in ActOnNoexceptSpec()
86 NoexceptExpr->containsUnexpandedParameterPack()) { in ActOnNoexceptSpec()
88 return NoexceptExpr; in ActOnNoexceptSpec()
93 NoexceptExpr, Context.BoolTy, Result, CCEK_Noexcept); in ActOnNoexceptSpec()
99 CXXBoolLiteralExpr(false, Context.BoolTy, NoexceptExpr->getBeginLoc()); in ActOnNoexceptSpec()
H A DDeclSpec.cpp177 Expr *NoexceptExpr, in getFunction() argument
213 I.Fun.NoexceptExpr = nullptr; in getFunction()
273 I.Fun.NoexceptExpr = NoexceptExpr; in getFunction()
H A DSemaTemplateVariadic.cpp951 Chunk.Fun.NoexceptExpr->containsUnexpandedParameterPack()) in containsUnexpandedParameterPacks()
H A DTreeTransform.h6107 ExprResult NoexceptExpr = getDerived().TransformExpr(ESI.NoexceptExpr); in TransformExceptionSpec() local
6108 if (NoexceptExpr.isInvalid()) in TransformExceptionSpec()
6112 NoexceptExpr = in TransformExceptionSpec()
6113 getSema().ActOnNoexceptSpec(NoexceptExpr.get(), EST); in TransformExceptionSpec()
6114 if (NoexceptExpr.isInvalid()) in TransformExceptionSpec()
6117 if (ESI.NoexceptExpr != NoexceptExpr.get() || EST != ESI.Type) in TransformExceptionSpec()
6119 ESI.NoexceptExpr = NoexceptExpr.get(); in TransformExceptionSpec()
H A DSemaTemplateDeduction.cpp1796 Expr *NoexceptExpr = FPP->getNoexceptExpr(); in DeduceTemplateArgumentsByTypeMatch() local
1798 NoexceptExpr ? getDeducedParameterFromExpr(Info, NoexceptExpr) in DeduceTemplateArgumentsByTypeMatch()
H A DSemaDeclCXX.cpp18400 ArrayRef<SourceRange> DynamicExceptionRanges, Expr *NoexceptExpr, in checkExceptionSpecification() argument
18432 assert((NoexceptExpr->isTypeDependent() || in checkExceptionSpecification()
18433 NoexceptExpr->getType()->getCanonicalTypeUnqualified() == in checkExceptionSpecification()
18436 if (IsTopLevel && DiagnoseUnexpandedParameterPack(NoexceptExpr)) { in checkExceptionSpecification()
18441 ESI.NoexceptExpr = NoexceptExpr; in checkExceptionSpecification()
18451 Expr *NoexceptExpr) { in actOnDelayedExceptionSpecification() argument
18467 DynamicExceptionRanges, NoexceptExpr, Exceptions, in actOnDelayedExceptionSpecification()
H A DSemaType.cpp5520 Expr *NoexceptExpr = nullptr; in GetFullTypeForDeclarator() local
5533 NoexceptExpr = FTI.NoexceptExpr; in GetFullTypeForDeclarator()
5540 NoexceptExpr, in GetFullTypeForDeclarator()
/openbsd-src/gnu/llvm/clang/lib/Parse/
H A DParseCXXInlineMethods.cpp482 ExprResult NoexceptExpr; in ParseLexedMethodDeclaration() local
488 DynamicExceptionRanges, NoexceptExpr, in ParseLexedMethodDeclaration()
499 NoexceptExpr.isUsable()? in ParseLexedMethodDeclaration()
500 NoexceptExpr.get() : nullptr); in ParseLexedMethodDeclaration()
H A DParseDeclCXX.cpp3871 ExprResult &NoexceptExpr, CachedTokens *&ExceptionSpecTokens) { in tryParseExceptionSpecification() argument
3890 NoexceptExpr = nullptr; in tryParseExceptionSpecification()
3936 NoexceptExpr = ParseConstantExpression(); in tryParseExceptionSpecification()
3938 if (!NoexceptExpr.isInvalid()) { in tryParseExceptionSpecification()
3939 NoexceptExpr = in tryParseExceptionSpecification()
3940 Actions.ActOnNoexceptSpec(NoexceptExpr.get(), NoexceptType); in tryParseExceptionSpecification()
H A DParseExprCXX.cpp1401 ExprResult NoexceptExpr; in ParseLambdaExpressionAfterIntroducer() local
1405 DynamicExceptionRanges, NoexceptExpr, ExceptionSpecTokens); in ParseLambdaExpressionAfterIntroducer()
1444 NoexceptExpr.isUsable() ? NoexceptExpr.get() : nullptr, in ParseLambdaExpressionAfterIntroducer()
H A DParseDecl.cpp6853 ExprResult NoexceptExpr; in ParseFunctionDeclarator() local
6951 NoexceptExpr, in ParseFunctionDeclarator()
7000 NoexceptExpr.isUsable() ? NoexceptExpr.get() : nullptr, in ParseFunctionDeclarator()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DAbstractBasicWriter.h210 asImpl().writeExprRef(esi.NoexceptExpr); in writeExceptionSpecInfo()
H A DAbstractBasicReader.h229 esi.NoexceptExpr = asImpl().readExprRef(); in readExceptionSpecInfo()
H A DType.h4086 Expr *NoexceptExpr = nullptr;
4289 Result.NoexceptExpr = getNoexceptExpr();
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DType.cpp3262 assert(epi.ExceptionSpec.NoexceptExpr && "computed noexcept with no expr"); in FunctionProtoType()
3264 epi.ExceptionSpec.NoexceptExpr->isValueDependent()); in FunctionProtoType()
3267 *getTrailingObjects<Expr *>() = epi.ExceptionSpec.NoexceptExpr; in FunctionProtoType()
3270 toTypeDependence(epi.ExceptionSpec.NoexceptExpr->getDependence()) & in FunctionProtoType()
3424 epi.ExceptionSpec.NoexceptExpr->Profile(ID, Context, Canonical); in Profile()
H A DASTImporter.cpp1321 ToEPI.ExceptionSpec.NoexceptExpr = in VisitFunctionProtoType()
1322 importChecked(Err, FromEPI.ExceptionSpec.NoexceptExpr); in VisitFunctionProtoType()
3568 FromEPI.ExceptionSpec.NoexceptExpr) { in VisitFunctionDecl()
H A DASTContext.cpp4416 EPI.ExceptionSpec.NoexceptExpr == FPT->getNoexceptExpr()) in getFunctionTypeInternal()
/openbsd-src/gnu/llvm/clang/include/clang/Sema/
H A DDeclSpec.h1379 Expr *NoexceptExpr; member
1661 Expr *NoexceptExpr,
H A DSema.h6337 ESI.NoexceptExpr = Self->ActOnCXXBoolLiteral(SourceLocation(), in getExceptionSpec()
6350 ExprResult ActOnNoexceptSpec(Expr *NoexceptExpr,
6359 Expr *NoexceptExpr,
6375 Expr *NoexceptExpr);
/openbsd-src/gnu/llvm/clang/include/clang/Parse/
H A DParser.h1967 ExprResult &NoexceptExpr,