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.cpp928 bool HasElse = Else != nullptr; in IfStmt() local
931 IfStmtBits.HasElse = HasElse; in IfStmt()
939 if (HasElse) in IfStmt()
947 if (HasElse) in IfStmt()
951 IfStmt::IfStmt(EmptyShell Empty, bool HasElse, bool HasVar, bool HasInit) in IfStmt() argument
953 IfStmtBits.HasElse = HasElse; in IfStmt()
962 bool HasElse = Else != nullptr; in Create() local
967 NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse), in Create()
973 IfStmt *IfStmt::CreateEmpty(const ASTContext &Ctx, bool HasElse, bool HasVar, in CreateEmpty() argument
977 NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse), in CreateEmpty()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DStmt.h194 unsigned HasElse : 1;
2196 explicit IfStmt(EmptyShell Empty, bool HasElse, bool HasVar, bool HasInit);
2208 static IfStmt *CreateEmpty(const ASTContext &Ctx, bool HasElse, bool HasVar,
2218 bool hasElseStorage() const { return IfStmtBits.HasElse; }
/freebsd/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()
2964 bool HasElse = IfStmtBits.getNextBit(); in ReadStmtFromStream() local
2967 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()