Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DStmt.cpp927 bool HasElse = Else != nullptr; in IfStmt() local
930 IfStmtBits.HasElse = HasElse; in IfStmt()
938 if (HasElse) in IfStmt()
946 if (HasElse) in IfStmt()
950 IfStmt::IfStmt(EmptyShell Empty, bool HasElse, bool HasVar, bool HasInit) in IfStmt() argument
952 IfStmtBits.HasElse = HasElse; in IfStmt()
961 bool HasElse = Else != nullptr; in Create() local
966 NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse), in Create()
972 IfStmt *IfStmt::CreateEmpty(const ASTContext &Ctx, bool HasElse, bool HasVar, in CreateEmpty() argument
976 NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse), in CreateEmpty()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DStmt.h194 unsigned HasElse : 1; in alignas()
2189 explicit IfStmt(EmptyShell Empty, bool HasElse, bool HasVar, bool HasInit);
2201 static IfStmt *CreateEmpty(const ASTContext &Ctx, bool HasElse, bool HasVar,
2211 bool hasElseStorage() const { return IfStmtBits.HasElse; } in hasElseStorage()
/freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp224 bool HasElse = CurrentUnpackingBits->getNextBit(); in VisitIfStmt() local
231 if (HasElse) in VisitIfStmt()
241 if (HasElse) in VisitIfStmt()
2907 bool HasElse = IfStmtBits.getNextBit(); in ReadStmtFromStream() local
2910 S = IfStmt::CreateEmpty(Context, HasElse, HasVar, HasInit); in ReadStmtFromStream()
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()