Searched refs:HasVar (Results 1 – 4 of 4) sorted by relevance
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | Stmt.cpp | 929 bool HasVar = Var != nullptr; in IfStmt() local 932 IfStmtBits.HasVar = HasVar; in IfStmt() 941 if (HasVar) in IfStmt() 951 IfStmt::IfStmt(EmptyShell Empty, bool HasElse, bool HasVar, bool HasInit) in IfStmt() argument 954 IfStmtBits.HasVar = HasVar; in IfStmt() 963 bool HasVar = Var != nullptr; in Create() local 967 NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse), in Create() 973 IfStmt *IfStmt::CreateEmpty(const ASTContext &Ctx, bool HasElse, bool HasVar, in CreateEmpty() argument 977 NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse), in CreateEmpty() 979 return new (Mem) IfStmt(EmptyShell(), HasElse, HasVar, HasInit); in CreateEmpty() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | Stmt.h | 198 unsigned HasVar : 1; 220 unsigned HasVar : 1; 241 unsigned HasVar : 1; 2196 explicit IfStmt(EmptyShell Empty, bool HasElse, bool HasVar, bool HasInit); 2208 static IfStmt *CreateEmpty(const ASTContext &Ctx, bool HasElse, bool HasVar, 2215 bool hasVarStorage() const { return IfStmtBits.HasVar; } 2437 explicit SwitchStmt(EmptyShell Empty, bool HasInit, bool HasVar); 2448 bool HasVar); 2454 bool hasVarStorage() const { return SwitchStmtBits.HasVar; } 2626 explicit WhileStmt(EmptyShell Empty, bool HasVar); [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTWriterStmt.cpp | 204 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 D | ASTReaderStmt.cpp | 225 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() 2965 bool HasVar = IfStmtBits.getNextBit(); in ReadStmtFromStream() local 2967 S = IfStmt::CreateEmpty(Context, HasElse, HasVar, HasInit); in ReadStmtFromStream()
|