Home
last modified time | relevance | path

Searched refs:getConstructor (Results 1 – 25 of 75) sorted by relevance

123

/llvm-project/clang-tools-extra/clang-tidy/performance/
H A DMoveConstArgCheck.cpp84 if (const auto *ConstructorDecl = ConstructCallExpr->getConstructor()) { in IsRValueReferenceParam()
171 !ReceivingConstructExpr->getConstructor() || in check()
172 ReceivingConstructExpr->getConstructor()->isTemplateInstantiation())) in check()
179 : ReceivingConstructExpr->getConstructor()->getUnderlyingDecl(); in check()
/llvm-project/mlir/tools/mlir-tblgen/
H A DPassGen.cpp127 if (StringRef constructor = pass.getConstructor(); constructor.empty()) { in emitPassDecls()
149 if (StringRef constructor = pass.getConstructor(); !constructor.empty()) in emitRegistrations()
298 bool emitDefaultConstructors = pass.getConstructor().empty(); in emitPassDefs()
H A DPassCAPIGen.cpp105 if (StringRef constructor = pass.getConstructor(); !constructor.empty()) in emitCAPIImpl()
/llvm-project/clang/lib/Sema/
H A DUsedDeclVisitor.h84 asImpl().visitUsedDecl(E->getBeginLoc(), E->getConstructor()); in VisitCXXConstructExpr()
85 CXXConstructorDecl *D = E->getConstructor(); in VisitCXXConstructExpr()
H A DCheckExprLifetime.cpp433 const auto *LHSRecordDecl = Ctor->getConstructor()->getParent(); in visitLifetimeBoundArguments()
440 if (Ctor->getConstructor()->param_empty() || in visitLifetimeBoundArguments()
495 Ctor->getConstructor()->getPrimaryTemplate(); in visitLocalsRetainedByReferenceBinding()
571 Callee = CCE->getConstructor(); in visitLocalsRetainedByReferenceBinding()
690 VisitGSLPointerArg(Ctor->getConstructor(), Arg); in visitLocalsRetainedByInitializer()
1011 if (CCE->getConstructor()->isCopyOrMoveConstructor()) { in checkExprLifetimeImpl()
1015 CCE->getConstructor()}); in checkExprLifetimeImpl()
H A DSemaCUDA.cpp540 return isEmptyConstructor(Loc, CE->getConstructor()); in isEmptyConstructor()
633 return S.isEmptyConstructor(VD->getLocation(), CE->getConstructor()); in HasAllowedCUDADeviceStaticInitializer()
687 InitFn = CE->getConstructor(); in checkAllowedInitializer()
/llvm-project/clang/include/clang/Analysis/
H A DAnyCall.h89 : E(NE), D(NE->getConstructor()), K(Constructor) {} in AnyCall()
92 : E(CIE), D(CIE->getConstructor()), K(InheritedConstructor) {} in AnyCall()
/llvm-project/clang/unittests/Tooling/RecursiveASTVisitorTests/
H A DConstructExpr.cpp26 if (const CXXConstructorDecl* Ctor = Expr->getConstructor()) { in shouldVisitImplicitCode()
/llvm-project/clang-tools-extra/clang-tidy/zircon/
H A DTemporaryObjectsCheck.cpp48 << D->getConstructor()->getParent(); in check()
/llvm-project/mlir/include/mlir/TableGen/
H A DPass.h95 StringRef getConstructor() const;
/llvm-project/clang-tools-extra/clang-tidy/modernize/
H A DReturnBracedInitListCheck.cpp84 MatchedConstructExpr->getConstructor()->getParamDecl(I))) { in check()
H A DUseAutoCheck.cpp319 if (NestedConstruct->getConstructor()->isConvertingConstructor(false)) in replaceIterators()
/llvm-project/mlir/lib/TableGen/
H A DPass.cpp90 StringRef Pass::getConstructor() const { in getConstructor() function in Pass
/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DASTUtils.cpp38 if (auto *C = tempExpr->getConstructor()) { in tryToFindPtrOrigin()
H A DPtrTypesSemantics.cpp563 return IsFunctionTrivial(CE->getConstructor()); in isTrivialImpl()
567 return IsFunctionTrivial(E->getConstructor()); in isTrivialImpl()
/llvm-project/clang-tools-extra/clang-tidy/bugprone/
H A DCopyConstructorInitCheck.cpp72 if (!CExpr || !CExpr->getConstructor()->isDefaultConstructor()) in check()
H A DArgumentCommentCheck.cpp363 Result.Context, Construct->getConstructor(), in check()
/llvm-project/clang-tools-extra/clang-tidy/misc/
H A DThrowByValueCatchByReferenceCheck.cpp111 ConstructorCall->getConstructor()->isCopyOrMoveConstructor()) { in diagnoseThrowLocations()
/llvm-project/clang/lib/Analysis/
H A DCallGraph.cpp97 CXXConstructorDecl *Ctor = E->getConstructor(); in VisitCXXConstructExpr()
/llvm-project/clang-tools-extra/clang-tidy/readability/
H A DNonConstParameterCheck.cpp86 if (const auto *CD = CE->getConstructor()) { in check()
H A DContainerSizeEmptyCheck.cpp90 return Node.getConstructor()->isDefaultConstructor(); in AST_MATCHER()
/llvm-project/clang/lib/AST/Interp/
H A DInterp.cpp
/llvm-project/clang-tools-extra/clangd/
H A DAST.cpp793 auto *Callee = E->getConstructor(); in VisitCXXConstructExpr()
930 if (Const->getConstructor()->isCopyOrMoveConstructor()) in unwrapForward()
/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCallEvent.h1016 return getOriginExpr()->getConstructor(); in getArgExpr()
1076 return getOriginExpr()->getConstructor();
/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCXX.cpp726 if (CE && CE->getConstructor()->isTrivial() && in handleConstructor()
727 CE->getConstructor()->isCopyOrMoveConstructor() && in handleConstructor()

123