Home
last modified time | relevance | path

Searched refs:IsConstexpr (Results 1 – 12 of 12) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DStmt.cpp909 IfStmt::IfStmt(const ASTContext &Ctx, SourceLocation IL, bool IsConstexpr, in IfStmt() argument
920 setConstexpr(IsConstexpr); in IfStmt()
944 bool IsConstexpr, Stmt *Init, VarDecl *Var, Expr *Cond, in Create() argument
955 IfStmt(Ctx, IL, IsConstexpr, Init, Var, Cond, LPL, RPL, Then, EL, Else); in Create()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Parse/
H A DParseStmt.cpp1341 bool IsConstexpr = false; in ParseIfStatement() local
1345 IsConstexpr = true; in ParseIfStatement()
1377 IsConstexpr ? Sema::ConditionKind::ConstexprIf in ParseIfStatement()
1383 if (IsConstexpr) in ParseIfStatement()
1492 return Actions.ActOnIfStmt(IfLoc, IsConstexpr, LParen, InitStmt.get(), Cond, in ParseIfStatement()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DStmt.h164 unsigned IsConstexpr : 1; variable
1953 IfStmt(const ASTContext &Ctx, SourceLocation IL, bool IsConstexpr, Stmt *Init,
1963 bool IsConstexpr, Stmt *Init, VarDecl *Var, Expr *Cond,
2080 bool isConstexpr() const { return IfStmtBits.IsConstexpr; } in isConstexpr()
2081 void setConstexpr(bool C) { IfStmtBits.IsConstexpr = C; } in setConstexpr()
H A DDecl.h992 unsigned IsConstexpr : 1; variable
1452 return isa<ParmVarDecl>(this) ? false : NonParmVarDeclBits.IsConstexpr; in isConstexpr()
1456 NonParmVarDeclBits.IsConstexpr = IC; in setConstexpr()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaStmt.cpp861 StmtResult Sema::ActOnIfStmt(SourceLocation IfLoc, bool IsConstexpr, in ActOnIfStmt() argument
884 if (IsConstexpr) { in ActOnIfStmt()
911 return BuildIfStmt(IfLoc, IsConstexpr, LParenLoc, InitStmt, Cond, RParenLoc, in ActOnIfStmt()
915 StmtResult Sema::BuildIfStmt(SourceLocation IfLoc, bool IsConstexpr, in BuildIfStmt() argument
923 if (IsConstexpr || isa<ObjCAvailabilityCheckExpr>(Cond.get().second)) in BuildIfStmt()
926 return IfStmt::Create(Context, IfLoc, IsConstexpr, InitStmt, Cond.get().first, in BuildIfStmt()
H A DSemaExprCXX.cpp3895 ExprResult Sema::CheckCXXBooleanCondition(Expr *CondExpr, bool IsConstexpr) { in CheckCXXBooleanCondition() argument
3906 return (IsConstexpr && !CondExpr->isValueDependent()) in CheckCXXBooleanCondition()
8417 bool IsConstexpr) { in ActOnFinishFullExpr() argument
8451 CheckCompletedExpr(FullExpr.get(), CC, IsConstexpr); in ActOnFinishFullExpr()
H A DSemaChecking.cpp14071 bool IsConstexpr) { in CheckCompletedExpr() argument
14073 isConstantEvaluatedOverride, IsConstexpr || isa<ConstantExpr>(E)); in CheckCompletedExpr()
14077 if (!IsConstexpr && !E->isValueDependent()) in CheckCompletedExpr()
H A DTreeTransform.h1323 StmtResult RebuildIfStmt(SourceLocation IfLoc, bool IsConstexpr, in RebuildIfStmt() argument
1327 return getSema().ActOnIfStmt(IfLoc, IsConstexpr, LParenLoc, Init, Cond, in RebuildIfStmt()
H A DSemaExpr.cpp18889 bool IsConstexpr) { in CheckBooleanCondition() argument
18900 return CheckCXXBooleanCondition(E, IsConstexpr); // C++ 6.4p4 in CheckBooleanCondition()
H A DSemaOpenMP.cpp6644 bool IsConstexpr = in ActOnStartOfFunctionDefinitionInOpenMPDeclareVariantScope() local
6661 if (UDecl->isConstexpr() && !IsConstexpr) in ActOnStartOfFunctionDefinitionInOpenMPDeclareVariantScope()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DSema.h4662 StmtResult ActOnIfStmt(SourceLocation IfLoc, bool IsConstexpr,
4666 StmtResult BuildIfStmt(SourceLocation IfLoc, bool IsConstexpr,
6367 bool DiscardedValue, bool IsConstexpr = false);
11805 bool IsConstexpr) in ConditionResult() argument
11807 HasKnownValue(IsConstexpr && Condition.get() && in ConditionResult()
11859 bool IsConstexpr = false);
11878 ExprResult CheckCXXBooleanCondition(Expr *CondExpr, bool IsConstexpr = false);
12605 bool IsConstexpr = false);
/netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/
H A DASTReaderDecl.cpp1428 VD->NonParmVarDeclBits.IsConstexpr = Record.readInt(); in VisitVarDeclImpl()