Home
last modified time | relevance | path

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

/freebsd-12-stable/contrib/llvm-project/clang/lib/AST/
DStmt.cpp921 bool HasInit = Init != nullptr; in IfStmt() local
924 IfStmtBits.HasInit = HasInit; in IfStmt()
934 if (HasInit) in IfStmt()
942 IfStmt::IfStmt(EmptyShell Empty, bool HasElse, bool HasVar, bool HasInit) in IfStmt() argument
946 IfStmtBits.HasInit = HasInit; in IfStmt()
955 bool HasInit = Init != nullptr; in Create() local
958 NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse), in Create()
965 bool HasInit) { in CreateEmpty() argument
968 NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse), in CreateEmpty()
970 return new (Mem) IfStmt(EmptyShell(), HasElse, HasVar, HasInit); in CreateEmpty()
[all …]
DODRHash.cpp297 const bool HasInit = D->hasInit(); in VisitVarDecl() local
298 Hash.AddBoolean(HasInit); in VisitVarDecl()
299 if (HasInit) { in VisitVarDecl()
DExprCXX.cpp252 bool HasInit = Initializer != nullptr; in Create() local
257 IsArray + HasInit + NumPlacementArgs, IsParenTypeId), in Create()
267 bool HasInit, unsigned NumPlacementArgs, in CreateEmpty() argument
271 IsArray + HasInit + NumPlacementArgs, IsParenTypeId), in CreateEmpty()
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/AST/
DStmt.h173 unsigned HasInit : 1; in alignas() local
185 unsigned HasInit : 1; in alignas() local
1958 explicit IfStmt(EmptyShell Empty, bool HasElse, bool HasVar, bool HasInit);
1971 bool HasInit);
1974 bool hasInitStorage() const { return IfStmtBits.HasInit; } in hasInitStorage()
2166 explicit SwitchStmt(EmptyShell Empty, bool HasInit, bool HasVar);
2176 static SwitchStmt *CreateEmpty(const ASTContext &Ctx, bool HasInit,
2180 bool hasInitStorage() const { return SwitchStmtBits.HasInit; } in hasInitStorage()
DExprCXX.h2229 bool HasInit, unsigned NumPlacementArgs,
/freebsd-12-stable/contrib/llvm-project/clang/lib/Serialization/
DASTWriterStmt.cpp139 bool HasInit = S->getInit() != nullptr; in VisitIfStmt() local
144 Record.push_back(HasInit); in VisitIfStmt()
152 if (HasInit) in VisitIfStmt()
167 bool HasInit = S->getInit() != nullptr; in VisitSwitchStmt() local
169 Record.push_back(HasInit); in VisitSwitchStmt()
175 if (HasInit) in VisitSwitchStmt()
DASTReaderStmt.cpp219 bool HasInit = Record.readInt(); in VisitIfStmt() local
227 if (HasInit) in VisitIfStmt()
240 bool HasInit = Record.readInt(); in VisitSwitchStmt() local
248 if (HasInit) in VisitSwitchStmt()
1870 bool HasInit = Record.readInt(); in VisitCXXNewExpr() local
1880 assert((HasInit == E->hasInitializer()) && "Wrong HasInit!"); in VisitCXXNewExpr()
1885 (void)HasInit; in VisitCXXNewExpr()