Home
last modified time | relevance | path

Searched refs:IfStatementKind (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DStmt.h191 LLVM_PREFERRED_TYPE(IfStatementKind)
2310 IfStmt(const ASTContext &Ctx, SourceLocation IL, IfStatementKind Kind,
2320 IfStatementKind Kind, Stmt *Init, VarDecl *Var,
2443 return getStatementKind() == IfStatementKind::ConstevalNonNegated ||
2444 getStatementKind() == IfStatementKind::ConstevalNegated;
2448 return getStatementKind() == IfStatementKind::ConstevalNonNegated;
2452 return getStatementKind() == IfStatementKind::ConstevalNegated;
2456 return getStatementKind() == IfStatementKind::Constexpr;
2459 void setStatementKind(IfStatementKind Kind) {
2463 IfStatementKind getStatementKind() const {
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DSpecifiers.h39 enum class IfStatementKind : unsigned { enum
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DBodyFarm.cpp496 IfStmt::Create(C, SourceLocation(), IfStatementKind::Ordinary, in create_call_once()
581 auto *If = IfStmt::Create(C, SourceLocation(), IfStatementKind::Ordinary, in create_dispatch_once()
691 IfStmt::Create(C, SourceLocation(), IfStatementKind::Ordinary, in create_OSAtomicCompareAndSwap()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseStmt.cpp1611 IfStatementKind Kind = IfStatementKind::Ordinary; in ParseIfStatement()
1613 Kind = IfStatementKind::Constexpr; in ParseIfStatement()
1615 Kind = NotLocation.isValid() ? IfStatementKind::ConstevalNegated in ParseIfStatement()
1616 : IfStatementKind::ConstevalNonNegated; in ParseIfStatement()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp961 IfStatementKind StatementKind, in ActOnIfStmt()
970 StatementKind == IfStatementKind::ConstevalNonNegated || in ActOnIfStmt()
971 StatementKind == IfStatementKind::ConstevalNegated; in ActOnIfStmt()
985 StatementKind == IfStatementKind::Constexpr) { in ActOnIfStmt()
1043 IfStatementKind StatementKind, in BuildIfStmt()
1051 if (StatementKind != IfStatementKind::Ordinary || in BuildIfStmt()
H A DSemaDeclCXX.cpp8664 return S.ActOnIfStmt(Loc, IfStatementKind::Ordinary, Loc, nullptr, in buildIfNotCondReturnFalse()
8819 return S.ActOnIfStmt(Loc, IfStatementKind::Ordinary, Loc, InitStmt, Cond, in visitExpandedSubobject()
H A DTreeTransform.h1409 StmtResult RebuildIfStmt(SourceLocation IfLoc, IfStatementKind Kind, in RebuildIfStmt()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DStmt.cpp968 IfStmt::IfStmt(const ASTContext &Ctx, SourceLocation IL, IfStatementKind Kind, in IfStmt()
1003 IfStatementKind Kind, Stmt *Init, VarDecl *Var, in Create()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h10928 StmtResult ActOnIfStmt(SourceLocation IfLoc, IfStatementKind StatementKind,
10932 StmtResult BuildIfStmt(SourceLocation IfLoc, IfStatementKind StatementKind,
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp224 S->setStatementKind(static_cast<IfStatementKind>(Record.readInt())); in VisitIfStmt()