Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DStmt.cpp972 bool HasElse = Else != nullptr; in IfStmt() local
975 IfStmtBits.HasElse = HasElse; in IfStmt()
983 if (HasElse) in IfStmt()
991 if (HasElse) in IfStmt()
995 IfStmt::IfStmt(EmptyShell Empty, bool HasElse, bool HasVar, bool HasInit) in IfStmt() argument
997 IfStmtBits.HasElse = HasElse; in IfStmt()
1006 bool HasElse = Else != nullptr; in Create() local
1011 NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse), in Create()
1017 IfStmt *IfStmt::CreateEmpty(const ASTContext &Ctx, bool HasElse, bool HasVar, in CreateEmpty() argument
1021 NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse), in CreateEmpty()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DStmt.h196 unsigned HasElse : 1;
2315 explicit IfStmt(EmptyShell Empty, bool HasElse, bool HasVar, bool HasInit);
2327 static IfStmt *CreateEmpty(const ASTContext &Ctx, bool HasElse, bool HasVar,
2337 bool hasElseStorage() const { return IfStmtBits.HasElse; }
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterStmt.cpp203 bool HasElse = S->getElse() != nullptr; in VisitIfStmt() local
209 CurrentPackingBits.addBit(HasElse); in VisitIfStmt()
215 if (HasElse) in VisitIfStmt()
225 if (HasElse) in VisitIfStmt()
H A DASTReaderStmt.cpp220 bool HasElse = CurrentUnpackingBits->getNextBit(); in VisitIfStmt() local
227 if (HasElse) in VisitIfStmt()
237 if (HasElse) in VisitIfStmt()
3083 bool HasElse = IfStmtBits.getNextBit(); in ReadStmtFromStream() local
3086 S = IfStmt::CreateEmpty(Context, HasElse, HasVar, HasInit); in ReadStmtFromStream()