Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/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.cpp975 Chunk.Fun.NoexceptExpr->containsUnexpandedParameterPack()) in containsUnexpandedParameterPacks()
H A DTreeTransform.h6359 ExprResult NoexceptExpr = getDerived().TransformExpr(ESI.NoexceptExpr); in TransformExceptionSpec() local
6360 if (NoexceptExpr.isInvalid()) in TransformExceptionSpec()
6364 NoexceptExpr = in TransformExceptionSpec()
6365 getSema().ActOnNoexceptSpec(NoexceptExpr.get(), EST); in TransformExceptionSpec()
6366 if (NoexceptExpr.isInvalid()) in TransformExceptionSpec()
6369 if (ESI.NoexceptExpr != NoexceptExpr.get() || EST != ESI.Type) in TransformExceptionSpec()
6371 ESI.NoexceptExpr = NoexceptExpr.get(); in TransformExceptionSpec()
H A DSemaTemplateDeduction.cpp1965 Expr *NoexceptExpr = FPP->getNoexceptExpr(); in DeduceTemplateArgumentsByTypeMatch() local
1967 NoexceptExpr ? getDeducedParameterFromExpr(Info, NoexceptExpr) in DeduceTemplateArgumentsByTypeMatch()
H A DSemaDeclCXX.cpp18859 ArrayRef<SourceRange> DynamicExceptionRanges, Expr *NoexceptExpr, in checkExceptionSpecification() argument
18891 assert((NoexceptExpr->isTypeDependent() || in checkExceptionSpecification()
18892 NoexceptExpr->getType()->getCanonicalTypeUnqualified() == in checkExceptionSpecification()
18895 if (IsTopLevel && DiagnoseUnexpandedParameterPack(NoexceptExpr)) { in checkExceptionSpecification()
18900 ESI.NoexceptExpr = NoexceptExpr; in checkExceptionSpecification()
18908 ArrayRef<SourceRange> DynamicExceptionRanges, Expr *NoexceptExpr) { in actOnDelayedExceptionSpecification() argument
18924 DynamicExceptionRanges, NoexceptExpr, Exceptions, in actOnDelayedExceptionSpecification()
H A DSemaType.cpp5215 Expr *NoexceptExpr = nullptr; in GetFullTypeForDeclarator() local
5228 NoexceptExpr = FTI.NoexceptExpr; in GetFullTypeForDeclarator()
5235 NoexceptExpr, in GetFullTypeForDeclarator()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseCXXInlineMethods.cpp546 ExprResult NoexceptExpr; in ParseLexedMethodDeclaration() local
552 DynamicExceptionRanges, NoexceptExpr, in ParseLexedMethodDeclaration()
563 NoexceptExpr.isUsable()? in ParseLexedMethodDeclaration()
564 NoexceptExpr.get() : nullptr); in ParseLexedMethodDeclaration()
H A DParseDeclCXX.cpp4117 ExprResult &NoexceptExpr, CachedTokens *&ExceptionSpecTokens) { in tryParseExceptionSpecification() argument
4136 NoexceptExpr = nullptr; in tryParseExceptionSpecification()
4185 NoexceptExpr = ParseConstantExpressionInExprEvalContext(); in tryParseExceptionSpecification()
4188 if (!NoexceptExpr.isInvalid()) { in tryParseExceptionSpecification()
4189 NoexceptExpr = in tryParseExceptionSpecification()
4190 Actions.ActOnNoexceptSpec(NoexceptExpr.get(), NoexceptType); in tryParseExceptionSpecification()
H A DParseExprCXX.cpp1534 ExprResult NoexceptExpr; in ParseLambdaExpressionAfterIntroducer() local
1539 DynamicExceptionRanges, NoexceptExpr, ExceptionSpecTokens); in ParseLambdaExpressionAfterIntroducer()
1577 NoexceptExpr.isUsable() ? NoexceptExpr.get() : nullptr, in ParseLambdaExpressionAfterIntroducer()
H A DParseDecl.cpp7515 ExprResult NoexceptExpr; in ParseFunctionDeclarator() local
7621 NoexceptExpr, in ParseFunctionDeclarator()
7679 NoexceptExpr.isUsable() ? NoexceptExpr.get() : nullptr, in ParseFunctionDeclarator()
/freebsd/contrib/llvm-project/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.h5038 Expr *NoexceptExpr = nullptr;
5285 Result.NoexceptExpr = getNoexceptExpr();
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DType.cpp3520 NoexceptExpr = in instantiate()
3596 assert(epi.ExceptionSpec.NoexceptExpr && "computed noexcept with no expr"); in FunctionProtoType()
3598 epi.ExceptionSpec.NoexceptExpr->isValueDependent()); in FunctionProtoType()
3601 *getTrailingObjects<Expr *>() = epi.ExceptionSpec.NoexceptExpr; in FunctionProtoType()
3604 toTypeDependence(epi.ExceptionSpec.NoexceptExpr->getDependence()) & in FunctionProtoType()
3790 epi.ExceptionSpec.NoexceptExpr->Profile(ID, Context, Canonical); in Profile()
H A DTextNodeDumper.cpp1950 if (EPI.ExceptionSpec.NoexceptExpr) { in VisitFunctionProtoType()
1953 Visit(EPI.ExceptionSpec.NoexceptExpr); in VisitFunctionProtoType()
H A DASTImporter.cpp1351 ToEPI.ExceptionSpec.NoexceptExpr = in VisitFunctionProtoType()
1352 importChecked(Err, FromEPI.ExceptionSpec.NoexceptExpr); in VisitFunctionProtoType()
3849 FromEPI.ExceptionSpec.NoexceptExpr) { in VisitFunctionDecl()
H A DASTContext.cpp4804 EPI.ExceptionSpec.NoexceptExpr == FPT->getNoexceptExpr()) in getFunctionTypeInternal()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DDeclSpec.h1441 Expr *NoexceptExpr; member
1725 Expr *NoexceptExpr,
H A DSema.h5049 ESI.NoexceptExpr = in getExceptionSpec()
5066 Expr *NoexceptExpr,
5076 ArrayRef<SourceRange> DynamicExceptionRanges, Expr *NoexceptExpr);
6138 ExprResult ActOnNoexceptSpec(Expr *NoexceptExpr,
/freebsd/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h2048 ExprResult &NoexceptExpr,