Home
last modified time | relevance | path

Searched refs:CXXCtorInitializer (Results 1 – 25 of 115) sorted by relevance

12345

/external/llvm-project/clang/include/clang/Analysis/
DConstructionContext.h126 ConstructionContextItem(const CXXCtorInitializer *Init) in ConstructionContextItem()
151 const CXXCtorInitializer *getCXXCtorInitializer() const { in getCXXCtorInitializer()
153 return static_cast<const CXXCtorInitializer *>(Data); in getCXXCtorInitializer()
370 const CXXCtorInitializer *I;
374 ConstructionContext::Kind K, const CXXCtorInitializer *I) in ConstructorInitializerConstructionContext()
381 const CXXCtorInitializer *getCXXCtorInitializer() const { return I; } in getCXXCtorInitializer()
396 const CXXCtorInitializer *I) in SimpleConstructorInitializerConstructionContext()
423 const CXXCtorInitializer *I, const CXXBindTemporaryExpr *BTE) in CXX17ElidedCopyConstructorInitializerConstructionContext()
/external/llvm-project/clang/test/AST/
Dobjc-default-ctor-init.mm2 // CHECK: CXXCtorInitializer Field {{.*}} 'ptr' 'void *'
3 // CHECK: CXXCtorInitializer Field {{.*}} 'q' 'Q'
/external/clang/test/Parser/
Dobjc-default-ctor-init.mm2 // CHECK: CXXCtorInitializer Field {{.*}} 'ptr' 'void *'
3 // CHECK: CXXCtorInitializer Field {{.*}} 'q' 'struct Q'
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DUseDefaultMemberInitCheck.h36 const CXXCtorInitializer *Init);
38 const CXXCtorInitializer *Init);
DUseDefaultMemberInitCheck.cpp242 Result.Nodes.getNodeAs<CXXCtorInitializer>("default")) in check()
245 Result.Nodes.getNodeAs<CXXCtorInitializer>("existing")) in check()
252 const MatchFinder::MatchResult &Result, const CXXCtorInitializer *Init) { in checkDefaultInit()
287 const MatchFinder::MatchResult &Result, const CXXCtorInitializer *Init) { in checkExistingInit()
/external/clang/include/clang/AST/
DASTImporter.h26 class CXXCtorInitializer; variable
213 CXXCtorInitializer *Import(CXXCtorInitializer *FromInit);
DASTFwd.h29 class CXXCtorInitializer; variable
DExternalASTSource.h25 class CXXCtorInitializer; variable
115 virtual CXXCtorInitializer **GetExternalCXXCtorInitializers(uint64_t Offset);
567 typedef LazyOffsetPtr<CXXCtorInitializer *, uint64_t,
DASTTypeTraits.h176 KIND_TO_KIND_ID(CXXCtorInitializer)
467 CXXCtorInitializer, void> : public PtrConverter<CXXCtorInitializer> {};
/external/llvm-project/clang-tools-extra/clang-reorder-fields/
DReorderFieldsAction.cpp100 findMembersUsedInInitExpr(const CXXCtorInitializer *Initializer, in findMembersUsedInInitExpr()
177 SmallVector<const CXXCtorInitializer *, 10> OldWrittenInitializersOrder; in reorderFieldsInConstructor()
178 SmallVector<const CXXCtorInitializer *, 10> NewWrittenInitializersOrder; in reorderFieldsInConstructor()
203 auto ByFieldNewPosition = [&](const CXXCtorInitializer *LHS, in reorderFieldsInConstructor()
204 const CXXCtorInitializer *RHS) { in reorderFieldsInConstructor()
/external/clang/include/clang/Sema/
DOwnership.h27 class CXXCtorInitializer; variable
249 template<> struct IsResultPtrLowBitFree<CXXCtorInitializer*> {
257 typedef ActionResult<CXXCtorInitializer*> MemInitResult;
/external/clang/lib/AST/
DDeclCXX.cpp1699 CXXCtorInitializer::CXXCtorInitializer(ASTContext &Context, in CXXCtorInitializer() function in CXXCtorInitializer
1710 CXXCtorInitializer::CXXCtorInitializer(ASTContext &Context, in CXXCtorInitializer() function in CXXCtorInitializer
1721 CXXCtorInitializer::CXXCtorInitializer(ASTContext &Context, in CXXCtorInitializer() function in CXXCtorInitializer
1732 CXXCtorInitializer::CXXCtorInitializer(ASTContext &Context, in CXXCtorInitializer() function in CXXCtorInitializer
1742 CXXCtorInitializer::CXXCtorInitializer(ASTContext &Context, in CXXCtorInitializer() function in CXXCtorInitializer
1757 CXXCtorInitializer *CXXCtorInitializer::Create(ASTContext &Context, in Create()
1765 llvm::alignOf<CXXCtorInitializer>()); in Create()
1766 return new (Mem) CXXCtorInitializer(Context, Member, MemberLoc, L, Init, R, in Create()
1770 TypeLoc CXXCtorInitializer::getBaseClassLoc() const { in getBaseClassLoc()
1777 const Type *CXXCtorInitializer::getBaseClass() const { in getBaseClass()
[all …]
DASTTypeTraits.cpp140 if (const CXXCtorInitializer *CCI = get<CXXCtorInitializer>()) in getSourceRange()
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/
DProTypeMemberInitCheck.cpp110 const CXXCtorInitializer *Where) in IntializerInsertion()
160 const CXXCtorInitializer *Where;
180 for (const CXXCtorInitializer *Init : Inits) { in computeInsertions()
411 for (const CXXCtorInitializer *Init : Ctor->inits()) { in checkMissingMemberInitializer()
505 for (const CXXCtorInitializer *Init : Ctor->inits()) { in checkMissingBaseClassInitializer()
/external/llvm-project/clang-tools-extra/clangd/
DDumpAST.cpp167 std::string getKind(const CXXCtorInitializer *CCI) { in getKind()
285 std::string getDetail(const CXXCtorInitializer *CCI) { in getDetail()
359 bool TraverseConstructorInitializer(CXXCtorInitializer *CCI) { in TraverseConstructorInitializer()
418 else if (const auto *CCI = N.get<CXXCtorInitializer>()) in dumpAST()
419 V.TraverseConstructorInitializer(const_cast<CXXCtorInitializer *>(CCI)); in dumpAST()
/external/llvm-project/clang/lib/ASTMatchers/
DASTMatchFinder.cpp131 else if (const auto *C = DynNode.get<CXXCtorInitializer>()) in findMatch()
229 bool TraverseConstructorInitializer(CXXCtorInitializer *CtorInit) { in TraverseConstructorInitializer()
314 bool baseTraverse(const CXXCtorInitializer &CtorInit) { in baseTraverse()
316 const_cast<CXXCtorInitializer *>(&CtorInit)); in baseTraverse()
463 bool TraverseConstructorInitializer(CXXCtorInitializer *CtorInit);
584 } else if (auto *N = Node.get<CXXCtorInitializer>()) { in match()
761 void matchDispatch(const CXXCtorInitializer *Node) { in matchDispatch()
1145 CXXCtorInitializer *CtorInit) { in TraverseConstructorInitializer()
1270 } else if (NodeMatch.canConvertTo<CXXCtorInitializer>()) { in addDynamicMatcher()
1271 addMatcher(NodeMatch.convertTo<CXXCtorInitializer>(), Action); in addDynamicMatcher()
/external/llvm-project/clang/include/clang/Sema/
DOwnership.h32 class CXXCtorInitializer; variable
258 template<> struct IsResultPtrLowBitFree<CXXCtorInitializer*> {
266 using MemInitResult = ActionResult<CXXCtorInitializer *>;
/external/llvm-project/clang/include/clang/AST/
DASTImporter.h41 class CXXCtorInitializer; variable
498 llvm::Expected<CXXCtorInitializer *> Import(CXXCtorInitializer *FromInit);
DASTFwd.h28 class CXXCtorInitializer; variable
DExternalASTSource.h43 class CXXCtorInitializer; variable
134 virtual CXXCtorInitializer **GetExternalCXXCtorInitializers(uint64_t Offset);
580 LazyOffsetPtr<CXXCtorInitializer *, uint64_t,
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DRedundantStringInitCheck.cpp43 getConstructExpr(const CXXCtorInitializer &CtorInit) { in getConstructExpr()
149 Result.Nodes.getNodeAs<CXXCtorInitializer>("ctorInit")) { in check()
DRedundantMemberInitCheck.cpp53 const auto *Init = Result.Nodes.getNodeAs<CXXCtorInitializer>("init"); in check()
/external/llvm-project/clang/unittests/Tooling/RecursiveASTVisitorTests/
DImplicitCtorInitializer.cpp23 bool TraverseConstructorInitializer(CXXCtorInitializer *Init) { in TraverseConstructorInitializer()
/external/llvm-project/clang/lib/AST/
DASTTypeTraits.cpp171 if (const CXXCtorInitializer *CCI = get<CXXCtorInitializer>()) in getSourceRange()
/external/clang/test/Misc/
Dast-dump-decl.mm20 // CHECK-NEXT: CXXCtorInitializer{{.*}} 'X'

12345