Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/AST/
H A DStmt.cpp926 bool HasVar = Var != nullptr; in IfStmt() local
929 IfStmtBits.HasVar = HasVar; in IfStmt()
938 if (HasVar) in IfStmt()
951 IfStmtBits.HasVar = HasVar; in IfStmt()
960 bool HasVar = Var != nullptr; in Create() local
1058 SwitchStmtBits.HasVar = HasVar; in SwitchStmt()
1065 if (HasVar) in SwitchStmt()
1074 SwitchStmtBits.HasVar = HasVar; in SwitchStmt()
1123 WhileStmtBits.HasVar = HasVar; in WhileStmt()
1127 if (HasVar) in WhileStmt()
[all …]
/llvm-project-15.0.7/clang/include/clang/AST/
H A DStmt.h173 unsigned HasVar : 1; in alignas() local
191 unsigned HasVar : 1; in alignas() local
209 unsigned HasVar : 1; in alignas() local
1991 explicit IfStmt(EmptyShell Empty, bool HasElse, bool HasVar, bool HasInit);
2010 bool hasVarStorage() const { return IfStmtBits.HasVar; } in hasVarStorage()
2227 explicit SwitchStmt(EmptyShell Empty, bool HasInit, bool HasVar);
2238 bool HasVar);
2244 bool hasVarStorage() const { return SwitchStmtBits.HasVar; } in hasVarStorage()
2411 explicit WhileStmt(EmptyShell Empty, bool HasVar);
2421 static WhileStmt *CreateEmpty(const ASTContext &Ctx, bool HasVar);
[all …]
/llvm-project-15.0.7/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.cpp221 bool HasVar = Record.readInt(); 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()