OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:CtorDecl
(Results
1 - 2
of
2
) sorted by null
/external/clang/unittests/ASTMatchers/Dynamic/
RegistryTest.cpp
302
Matcher<Decl>
CtorDecl
= constructMatcher(
309
EXPECT_TRUE(matches("struct Foo { Foo() : foo(1) {} int foo; };",
CtorDecl
));
310
EXPECT_FALSE(matches("struct Foo { Foo() {} int foo; };",
CtorDecl
));
311
EXPECT_FALSE(matches("struct Foo { Foo() : bar(1) {} int bar; };",
CtorDecl
));
/external/clang/lib/Sema/
SemaInit.cpp
428
CXXConstructorDecl *
CtorDecl
= cast<CXXConstructorDecl>(Best->Function);
429
CXXRecordDecl *R =
CtorDecl
->getParent();
431
if (
CtorDecl
->getMinRequiredArguments() == 0 &&
432
CtorDecl
->isExplicit() && R->getDeclName() &&
433
SemaRef.SourceMgr.isInSystemHeader(
CtorDecl
->getLocation())) {
455
SemaRef.Diag(
CtorDecl
->getLocation(),
[
all
...]
Completed in 77 milliseconds