Searched refs:CtorDecl (Results 1 – 2 of 2) sorted by relevance
302 Matcher<Decl> CtorDecl = constructMatcher( in TEST_F() local309 EXPECT_TRUE(matches("struct Foo { Foo() : foo(1) {} int foo; };", CtorDecl)); in TEST_F()310 EXPECT_FALSE(matches("struct Foo { Foo() {} int foo; };", CtorDecl)); in TEST_F()311 EXPECT_FALSE(matches("struct Foo { Foo() : bar(1) {} int bar; };", CtorDecl)); in TEST_F()
416 CXXConstructorDecl *CtorDecl = cast<CXXConstructorDecl>(Best->Function); in PerformEmptyInit() local417 CXXRecordDecl *R = CtorDecl->getParent(); in PerformEmptyInit()419 if (CtorDecl->getMinRequiredArguments() == 0 && in PerformEmptyInit()420 CtorDecl->isExplicit() && R->getDeclName() && in PerformEmptyInit()421 SemaRef.SourceMgr.isInSystemHeader(CtorDecl->getLocation())) { in PerformEmptyInit()444 SemaRef.Diag(CtorDecl->getLocation(), in PerformEmptyInit()3531 CXXConstructorDecl *CtorDecl = cast<CXXConstructorDecl>(Best->Function); in TryConstructorInitialization() local3532 if (IsListInit && !Kind.AllowExplicit() && CtorDecl->isExplicit()) { in TryConstructorInitialization()3541 CtorDecl, Best->FoundDecl.getAccess(), DestType, HadMultipleCandidates, in TryConstructorInitialization()7254 CXXConstructorDecl *CtorDecl = cast<CXXConstructorDecl>(Best->Function); in Diagnose() local[all …]