Searched refs:HasVar (Results 1 – 4 of 4) sorted by relevance
| /freebsd-12-stable/contrib/llvm-project/clang/lib/AST/ |
| D | Stmt.cpp | 920 bool HasVar = Var != nullptr; in IfStmt() local 923 IfStmtBits.HasVar = HasVar; in IfStmt() 932 if (HasVar) in IfStmt() 942 IfStmt::IfStmt(EmptyShell Empty, bool HasElse, bool HasVar, bool HasInit) in IfStmt() argument 945 IfStmtBits.HasVar = HasVar; in IfStmt() 954 bool HasVar = Var != nullptr; in Create() local 958 NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse), in Create() 964 IfStmt *IfStmt::CreateEmpty(const ASTContext &Ctx, bool HasElse, bool HasVar, in CreateEmpty() argument 968 NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse), in CreateEmpty() 970 return new (Mem) IfStmt(EmptyShell(), HasElse, HasVar, HasInit); in CreateEmpty() [all …]
|
| /freebsd-12-stable/contrib/llvm-project/clang/include/clang/AST/ |
| D | Stmt.h | 170 unsigned HasVar : 1; in alignas() local 188 unsigned HasVar : 1; in alignas() local 206 unsigned HasVar : 1; in alignas() local 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 …]
|
| /freebsd-12-stable/contrib/llvm-project/clang/lib/Serialization/ |
| D | ASTWriterStmt.cpp | 138 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()
|
| D | ASTReaderStmt.cpp | 218 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()
|