Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DStmt.cpp921 bool HasInit = Init != nullptr; in IfStmt() local
924 IfStmtBits.HasInit = HasInit; in IfStmt()
934 if (HasInit) in IfStmt()
946 IfStmtBits.HasInit = HasInit; in IfStmt()
955 bool HasInit = Init != nullptr; in Create() local
965 bool HasInit) { in CreateEmpty() argument
1049 bool HasInit = Init != nullptr; in SwitchStmt() local
1051 SwitchStmtBits.HasInit = HasInit; in SwitchStmt()
1057 if (HasInit) in SwitchStmt()
1067 SwitchStmtBits.HasInit = HasInit; in SwitchStmt()
[all …]
H A DODRHash.cpp297 const bool HasInit = D->hasInit(); in VisitVarDecl() local
298 Hash.AddBoolean(HasInit); in VisitVarDecl()
299 if (HasInit) { in VisitVarDecl()
H A 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-13.1/contrib/llvm-project/clang/include/clang/AST/
H A 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()
H A DExprCXX.h2229 bool HasInit, unsigned NumPlacementArgs,
/freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/
H A 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()
H A 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()