Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DStmt.cpp919 bool HasElse = Else != nullptr; in IfStmt() local
922 IfStmtBits.HasElse = HasElse; in IfStmt()
930 if (HasElse) in IfStmt()
938 if (HasElse) in IfStmt()
942 IfStmt::IfStmt(EmptyShell Empty, bool HasElse, bool HasVar, bool HasInit) in IfStmt() argument
944 IfStmtBits.HasElse = HasElse; in IfStmt()
953 bool HasElse = Else != nullptr; in Create() local
958 NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse), in Create()
964 IfStmt *IfStmt::CreateEmpty(const ASTContext &Ctx, bool HasElse, bool HasVar, in CreateEmpty() argument
968 NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse), in CreateEmpty()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DStmt.h167 unsigned HasElse : 1; in alignas() local
1958 explicit IfStmt(EmptyShell Empty, bool HasElse, bool HasVar, bool HasInit);
1970 static IfStmt *CreateEmpty(const ASTContext &Ctx, bool HasElse, bool HasVar,
1980 bool hasElseStorage() const { return IfStmtBits.HasElse; } in hasElseStorage()
/freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterStmt.cpp137 bool HasElse = S->getElse() != nullptr; in VisitIfStmt() local
142 Record.push_back(HasElse); in VisitIfStmt()
148 if (HasElse) in VisitIfStmt()
158 if (HasElse) in VisitIfStmt()
H A DASTReaderStmt.cpp217 bool HasElse = Record.readInt(); in VisitIfStmt() local
223 if (HasElse) in VisitIfStmt()
233 if (HasElse) in VisitIfStmt()