Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DStmt.cpp928 bool HasVar = Var != nullptr; in IfStmt() local
931 IfStmtBits.HasVar = HasVar; in IfStmt()
940 if (HasVar) in IfStmt()
953 IfStmtBits.HasVar = HasVar; in IfStmt()
962 bool HasVar = Var != nullptr; in Create() local
1060 SwitchStmtBits.HasVar = HasVar; in SwitchStmt()
1067 if (HasVar) in SwitchStmt()
1076 SwitchStmtBits.HasVar = HasVar; in SwitchStmt()
1125 WhileStmtBits.HasVar = HasVar; in WhileStmt()
1129 if (HasVar) in WhileStmt()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DStmt.h198 unsigned HasVar : 1; in alignas()
220 unsigned HasVar : 1; in alignas()
241 unsigned HasVar : 1; in alignas()
2189 explicit IfStmt(EmptyShell Empty, bool HasElse, bool HasVar, bool HasInit);
2208 bool hasVarStorage() const { return IfStmtBits.HasVar; } in hasVarStorage()
2430 explicit SwitchStmt(EmptyShell Empty, bool HasInit, bool HasVar);
2441 bool HasVar);
2447 bool hasVarStorage() const { return SwitchStmtBits.HasVar; } in hasVarStorage()
2619 explicit WhileStmt(EmptyShell Empty, bool HasVar);
2629 static WhileStmt *CreateEmpty(const ASTContext &Ctx, bool HasVar);
[all …]
/freebsd-14.2/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.cpp225 bool HasVar = CurrentUnpackingBits->getNextBit(); in VisitIfStmt() local
233 if (HasVar) in VisitIfStmt()
249 bool HasVar = Record.readInt(); in VisitSwitchStmt() local
258 if (HasVar) in VisitSwitchStmt()
280 bool HasVar = Record.readInt(); in VisitWhileStmt() local
284 if (HasVar) in VisitWhileStmt()
2908 bool HasVar = IfStmtBits.getNextBit(); in ReadStmtFromStream() local
2910 S = IfStmt::CreateEmpty(Context, HasElse, HasVar, HasInit); in ReadStmtFromStream()