/external/clang/lib/AST/ |
D | CXXABI.h | 23 class CXXConstructorDecl; variable 50 CXXConstructorDecl *) = 0; 53 virtual const CXXConstructorDecl * 56 virtual void addDefaultArgExprForConstructor(const CXXConstructorDecl *CD, 59 virtual Expr *getDefaultArgExprForConstructor(const CXXConstructorDecl *CD,
|
D | MicrosoftCXXABI.cpp | 69 llvm::SmallDenseMap<CXXRecordDecl *, CXXConstructorDecl *> RecordToCopyCtor; 70 llvm::SmallDenseMap<std::pair<const CXXConstructorDecl *, unsigned>, Expr *> 95 void addDefaultArgExprForConstructor(const CXXConstructorDecl *CD, in addDefaultArgExprForConstructor() 100 Expr *getDefaultArgExprForConstructor(const CXXConstructorDecl *CD, in getDefaultArgExprForConstructor() 105 const CXXConstructorDecl * 112 CXXConstructorDecl *CD) override { in addCopyConstructorForExceptionObject()
|
D | ItaniumCXXABI.cpp | 136 const CXXConstructorDecl * 142 CXXConstructorDecl *CD) override {} in addCopyConstructorForExceptionObject() 144 void addDefaultArgExprForConstructor(const CXXConstructorDecl *CD, in addDefaultArgExprForConstructor() 147 Expr *getDefaultArgExprForConstructor(const CXXConstructorDecl *CD, in getDefaultArgExprForConstructor()
|
D | DeclCXX.cpp | 503 if (CXXConstructorDecl *Constructor = dyn_cast<CXXConstructorDecl>(D)) { in addedMember() 539 if (CXXConstructorDecl *Constructor = in addedMember() 540 dyn_cast<CXXConstructorDecl>(DUnderlying)) { in addedMember() 995 if (CXXConstructorDecl *Constructor = dyn_cast<CXXConstructorDecl>(D)) { in finishedDefaultedOrDeletedMember() 1640 if (isa<CXXConstructorDecl>(this)) return nullptr; in begin_overridden_methods() 1645 if (isa<CXXConstructorDecl>(this)) return nullptr; in end_overridden_methods() 1650 if (isa<CXXConstructorDecl>(this)) return 0; in size_overridden_methods() 1656 if (isa<CXXConstructorDecl>(this)) in overridden_methods() 1808 void CXXConstructorDecl::anchor() { } in anchor() 1810 CXXConstructorDecl *CXXConstructorDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized() [all …]
|
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
D | PassByValueCheck.cpp | 41 for (const CXXConstructorDecl *Ctor : Node.ctors()) { in AST_MATCHER() 61 static bool paramReferredExactlyOnce(const CXXConstructorDecl *Ctor, in paramReferredExactlyOnce() 78 bool hasExactlyOneUsageIn(const CXXConstructorDecl *Ctor) { in paramReferredExactlyOnce() 80 TraverseDecl(const_cast<CXXConstructorDecl *>(Ctor)); in paramReferredExactlyOnce() 111 collectParamDecls(const CXXConstructorDecl *Ctor, in collectParamDecls() 174 const auto *Ctor = Result.Nodes.getNodeAs<CXXConstructorDecl>("Ctor"); in check()
|
/external/llvm-project/clang/include/clang/AST/ |
D | GlobalDecl.h | 60 assert(!isa<CXXConstructorDecl>(D) && "Use other ctor with ctor decls!"); in Init() 88 GlobalDecl(const CXXConstructorDecl *D, CXXCtorType Type) : Value(D, Type) {} in GlobalDecl() 105 assert(isa<CXXConstructorDecl>(getDecl()) && "Decl is not a ctor!"); in getCtorType() 125 !isa<CXXConstructorDecl>(getDecl()) && in getMultiVersionIndex() 165 assert(isa<CXXConstructorDecl>(getDecl())); in getWithCtorType() 181 !isa<CXXConstructorDecl>(getDecl()) && in getWithMultiVersionIndex()
|
D | Mangle.h | 30 class CXXConstructorDecl; variable 119 void mangleCtorBlock(const CXXConstructorDecl *CD, CXXCtorType CT, 169 virtual void mangleCXXCtorComdat(const CXXConstructorDecl *D, 224 virtual void mangleCXXCatchableType(QualType T, const CXXConstructorDecl *CD,
|
/external/llvm-project/clang/lib/AST/ |
D | CXXABI.h | 22 class CXXConstructorDecl; variable 57 CXXConstructorDecl *) = 0; 60 virtual const CXXConstructorDecl *
|
D | MicrosoftCXXABI.cpp | 69 llvm::SmallDenseMap<CXXRecordDecl *, CXXConstructorDecl *> RecordToCopyCtor; 93 const CXXConstructorDecl * 100 CXXConstructorDecl *CD) override { in addCopyConstructorForExceptionObject()
|
D | DeclCXX.cpp | 755 if (const auto *Constructor = dyn_cast<CXXConstructorDecl>(D)) { in addedMember() 808 if (const auto *Constructor = dyn_cast<CXXConstructorDecl>(DUnderlying)) { in addedMember() 1388 if (const auto *Constructor = dyn_cast<CXXConstructorDecl>(D)) { in finishedDefaultedOrDeletedMember() 1442 if (const auto *Constructor = dyn_cast<CXXConstructorDecl>(D)) { in setTrivialForCallFlags() 2048 return cast<CXXConstructorDecl>(Function)->getExplicitSpecifier(); in getFromDecl() 2410 if (isa<CXXConstructorDecl>(this)) return nullptr; in begin_overridden_methods() 2415 if (isa<CXXConstructorDecl>(this)) return nullptr; in end_overridden_methods() 2420 if (isa<CXXConstructorDecl>(this)) return 0; in size_overridden_methods() 2426 if (isa<CXXConstructorDecl>(this)) in overridden_methods() 2563 CXXConstructorDecl::CXXConstructorDecl( in CXXConstructorDecl() function in CXXConstructorDecl [all …]
|
/external/clang/include/clang/AST/ |
D | GlobalDecl.h | 33 assert(!isa<CXXConstructorDecl>(D) && "Use other ctor with ctor decls!"); in Init() 49 GlobalDecl(const CXXConstructorDecl *D, CXXCtorType Type) in GlobalDecl() 65 assert(isa<CXXConstructorDecl>(getDecl()) && "Decl is not a ctor!"); in getCtorType()
|
D | Mangle.h | 29 class CXXConstructorDecl; variable 111 virtual void mangleCXXCtor(const CXXConstructorDecl *D, CXXCtorType Type, 120 void mangleCtorBlock(const CXXConstructorDecl *CD, CXXCtorType CT, 167 virtual void mangleCXXCtorComdat(const CXXConstructorDecl *D, 217 virtual void mangleCXXCatchableType(QualType T, const CXXConstructorDecl *CD,
|
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
D | ProTypeMemberInitCheck.h | 52 const CXXConstructorDecl *Ctor); 58 const CXXConstructorDecl *Ctor);
|
D | ProTypeMemberInitCheck.cpp | 114 const CXXConstructorDecl &Constructor) const { in getLocation() 173 computeInsertions(const CXXConstructorDecl::init_const_range &Inits, in computeInsertions() 231 const CXXConstructorDecl *Ctor, in fixInitializerList() 296 if (const auto *Ctor = Result.Nodes.getNodeAs<CXXConstructorDecl>("ctor")) { in check() 392 const CXXConstructorDecl *Ctor) { in checkMissingMemberInitializer() 482 const CXXConstructorDecl *Ctor) { in checkMissingBaseClassInitializer()
|
/external/llvm-project/clang/unittests/AST/ |
D | StructuralEquivalenceTest.cpp | 548 auto t = makeDecls<CXXConstructorDecl>("struct X { X(); };", in TEST_F() 555 auto t = makeDecls<CXXConstructorDecl>("struct X { X(int); };", in TEST_F() 563 auto t = makeDecls<CXXConstructorDecl>("struct X { X(); };", in TEST_F() 915 CXXConstructorDecl *First = FirstDeclMatcher<CXXConstructorDecl>().match( in TEST_F() 917 CXXConstructorDecl *Second = FirstDeclMatcher<CXXConstructorDecl>().match( in TEST_F() 925 CXXConstructorDecl *First = FirstDeclMatcher<CXXConstructorDecl>().match( in TEST_F() 927 CXXConstructorDecl *Second = FirstDeclMatcher<CXXConstructorDecl>().match( in TEST_F() 1016 CXXConstructorDecl *First = FirstDeclMatcher<CXXConstructorDecl>().match( in TEST_F() 1018 CXXConstructorDecl *Second = FirstDeclMatcher<CXXConstructorDecl>().match( in TEST_F() 1027 CXXConstructorDecl *First = FirstDeclMatcher<CXXConstructorDecl>().match( in TEST_F() [all …]
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | UndefinedArraySubscriptChecker.cpp | 45 if (const CXXConstructorDecl *Ctor = dyn_cast<CXXConstructorDecl>(D)) in checkPreStmt()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
D | UndefinedArraySubscriptChecker.cpp | 44 if (const CXXConstructorDecl *Ctor = dyn_cast<CXXConstructorDecl>(D)) in checkPreStmt()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/ |
D | UninitializedObjectChecker.cpp | 111 getConstructedRegion(const CXXConstructorDecl *CtorDecl, 117 static bool willObjectBeAnalyzedLater(const CXXConstructorDecl *Ctor, 141 const auto *CtorDecl = dyn_cast_or_null<CXXConstructorDecl>( in checkEndFunction() 458 getConstructedRegion(const CXXConstructorDecl *CtorDecl, in getConstructedRegion() 473 static bool willObjectBeAnalyzedLater(const CXXConstructorDecl *Ctor, in willObjectBeAnalyzedLater() 484 const auto *OtherCtor = dyn_cast<CXXConstructorDecl>(LC->getDecl()); in willObjectBeAnalyzedLater() 516 if (isa<CXXConstructorDecl>(M)) in getMethodBody()
|
/external/clang/unittests/AST/ |
D | SourceLocationTest.cpp | 151 TEST(CXXConstructorDecl, NoRetFunTypeLocRange) { in TEST() argument 152 RangeVerifier<CXXConstructorDecl> Verifier; in TEST() 157 TEST(CXXConstructorDecl, DefaultedCtorLocRange) { in TEST() argument 158 RangeVerifier<CXXConstructorDecl> Verifier; in TEST() 163 TEST(CXXConstructorDecl, DeletedCtorLocRange) { in TEST() argument 164 RangeVerifier<CXXConstructorDecl> Verifier; in TEST()
|
/external/llvm-project/clang-tools-extra/clang-tidy/performance/ |
D | MoveConstructorInitCheck.cpp | 44 const auto *CopyCtor = Result.Nodes.getNodeAs<CXXConstructorDecl>("ctor"); in check() 63 const CXXConstructorDecl *Candidate = nullptr; in check()
|
/external/clang/include/clang/Sema/ |
D | ExternalSemaSource.h | 29 class CXXConstructorDecl; variable 128 SmallVectorImpl<CXXConstructorDecl *> &Decls) {} in ReadDelegatingConstructors()
|
/external/clang/lib/Index/ |
D | CodegenNameGenerator.cpp | 89 if (const auto *CD = dyn_cast_or_null<CXXConstructorDecl>(ND)) { in getAllManglings() 121 if (const auto *CtorD = dyn_cast<CXXConstructorDecl>(D)) in writeFuncOrVarName() 150 if (const auto *CD = dyn_cast_or_null<CXXConstructorDecl>(ND)) in getMangledStructor()
|
/external/clang/lib/Sema/ |
D | SemaDeclCXX.cpp | 618 if (isa<CXXConstructorDecl>(New) && in MergeCXXFunctionDecl() 777 isa<CXXConstructorDecl>(FD))) in CheckConstexprParameterTypes() 813 << isa<CXXConstructorDecl>(NewFD) in CheckConstexprFunctionDecl() 822 if (!isa<CXXConstructorDecl>(NewFD)) { in CheckConstexprFunctionDecl() 891 << isa<CXXConstructorDecl>(Dcl); in CheckConstexprDeclStmt() 905 << isa<CXXConstructorDecl>(Dcl); in CheckConstexprDeclStmt() 924 << isa<CXXConstructorDecl>(Dcl) in CheckConstexprDeclStmt() 932 isa<CXXConstructorDecl>(Dcl))) in CheckConstexprDeclStmt() 938 << isa<CXXConstructorDecl>(Dcl); in CheckConstexprDeclStmt() 946 << isa<CXXConstructorDecl>(Dcl); in CheckConstexprDeclStmt() [all …]
|
/external/llvm-project/clang/include/clang/Sema/ |
D | ExternalSemaSource.h | 28 class CXXConstructorDecl; variable 128 SmallVectorImpl<CXXConstructorDecl *> &Decls) {} in ReadDelegatingConstructors()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CodeGenTypes.h | 33 class CXXConstructorDecl; variable 242 const CXXConstructorDecl *D, 254 const CGFunctionInfo &arrangeMSCtorClosure(const CXXConstructorDecl *CD,
|