Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DStmt.cpp914 bool HasVar = Var != nullptr; in IfStmt() local
917 IfStmtBits.HasVar = HasVar; in IfStmt()
926 if (HasVar) in IfStmt()
936 IfStmt::IfStmt(EmptyShell Empty, bool HasElse, bool HasVar, bool HasInit) in IfStmt() argument
939 IfStmtBits.HasVar = HasVar; in IfStmt()
948 bool HasVar = Var != nullptr; in Create() local
952 NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse), in Create()
958 IfStmt *IfStmt::CreateEmpty(const ASTContext &Ctx, bool HasElse, bool HasVar, in CreateEmpty() argument
962 NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse), in CreateEmpty()
964 return new (Mem) IfStmt(EmptyShell(), HasElse, HasVar, HasInit); in CreateEmpty()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DStmt.h170 unsigned HasVar : 1; variable
188 unsigned HasVar : 1; variable
206 unsigned HasVar : 1; variable
1958 explicit IfStmt(EmptyShell Empty, bool HasElse, bool HasVar, bool HasInit);
1970 static IfStmt *CreateEmpty(const ASTContext &Ctx, bool HasElse, bool HasVar,
1977 bool hasVarStorage() const { return IfStmtBits.HasVar; } in hasVarStorage()
2166 explicit SwitchStmt(EmptyShell Empty, bool HasInit, bool HasVar);
2177 bool HasVar);
2183 bool hasVarStorage() const { return SwitchStmtBits.HasVar; } in hasVarStorage()
2350 explicit WhileStmt(EmptyShell Empty, bool HasVar);
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/
H A DASTWriterStmt.cpp138 bool HasVar = S->getConditionVariableDeclStmt() != nullptr; in VisitIfStmt() local
143 Record.push_back(HasVar); in VisitIfStmt()
150 if (HasVar) in VisitIfStmt()
168 bool HasVar = S->getConditionVariableDeclStmt() != nullptr; in VisitSwitchStmt() local
170 Record.push_back(HasVar); in VisitSwitchStmt()
177 if (HasVar) in VisitSwitchStmt()
193 bool HasVar = S->getConditionVariableDeclStmt() != nullptr; in VisitWhileStmt() local
194 Record.push_back(HasVar); in VisitWhileStmt()
198 if (HasVar) in VisitWhileStmt()
H A DASTReaderStmt.cpp218 bool HasVar = Record.readInt(); in VisitIfStmt() local
225 if (HasVar) in VisitIfStmt()
241 bool HasVar = Record.readInt(); in VisitSwitchStmt() local
250 if (HasVar) in VisitSwitchStmt()
272 bool HasVar = Record.readInt(); in VisitWhileStmt() local
276 if (HasVar) in VisitWhileStmt()