Searched refs:HasInit (Results 1 – 9 of 9) sorted by relevance
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | Stmt.cpp | 927 bool HasInit = Init != nullptr; in IfStmt() local 930 IfStmtBits.HasInit = HasInit; in IfStmt() 940 if (HasInit) in IfStmt() 952 IfStmtBits.HasInit = HasInit; in IfStmt() 961 bool HasInit = Init != nullptr; in Create() local 971 bool HasInit) { in CreateEmpty() argument 1055 bool HasInit = Init != nullptr; in SwitchStmt() local 1057 SwitchStmtBits.HasInit = HasInit; in SwitchStmt() 1063 if (HasInit) in SwitchStmt() 1073 SwitchStmtBits.HasInit = HasInit; in SwitchStmt() [all …]
|
| H A D | ODRHash.cpp | 298 const bool HasInit = D->hasInit(); in VisitVarDecl() local 299 Hash.AddBoolean(HasInit); in VisitVarDecl() 300 if (HasInit) { in VisitVarDecl()
|
| H A D | ExprCXX.cpp | 252 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()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | Stmt.h | 176 unsigned HasInit : 1; in alignas() local 188 unsigned HasInit : 1; in alignas() local 1991 explicit IfStmt(EmptyShell Empty, bool HasElse, bool HasVar, bool HasInit); 2004 bool HasInit); 2007 bool hasInitStorage() const { return IfStmtBits.HasInit; } in hasInitStorage() 2227 explicit SwitchStmt(EmptyShell Empty, bool HasInit, bool HasVar); 2237 static SwitchStmt *CreateEmpty(const ASTContext &Ctx, bool HasInit, 2241 bool hasInitStorage() const { return SwitchStmtBits.HasInit; } in hasInitStorage()
|
| H A D | ExprCXX.h | 2229 bool HasInit, unsigned NumPlacementArgs,
|
| /llvm-project-15.0.7/clang/lib/Serialization/ |
| H A D | ASTWriterStmt.cpp | 142 bool HasInit = S->getInit() != nullptr; in VisitIfStmt() local 146 Record.push_back(HasInit); in VisitIfStmt() 154 if (HasInit) in VisitIfStmt() 169 bool HasInit = S->getInit() != nullptr; in VisitSwitchStmt() local 171 Record.push_back(HasInit); in VisitSwitchStmt() 177 if (HasInit) in VisitSwitchStmt()
|
| H A D | ASTReaderStmt.cpp | 222 bool HasInit = Record.readInt(); in VisitIfStmt() local 231 if (HasInit) in VisitIfStmt() 244 bool HasInit = Record.readInt(); in VisitSwitchStmt() local 252 if (HasInit) in VisitSwitchStmt() 1855 bool HasInit = Record.readInt(); in VisitCXXNewExpr() local 1865 assert((HasInit == E->hasInitializer()) && "Wrong HasInit!"); in VisitCXXNewExpr() 1870 (void)HasInit; in VisitCXXNewExpr()
|
| /llvm-project-15.0.7/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVInstructionSelector.cpp | 1337 bool HasInit = GlobalVar->hasInitializer() && in selectGlobalValue() local 1341 if (HasInit && !Init) in selectGlobalValue()
|
| /llvm-project-15.0.7/clang/unittests/ASTMatchers/ |
| H A D | ASTMatchersNarrowingTest.cpp | 3980 TEST_P(ASTMatchersTest, HasInit) { in TEST_P() argument
|