Home
last modified time | relevance | path

Searched refs:HasElse (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/clang/lib/AST/
H A DStmt.cpp925 bool HasElse = Else != nullptr; in IfStmt() local
928 IfStmtBits.HasElse = HasElse; in IfStmt()
936 if (HasElse) in IfStmt()
944 if (HasElse) in IfStmt()
948 IfStmt::IfStmt(EmptyShell Empty, bool HasElse, bool HasVar, bool HasInit) in IfStmt() argument
950 IfStmtBits.HasElse = HasElse; in IfStmt()
959 bool HasElse = Else != nullptr; in Create() local
964 NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse), in Create()
970 IfStmt *IfStmt::CreateEmpty(const ASTContext &Ctx, bool HasElse, bool HasVar, in CreateEmpty() argument
974 NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse), in CreateEmpty()
[all …]
/llvm-project-15.0.7/clang/include/clang/AST/
H A DStmt.h170 unsigned HasElse : 1; in alignas() local
1991 explicit IfStmt(EmptyShell Empty, bool HasElse, bool HasVar, bool HasInit);
2003 static IfStmt *CreateEmpty(const ASTContext &Ctx, bool HasElse, bool HasVar,
2013 bool hasElseStorage() const { return IfStmtBits.HasElse; } in hasElseStorage()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTWriterStmt.cpp140 bool HasElse = S->getElse() != nullptr; in VisitIfStmt() local
144 Record.push_back(HasElse); in VisitIfStmt()
150 if (HasElse) in VisitIfStmt()
160 if (HasElse) in VisitIfStmt()
H A DASTReaderStmt.cpp220 bool HasElse = Record.readInt(); in VisitIfStmt() local
227 if (HasElse) in VisitIfStmt()
237 if (HasElse) in VisitIfStmt()