Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DStmt.cpp811 bool HasElse = Else != nullptr; in IfStmt() local
814 IfStmtBits.HasElse = HasElse; in IfStmt()
822 if (HasElse) in IfStmt()
830 if (HasElse) in IfStmt()
834 IfStmt::IfStmt(EmptyShell Empty, bool HasElse, bool HasVar, bool HasInit) in IfStmt() argument
836 IfStmtBits.HasElse = HasElse; in IfStmt()
844 bool HasElse = Else != nullptr; in Create() local
849 NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse), in Create()
855 IfStmt *IfStmt::CreateEmpty(const ASTContext &Ctx, bool HasElse, bool HasVar, in CreateEmpty() argument
859 NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse), in CreateEmpty()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DStmt.h163 unsigned HasElse : 1; in alignas() local
1739 explicit IfStmt(EmptyShell Empty, bool HasElse, bool HasVar, bool HasInit);
1750 static IfStmt *CreateEmpty(const ASTContext &Ctx, bool HasElse, bool HasVar,
1760 bool hasElseStorage() const { return IfStmtBits.HasElse; } in hasElseStorage()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DASTWriterStmt.cpp135 bool HasElse = S->getElse() != nullptr; in VisitIfStmt() local
140 Record.push_back(HasElse); in VisitIfStmt()
146 if (HasElse) in VisitIfStmt()
154 if (HasElse) in VisitIfStmt()
H A DASTReaderStmt.cpp223 bool HasElse = Record.readInt(); in VisitIfStmt() local
229 if (HasElse) in VisitIfStmt()
237 if (HasElse) in VisitIfStmt()