Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DStmt.h189 LLVM_PREFERRED_TYPE(IfStatementKind)
2191 IfStmt(const ASTContext &Ctx, SourceLocation IL, IfStatementKind Kind,
2201 IfStatementKind Kind, Stmt *Init, VarDecl *Var,
2324 return getStatementKind() == IfStatementKind::ConstevalNonNegated ||
2325 getStatementKind() == IfStatementKind::ConstevalNegated;
2329 return getStatementKind() == IfStatementKind::ConstevalNonNegated;
2333 return getStatementKind() == IfStatementKind::ConstevalNegated;
2337 return getStatementKind() == IfStatementKind::Constexpr;
2340 void setStatementKind(IfStatementKind Kind) {
2344 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/Parse/
H A DParseStmt.cpp1708 IfStatementKind Kind = IfStatementKind::Ordinary; in ParseIfStatement()
1710 Kind = IfStatementKind::Constexpr; in ParseIfStatement()
1712 Kind = NotLocation.isValid() ? IfStatementKind::ConstevalNegated in ParseIfStatement()
1713 : IfStatementKind::ConstevalNonNegated; in ParseIfStatement()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp909 IfStatementKind StatementKind, in ActOnIfStmt()
918 StatementKind == IfStatementKind::ConstevalNonNegated || in ActOnIfStmt()
919 StatementKind == IfStatementKind::ConstevalNegated; in ActOnIfStmt()
933 StatementKind == IfStatementKind::Constexpr) { in ActOnIfStmt()
982 IfStatementKind StatementKind, in BuildIfStmt()
990 if (StatementKind != IfStatementKind::Ordinary || in BuildIfStmt()
H A DSemaDeclCXX.cpp8485 return S.ActOnIfStmt(Loc, IfStatementKind::Ordinary, Loc, nullptr, in buildIfNotCondReturnFalse()
8640 return S.ActOnIfStmt(Loc, IfStatementKind::Ordinary, Loc, InitStmt, Cond, in visitExpandedSubobject()
H A DTreeTransform.h1415 StmtResult RebuildIfStmt(SourceLocation IfLoc, IfStatementKind Kind, in RebuildIfStmt()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DStmt.cpp924 IfStmt::IfStmt(const ASTContext &Ctx, SourceLocation IL, IfStatementKind Kind, in IfStmt()
959 IfStatementKind Kind, Stmt *Init, VarDecl *Var, in Create()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h10713 StmtResult ActOnIfStmt(SourceLocation IfLoc, IfStatementKind StatementKind,
10717 StmtResult BuildIfStmt(SourceLocation IfLoc, IfStatementKind StatementKind,
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp228 S->setStatementKind(static_cast<IfStatementKind>(Record.readInt())); in VisitIfStmt()