Home
last modified time | relevance | path

Searched refs:ConstructExpr (Results 1 – 12 of 12) sorted by relevance

/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DReturnBracedInitListCheck.cpp23 auto ConstructExpr = in registerMatchers() local
31 has(ConstructExpr), has(cxxFunctionalCastExpr(has(ConstructExpr))))); in registerMatchers()
DLoopConvertUtils.cpp172 if (const auto *ConstructExpr = dyn_cast<CXXConstructExpr>(E)) { in digThroughConstructors() local
175 if (ConstructExpr->getNumArgs() != 1 || in digThroughConstructors()
176 ConstructExpr->getConstructionKind() != CXXConstructExpr::CK_Complete) in digThroughConstructors()
178 E = ConstructExpr->getArg(0); in digThroughConstructors()
/external/clang/test/SemaCXX/
Dtypo-correction.cpp180 class ConstructExpr {}; // expected-note 2{{'clash::ConstructExpr' declared here}} class
187ConstructExpr *expr = // expected-error{{unknown type name 'ConstructExpr'; did you mean 'clash::C… in test()
188 …getExprAs<ConstructExpr>(); // expected-error{{unknown type name 'ConstructExpr'; did you mean 'cl… in test()
/external/llvm-project/clang/test/SemaCXX/
Dtypo-correction.cpp181 class ConstructExpr {}; // expected-note 2{{'clash::ConstructExpr' declared here}} class
188ConstructExpr *expr = // expected-error{{unknown type name 'ConstructExpr'; did you mean 'clash::C… in test()
189 …getExprAs<ConstructExpr>(); // expected-error{{unknown type name 'ConstructExpr'; did you mean 'cl… in test()
/external/llvm-project/clang/unittests/Tooling/
DCMakeLists.txt30 RecursiveASTVisitorTests/ConstructExpr.cpp
/external/clang/unittests/ASTMatchers/Dynamic/
DRegistryTest.cpp257 Matcher<Stmt> ConstructExpr = constructMatcher( in TEST_F() local
266 EXPECT_FALSE(matches("class Foo { public: Foo(); };", ConstructExpr)); in TEST_F()
268 matches("class Foo { public: Foo(); }; Foo foo = Foo();", ConstructExpr)); in TEST_F()
/external/llvm-project/llvm/utils/gn/secondary/clang/unittests/Tooling/
DBUILD.gn51 "RecursiveASTVisitorTests/ConstructExpr.cpp",
/external/llvm-project/clang/unittests/ASTMatchers/Dynamic/
DRegistryTest.cpp256 Matcher<Stmt> ConstructExpr = constructMatcher( in TEST_F() local
265 EXPECT_FALSE(matches("class Foo { public: Foo(); };", ConstructExpr)); in TEST_F()
267 matches("class Foo { public: Foo(); }; Foo foo = Foo();", ConstructExpr)); in TEST_F()
/external/llvm-project/clang/unittests/ASTMatchers/
DASTMatchersTraversalTest.cpp713 StatementMatcher ConstructExpr = in TEST() local
723 ConstructExpr, in TEST()
812 StatementMatcher ConstructExpr = in TEST() local
821 ConstructExpr, std::make_unique<VerifyIdIsBoundTo<QualType>>("type"))); in TEST()
828 ConstructExpr, std::make_unique<VerifyIdIsBoundTo<DeclRefExpr>>("arg"))); in TEST()
/external/clang/unittests/ASTMatchers/
DASTMatchersTraversalTest.cpp431 StatementMatcher ConstructExpr = in TEST() local
440 ConstructExpr, in TEST()
/external/clang/lib/Sema/
DSemaCast.cpp2632 if (auto *ConstructExpr = dyn_cast<CXXConstructExpr>(SubExpr)) in BuildCXXFunctionalCastExpr() local
2633 ConstructExpr->setParenOrBraceRange(SourceRange(LPLoc, RPLoc)); in BuildCXXFunctionalCastExpr()
/external/llvm-project/clang/lib/Sema/
DSemaCast.cpp3093 if (auto *ConstructExpr = dyn_cast<CXXConstructExpr>(SubExpr)) in BuildCXXFunctionalCastExpr() local
3094 ConstructExpr->setParenOrBraceRange(SourceRange(LPLoc, RPLoc)); in BuildCXXFunctionalCastExpr()