Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DStmt.cpp973 bool HasVar = Var != nullptr; in IfStmt() local
976 IfStmtBits.HasVar = HasVar; in IfStmt()
985 if (HasVar) in IfStmt()
995 IfStmt::IfStmt(EmptyShell Empty, bool HasElse, bool HasVar, bool HasInit) in IfStmt() argument
998 IfStmtBits.HasVar = HasVar; in IfStmt()
1007 bool HasVar = Var != nullptr; in Create() local
1011 NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse), in Create()
1017 IfStmt *IfStmt::CreateEmpty(const ASTContext &Ctx, bool HasElse, bool HasVar, in CreateEmpty() argument
1021 NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse), in CreateEmpty()
1023 return new (Mem) IfStmt(EmptyShell(), HasElse, HasVar, HasInit); in CreateEmpty()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DStmt.h200 unsigned HasVar : 1;
222 unsigned HasVar : 1;
243 unsigned HasVar : 1;
2315 explicit IfStmt(EmptyShell Empty, bool HasElse, bool HasVar, bool HasInit);
2327 static IfStmt *CreateEmpty(const ASTContext &Ctx, bool HasElse, bool HasVar,
2334 bool hasVarStorage() const { return IfStmtBits.HasVar; }
2556 explicit SwitchStmt(EmptyShell Empty, bool HasInit, bool HasVar);
2567 bool HasVar);
2573 bool hasVarStorage() const { return SwitchStmtBits.HasVar; }
2737 explicit WhileStmt(EmptyShell Empty, bool HasVar);
[all …]
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterStmt.cpp204 bool HasVar = S->getConditionVariableDeclStmt() != nullptr; in VisitIfStmt() local
210 CurrentPackingBits.addBit(HasVar); in VisitIfStmt()
217 if (HasVar) in VisitIfStmt()
235 bool HasVar = S->getConditionVariableDeclStmt() != nullptr; in VisitSwitchStmt() local
237 Record.push_back(HasVar); in VisitSwitchStmt()
244 if (HasVar) in VisitSwitchStmt()
260 bool HasVar = S->getConditionVariableDeclStmt() != nullptr; in VisitWhileStmt() local
261 Record.push_back(HasVar); in VisitWhileStmt()
265 if (HasVar) in VisitWhileStmt()
H A DASTReaderStmt.cpp221 bool HasVar = CurrentUnpackingBits->getNextBit(); in VisitIfStmt() local
229 if (HasVar) in VisitIfStmt()
245 bool HasVar = Record.readInt(); in VisitSwitchStmt() local
254 if (HasVar) in VisitSwitchStmt()
276 bool HasVar = Record.readInt(); in VisitWhileStmt() local
280 if (HasVar) in VisitWhileStmt()
3084 bool HasVar = IfStmtBits.getNextBit(); in ReadStmtFromStream() local
3086 S = IfStmt::CreateEmpty(Context, HasElse, HasVar, HasInit); in ReadStmtFromStream()