Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/AST/
H A DStmt.cpp927 bool HasVar = Var != nullptr; in IfStmt() local
930 IfStmtBits.HasVar = HasVar; in IfStmt()
939 if (HasVar) in IfStmt()
949 IfStmt::IfStmt(EmptyShell Empty, bool HasElse, bool HasVar, bool HasInit) in IfStmt() argument
952 IfStmtBits.HasVar = HasVar; in IfStmt()
961 bool HasVar = Var != nullptr; in Create() local
965 NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse), in Create()
971 IfStmt *IfStmt::CreateEmpty(const ASTContext &Ctx, bool HasElse, bool HasVar, in CreateEmpty() argument
975 NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse), in CreateEmpty()
977 return new (Mem) IfStmt(EmptyShell(), HasElse, HasVar, HasInit); in CreateEmpty()
[all …]
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DStmt.h175 unsigned HasVar : 1; variable
193 unsigned HasVar : 1; variable
211 unsigned HasVar : 1; variable
2003 explicit IfStmt(EmptyShell Empty, bool HasElse, bool HasVar, bool HasInit);
2015 static IfStmt *CreateEmpty(const ASTContext &Ctx, bool HasElse, bool HasVar,
2022 bool hasVarStorage() const { return IfStmtBits.HasVar; } in hasVarStorage()
2239 explicit SwitchStmt(EmptyShell Empty, bool HasInit, bool HasVar);
2250 bool HasVar);
2256 bool hasVarStorage() const { return SwitchStmtBits.HasVar; } in hasVarStorage()
2423 explicit WhileStmt(EmptyShell Empty, bool HasVar);
[all …]
/openbsd-src/gnu/llvm/clang/lib/Serialization/
H A DASTWriterStmt.cpp141 bool HasVar = S->getConditionVariableDeclStmt() != nullptr; in VisitIfStmt() local
145 Record.push_back(HasVar); in VisitIfStmt()
152 if (HasVar) in VisitIfStmt()
170 bool HasVar = S->getConditionVariableDeclStmt() != nullptr; in VisitSwitchStmt() local
172 Record.push_back(HasVar); in VisitSwitchStmt()
179 if (HasVar) in VisitSwitchStmt()
195 bool HasVar = S->getConditionVariableDeclStmt() != nullptr; in VisitWhileStmt() local
196 Record.push_back(HasVar); in VisitWhileStmt()
200 if (HasVar) in VisitWhileStmt()
H A DASTReaderStmt.cpp222 bool HasVar = Record.readInt(); in VisitIfStmt() local
230 if (HasVar) in VisitIfStmt()
246 bool HasVar = Record.readInt(); in VisitSwitchStmt() local
255 if (HasVar) in VisitSwitchStmt()
277 bool HasVar = Record.readInt(); in VisitWhileStmt() local
281 if (HasVar) in VisitWhileStmt()