Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DStmt.cpp974 bool HasInit = Init != nullptr; in IfStmt() local
977 IfStmtBits.HasInit = HasInit; in IfStmt()
987 if (HasInit) in IfStmt()
995 IfStmt::IfStmt(EmptyShell Empty, bool HasElse, bool HasVar, bool HasInit) in IfStmt() argument
999 IfStmtBits.HasInit = HasInit; in IfStmt()
1008 bool HasInit = Init != nullptr; in Create() local
1011 NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse), in Create()
1018 bool HasInit) { in CreateEmpty() argument
1021 NumMandatoryStmtPtr + HasElse + HasVar + HasInit, HasElse), in CreateEmpty()
1023 return new (Mem) IfStmt(EmptyShell(), HasElse, HasVar, HasInit); in CreateEmpty()
[all …]
H A DODRHash.cpp337 const bool HasInit = D->hasInit(); in VisitVarDecl() local
338 Hash.AddBoolean(HasInit); in VisitVarDecl()
339 if (HasInit) { in VisitVarDecl()
H A DExprCXX.cpp302 bool HasInit = Initializer != nullptr; in Create() local
307 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.h204 unsigned HasInit : 1;
218 unsigned HasInit : 1;
2315 explicit IfStmt(EmptyShell Empty, bool HasElse, bool HasVar, bool HasInit);
2328 bool HasInit);
2331 bool hasInitStorage() const { return IfStmtBits.HasInit; }
2556 explicit SwitchStmt(EmptyShell Empty, bool HasInit, bool HasVar);
2566 static SwitchStmt *CreateEmpty(const ASTContext &Ctx, bool HasInit,
2570 bool hasInitStorage() const { return SwitchStmtBits.HasInit; }
H A DExprCXX.h2411 bool HasInit, unsigned NumPlacementArgs,
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp222 bool HasInit = CurrentUnpackingBits->getNextBit(); in VisitIfStmt() local
231 if (HasInit) in VisitIfStmt()
244 bool HasInit = Record.readInt(); in VisitSwitchStmt() local
252 if (HasInit) in VisitSwitchStmt()
1924 bool HasInit = Record.readInt(); in VisitCXXNewExpr() local
1936 assert((HasInit == E->hasInitializer()) && "Wrong HasInit!"); in VisitCXXNewExpr()
1941 (void)HasInit; in VisitCXXNewExpr()
3085 bool HasInit = IfStmtBits.getNextBit(); in ReadStmtFromStream() local
3086 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()