Searched refs:IfStatementKind (Results 1 – 10 of 10) sorted by relevance
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | Specifiers.h | 36 enum class IfStatementKind : unsigned { enum
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | Stmt.h | 1986 IfStmt(const ASTContext &Ctx, SourceLocation IL, IfStatementKind Kind, 1996 IfStatementKind Kind, Stmt *Init, VarDecl *Var, 2114 return getStatementKind() == IfStatementKind::ConstevalNonNegated || in isConsteval() 2115 getStatementKind() == IfStatementKind::ConstevalNegated; in isConsteval() 2119 return getStatementKind() == IfStatementKind::ConstevalNonNegated; in isNonNegatedConsteval() 2123 return getStatementKind() == IfStatementKind::ConstevalNegated; in isNegatedConsteval() 2127 return getStatementKind() == IfStatementKind::Constexpr; in isConstexpr() 2130 void setStatementKind(IfStatementKind Kind) { in setStatementKind() 2134 IfStatementKind getStatementKind() const { in getStatementKind() 2135 return static_cast<IfStatementKind>(IfStmtBits.Kind); in getStatementKind()
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | BodyFarm.cpp | 495 IfStmt::Create(C, SourceLocation(), IfStatementKind::Ordinary, in create_call_once() 580 auto *If = IfStmt::Create(C, SourceLocation(), IfStatementKind::Ordinary, in create_dispatch_once() 690 IfStmt::Create(C, SourceLocation(), IfStatementKind::Ordinary, in create_OSAtomicCompareAndSwap()
|
| /llvm-project-15.0.7/clang/lib/Parse/ |
| H A D | ParseStmt.cpp | 1619 IfStatementKind Kind = IfStatementKind::Ordinary; in ParseIfStatement() 1621 Kind = IfStatementKind::Constexpr; in ParseIfStatement() 1623 Kind = NotLocation.isValid() ? IfStatementKind::ConstevalNegated in ParseIfStatement() 1624 : IfStatementKind::ConstevalNonNegated; in ParseIfStatement()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaStmt.cpp | 879 IfStatementKind StatementKind, in ActOnIfStmt() 888 StatementKind == IfStatementKind::ConstevalNonNegated || in ActOnIfStmt() 889 StatementKind == IfStatementKind::ConstevalNegated; in ActOnIfStmt() 903 StatementKind == IfStatementKind::Constexpr) { in ActOnIfStmt() 951 IfStatementKind StatementKind, in BuildIfStmt() 959 if (StatementKind != IfStatementKind::Ordinary || in BuildIfStmt()
|
| H A D | SemaDeclCXX.cpp | 8277 return S.ActOnIfStmt(Loc, IfStatementKind::Ordinary, Loc, nullptr, in buildIfNotCondReturnFalse() 8432 return S.ActOnIfStmt(Loc, IfStatementKind::Ordinary, Loc, InitStmt, Cond, in visitExpandedSubobject()
|
| H A D | TreeTransform.h | 1328 StmtResult RebuildIfStmt(SourceLocation IfLoc, IfStatementKind Kind, in RebuildIfStmt()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | Stmt.cpp | 921 IfStmt::IfStmt(const ASTContext &Ctx, SourceLocation IL, IfStatementKind Kind, in IfStmt() 956 IfStatementKind Kind, Stmt *Init, VarDecl *Var, in Create()
|
| /llvm-project-15.0.7/clang/lib/Serialization/ |
| H A D | ASTReaderStmt.cpp | 224 S->setStatementKind(static_cast<IfStatementKind>(Record.readInt())); in VisitIfStmt()
|
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | Sema.h | 4955 StmtResult ActOnIfStmt(SourceLocation IfLoc, IfStatementKind StatementKind, 4959 StmtResult BuildIfStmt(SourceLocation IfLoc, IfStatementKind StatementKind,
|