Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DStmt.cpp813 bool HasInit = Init != nullptr; in IfStmt() local
816 IfStmtBits.HasInit = HasInit; in IfStmt()
826 if (HasInit) in IfStmt()
838 IfStmtBits.HasInit = HasInit; in IfStmt()
846 bool HasInit = Init != nullptr; in Create() local
856 bool HasInit) { in CreateEmpty() argument
924 bool HasInit = Init != nullptr; in SwitchStmt() local
926 SwitchStmtBits.HasInit = HasInit; in SwitchStmt()
932 if (HasInit) in SwitchStmt()
942 SwitchStmtBits.HasInit = HasInit; in SwitchStmt()
[all …]
H A DODRHash.cpp292 const bool HasInit = D->hasInit(); in VisitVarDecl() local
293 Hash.AddBoolean(HasInit); in VisitVarDecl()
294 if (HasInit) { in VisitVarDecl()
H A DExprCXX.cpp188 bool HasInit = Initializer != nullptr; in Create() local
193 IsArray + HasInit + NumPlacementArgs, IsParenTypeId), in Create()
203 bool HasInit, unsigned NumPlacementArgs, in CreateEmpty() argument
207 IsArray + HasInit + NumPlacementArgs, IsParenTypeId), in CreateEmpty()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DStmt.h169 unsigned HasInit : 1; in alignas() local
181 unsigned HasInit : 1; in alignas() local
1739 explicit IfStmt(EmptyShell Empty, bool HasElse, bool HasVar, bool HasInit);
1751 bool HasInit);
1754 bool hasInitStorage() const { return IfStmtBits.HasInit; } in hasInitStorage()
1928 explicit SwitchStmt(EmptyShell Empty, bool HasInit, bool HasVar);
1937 static SwitchStmt *CreateEmpty(const ASTContext &Ctx, bool HasInit,
1941 bool hasInitStorage() const { return SwitchStmtBits.HasInit; } in hasInitStorage()
H A DExprCXX.h2004 bool HasInit, unsigned NumPlacementArgs,
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DASTWriterStmt.cpp137 bool HasInit = S->getInit() != nullptr; in VisitIfStmt() local
142 Record.push_back(HasInit); in VisitIfStmt()
150 if (HasInit) in VisitIfStmt()
163 bool HasInit = S->getInit() != nullptr; in VisitSwitchStmt() local
165 Record.push_back(HasInit); in VisitSwitchStmt()
171 if (HasInit) in VisitSwitchStmt()
H A DASTReaderStmt.cpp225 bool HasInit = Record.readInt(); in VisitIfStmt() local
233 if (HasInit) in VisitIfStmt()
244 bool HasInit = Record.readInt(); in VisitSwitchStmt() local
252 if (HasInit) in VisitSwitchStmt()
1512 bool HasInit = Record.readInt(); in VisitCXXNewExpr() local
1522 assert((HasInit == E->hasInitializer()) && "Wrong HasInit!"); in VisitCXXNewExpr()
1527 (void)HasInit; in VisitCXXNewExpr()