Searched refs:HasInit (Results 1 – 8 of 8) sorted by relevance
| /openbsd-src/gnu/llvm/clang/lib/AST/ |
| H A D | Stmt.cpp | 928 bool HasInit = Init != nullptr; in IfStmt() local 931 IfStmtBits.HasInit = HasInit; in IfStmt() 941 if (HasInit) in IfStmt() 949 IfStmt::IfStmt(EmptyShell Empty, bool HasElse, bool HasVar, bool HasInit) in IfStmt() argument 953 IfStmtBits.HasInit = HasInit; in IfStmt() 962 bool HasInit = Init != nullptr; in Create() local 965 NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse), in Create() 972 bool HasInit) { in CreateEmpty() argument 975 NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse), in CreateEmpty() 977 return new (Mem) IfStmt(EmptyShell(), HasElse, HasVar, HasInit); in CreateEmpty() [all …]
|
| H A D | ODRHash.cpp | 307 const bool HasInit = D->hasInit(); in VisitVarDecl() local 308 Hash.AddBoolean(HasInit); in VisitVarDecl() 309 if (HasInit) { in VisitVarDecl()
|
| H A D | ExprCXX.cpp | 253 bool HasInit = Initializer != nullptr; in Create() local 258 IsArray + HasInit + NumPlacementArgs, IsParenTypeId), in Create() 268 bool HasInit, unsigned NumPlacementArgs, in CreateEmpty() argument 272 IsArray + HasInit + NumPlacementArgs, IsParenTypeId), in CreateEmpty()
|
| /openbsd-src/gnu/llvm/clang/include/clang/AST/ |
| H A D | Stmt.h | 178 unsigned HasInit : 1; variable 190 unsigned HasInit : 1; variable 2003 explicit IfStmt(EmptyShell Empty, bool HasElse, bool HasVar, bool HasInit); 2016 bool HasInit); 2019 bool hasInitStorage() const { return IfStmtBits.HasInit; } in hasInitStorage() 2239 explicit SwitchStmt(EmptyShell Empty, bool HasInit, bool HasVar); 2249 static SwitchStmt *CreateEmpty(const ASTContext &Ctx, bool HasInit, 2253 bool hasInitStorage() const { return SwitchStmtBits.HasInit; } in hasInitStorage()
|
| H A D | ExprCXX.h | 2287 bool HasInit, unsigned NumPlacementArgs,
|
| /openbsd-src/gnu/llvm/clang/lib/Serialization/ |
| H A D | ASTWriterStmt.cpp | 142 bool HasInit = S->getInit() != nullptr; in VisitIfStmt() local 146 Record.push_back(HasInit); in VisitIfStmt() 154 if (HasInit) in VisitIfStmt() 169 bool HasInit = S->getInit() != nullptr; in VisitSwitchStmt() local 171 Record.push_back(HasInit); in VisitSwitchStmt() 177 if (HasInit) in VisitSwitchStmt()
|
| H A D | ASTReaderStmt.cpp | 223 bool HasInit = Record.readInt(); in VisitIfStmt() local 232 if (HasInit) in VisitIfStmt() 245 bool HasInit = Record.readInt(); in VisitSwitchStmt() local 253 if (HasInit) in VisitSwitchStmt() 1867 bool HasInit = Record.readInt(); in VisitCXXNewExpr() local 1877 assert((HasInit == E->hasInitializer()) && "Wrong HasInit!"); in VisitCXXNewExpr() 1882 (void)HasInit; in VisitCXXNewExpr()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVInstructionSelector.cpp | 1508 bool HasInit = GlobalVar->hasInitializer() && in selectGlobalValue() local 1512 if (HasInit && !Init) in selectGlobalValue()
|