Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DStmt.cpp930 bool HasInit = Init != nullptr; in IfStmt() local
933 IfStmtBits.HasInit = HasInit; in IfStmt()
943 if (HasInit) in IfStmt()
951 IfStmt::IfStmt(EmptyShell Empty, bool HasElse, bool HasVar, bool HasInit) in IfStmt() argument
955 IfStmtBits.HasInit = HasInit; in IfStmt()
964 bool HasInit = Init != nullptr; in Create() local
967 NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse), in Create()
974 bool HasInit) { in CreateEmpty() argument
977 NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse), in CreateEmpty()
979 return new (Mem) IfStmt(EmptyShell(), HasElse, HasVar, HasInit); in CreateEmpty()
[all …]
H A DODRHash.cpp318 const bool HasInit = D->hasInit(); in VisitVarDecl() local
319 Hash.AddBoolean(HasInit); in VisitVarDecl()
320 if (HasInit) { in VisitVarDecl()
H A DExprCXX.cpp301 bool HasInit = Initializer != nullptr; in Create() local
306 IsArray + HasInit + NumPlacementArgs, IsParenTypeId), in Create()
316 bool HasInit, unsigned NumPlacementArgs, in CreateEmpty() argument
320 IsArray + HasInit + NumPlacementArgs, IsParenTypeId), in CreateEmpty()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DStmt.h202 unsigned HasInit : 1;
216 unsigned HasInit : 1;
2196 explicit IfStmt(EmptyShell Empty, bool HasElse, bool HasVar, bool HasInit);
2209 bool HasInit);
2212 bool hasInitStorage() const { return IfStmtBits.HasInit; }
2437 explicit SwitchStmt(EmptyShell Empty, bool HasInit, bool HasVar);
2447 static SwitchStmt *CreateEmpty(const ASTContext &Ctx, bool HasInit,
2451 bool hasInitStorage() const { return SwitchStmtBits.HasInit; }
H A DExprCXX.h2315 bool HasInit, unsigned NumPlacementArgs,
/freebsd/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()
1905 bool HasInit = Record.readInt(); in VisitCXXNewExpr() local
1916 assert((HasInit == E->hasInitializer()) && "Wrong HasInit!"); in VisitCXXNewExpr()
1921 (void)HasInit; in VisitCXXNewExpr()
2966 bool HasInit = IfStmtBits.getNextBit(); in ReadStmtFromStream() local
2967 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/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVInstructionSelector.cpp2271 bool HasInit = GlobalVar->hasInitializer() && in selectGlobalValue() local
2275 if (HasInit && !Init) in selectGlobalValue()