/external/clang/lib/Parse/ |
D | ParseStmt.cpp | 1113 bool IsConstexpr = false; in ParseIfStatement() local 1117 IsConstexpr = true; in ParseIfStatement() 1147 IsConstexpr ? Sema::ConditionKind::ConstexprIf in ParseIfStatement() 1152 if (IsConstexpr) in ParseIfStatement() 1247 return Actions.ActOnIfStmt(IfLoc, IsConstexpr, InitStmt.get(), Cond, in ParseIfStatement()
|
/external/clang/include/clang/AST/ |
D | Decl.h | 892 unsigned IsConstexpr : 1; variable 1277 return isa<ParmVarDecl>(this) ? false : NonParmVarDeclBits.IsConstexpr; in isConstexpr() 1281 NonParmVarDeclBits.IsConstexpr = IC; in setConstexpr() 1601 unsigned IsConstexpr : 1; variable 1694 IsConstexpr(isConstexprSpecified), UsesSEHTry(false), in FunctionDecl() 1883 bool isConstexpr() const { return IsConstexpr; } in isConstexpr() 1884 void setConstexpr(bool IC) { IsConstexpr = IC; } in setConstexpr()
|
D | Stmt.h | 100 unsigned IsConstexpr : 1; in LLVM_ALIGNAS() local 890 bool IsConstexpr, Stmt *init, VarDecl *var, Expr *cond, 933 bool isConstexpr() const { return IfStmtBits.IsConstexpr; } in isConstexpr() 934 void setConstexpr(bool C) { IfStmtBits.IsConstexpr = C; } in setConstexpr()
|
/external/clang/lib/AST/ |
D | Stmt.cpp | 766 IfStmt::IfStmt(const ASTContext &C, SourceLocation IL, bool IsConstexpr, in IfStmt() argument 770 setConstexpr(IsConstexpr); in IfStmt()
|
/external/clang/lib/Sema/ |
D | SemaStmt.cpp | 507 Sema::ActOnIfStmt(SourceLocation IfLoc, bool IsConstexpr, Stmt *InitStmt, in ActOnIfStmt() argument 528 return BuildIfStmt(IfLoc, IsConstexpr, InitStmt, Cond, thenStmt, ElseLoc, in ActOnIfStmt() 532 StmtResult Sema::BuildIfStmt(SourceLocation IfLoc, bool IsConstexpr, in BuildIfStmt() argument 539 if (IsConstexpr) in BuildIfStmt() 546 IfStmt(Context, IfLoc, IsConstexpr, InitStmt, Cond.get().first, in BuildIfStmt()
|
D | SemaExprCXX.cpp | 3118 ExprResult Sema::CheckCXXBooleanCondition(Expr *CondExpr, bool IsConstexpr) { in CheckCXXBooleanCondition() argument 3129 return (IsConstexpr && !CondExpr->isValueDependent()) in CheckCXXBooleanCondition() 6980 bool IsConstexpr, in ActOnFinishFullExpr() argument 7028 CheckCompletedExpr(FullExpr.get(), CC, IsConstexpr); in ActOnFinishFullExpr()
|
D | SemaChecking.cpp | 9369 bool IsConstexpr) { in CheckCompletedExpr() argument 9372 if (!IsConstexpr && !E->isValueDependent()) in CheckCompletedExpr()
|
D | TreeTransform.h | 1176 StmtResult RebuildIfStmt(SourceLocation IfLoc, bool IsConstexpr, in RebuildIfStmt() argument 1179 return getSema().ActOnIfStmt(IfLoc, IsConstexpr, Init, Cond, Then, in RebuildIfStmt()
|
D | SemaExpr.cpp | 14372 bool IsConstexpr) { in CheckBooleanCondition() argument 14383 return CheckCXXBooleanCondition(E, IsConstexpr); // C++ 6.4p4 in CheckBooleanCondition()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 3399 StmtResult ActOnIfStmt(SourceLocation IfLoc, bool IsConstexpr, 3403 StmtResult BuildIfStmt(SourceLocation IfLoc, bool IsConstexpr, 4904 bool IsConstexpr = false, 8980 bool IsConstexpr) in ConditionResult() argument 8982 HasKnownValue(IsConstexpr && Condition.get() && in ConditionResult() 9034 bool IsConstexpr = false); 9045 ExprResult CheckCXXBooleanCondition(Expr *CondExpr, bool IsConstexpr = false); 9469 bool IsConstexpr = false);
|
/external/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 776 FD->IsConstexpr = Record[Idx++]; in VisitFunctionDecl() 1223 VD->NonParmVarDeclBits.IsConstexpr = Record[Idx++]; in VisitVarDeclImpl()
|
D | ASTWriterDecl.cpp | 528 Record.push_back(D->IsConstexpr); in VisitFunctionDecl()
|