Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DStmt.cpp929 bool HasInit = Init != nullptr; in IfStmt() local
932 IfStmtBits.HasInit = HasInit; in IfStmt()
942 if (HasInit) in IfStmt()
954 IfStmtBits.HasInit = HasInit; in IfStmt()
963 bool HasInit = Init != nullptr; in Create() local
973 bool HasInit) { in CreateEmpty() argument
1057 bool HasInit = Init != nullptr; in SwitchStmt() local
1059 SwitchStmtBits.HasInit = HasInit; in SwitchStmt()
1065 if (HasInit) in SwitchStmt()
1075 SwitchStmtBits.HasInit = HasInit; in SwitchStmt()
[all …]
H A DODRHash.cpp311 const bool HasInit = D->hasInit(); in VisitVarDecl() local
312 Hash.AddBoolean(HasInit); in VisitVarDecl()
313 if (HasInit) { in VisitVarDecl()
H A DExprCXX.cpp254 bool HasInit = Initializer != nullptr; in Create() local
259 IsArray + HasInit + NumPlacementArgs, IsParenTypeId), in Create()
269 bool HasInit, unsigned NumPlacementArgs, in CreateEmpty() argument
273 IsArray + HasInit + NumPlacementArgs, IsParenTypeId), in CreateEmpty()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DStmt.h202 unsigned HasInit : 1; in alignas()
216 unsigned HasInit : 1; in alignas()
2189 explicit IfStmt(EmptyShell Empty, bool HasElse, bool HasVar, bool HasInit);
2202 bool HasInit);
2205 bool hasInitStorage() const { return IfStmtBits.HasInit; } in hasInitStorage()
2430 explicit SwitchStmt(EmptyShell Empty, bool HasInit, bool HasVar);
2440 static SwitchStmt *CreateEmpty(const ASTContext &Ctx, bool HasInit,
2444 bool hasInitStorage() const { return SwitchStmtBits.HasInit; } in hasInitStorage()
H A DExprCXX.h2299 bool HasInit, unsigned NumPlacementArgs,
/freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp226 bool HasInit = CurrentUnpackingBits->getNextBit(); in VisitIfStmt() local
235 if (HasInit) in VisitIfStmt()
248 bool HasInit = Record.readInt(); in VisitSwitchStmt() local
256 if (HasInit) in VisitSwitchStmt()
1897 bool HasInit = Record.readInt(); in VisitCXXNewExpr() local
1908 assert((HasInit == E->hasInitializer()) && "Wrong HasInit!"); in VisitCXXNewExpr()
1913 (void)HasInit; in VisitCXXNewExpr()
2909 bool HasInit = IfStmtBits.getNextBit(); in ReadStmtFromStream() local
2910 S = IfStmt::CreateEmpty(Context, HasElse, HasVar, HasInit); in ReadStmtFromStream()
H A DASTWriterStmt.cpp205 bool HasInit = S->getInit() != nullptr; in VisitIfStmt() local
211 CurrentPackingBits.addBit(HasInit); in VisitIfStmt()
219 if (HasInit) in VisitIfStmt()
234 bool HasInit = S->getInit() != nullptr; in VisitSwitchStmt() local
236 Record.push_back(HasInit); in VisitSwitchStmt()
242 if (HasInit) in VisitSwitchStmt()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVInstructionSelector.cpp1548 bool HasInit = GlobalVar->hasInitializer() && in selectGlobalValue() local
1552 if (HasInit && !Init) in selectGlobalValue()