Home
last modified time | relevance | path

Searched refs:HasInit (Results 1 – 8 of 8) sorted by relevance

/openbsd-src/gnu/llvm/clang/lib/AST/
H A DStmt.cpp928 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 DODRHash.cpp307 const bool HasInit = D->hasInit(); in VisitVarDecl() local
308 Hash.AddBoolean(HasInit); in VisitVarDecl()
309 if (HasInit) { in VisitVarDecl()
H A DExprCXX.cpp253 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 DStmt.h178 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 DExprCXX.h2287 bool HasInit, unsigned NumPlacementArgs,
/openbsd-src/gnu/llvm/clang/lib/Serialization/
H A DASTWriterStmt.cpp142 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 DASTReaderStmt.cpp223 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 DSPIRVInstructionSelector.cpp1508 bool HasInit = GlobalVar->hasInitializer() && in selectGlobalValue() local
1512 if (HasInit && !Init) in selectGlobalValue()