Home
last modified time | relevance | path

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

123

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/
H A DMoveConstArgCheck.cpp81 if (const auto *ConstructorDecl = ConstructCallExpr->getConstructor()) { in IsRValueReferenceParam()
169 !ReceivingConstructExpr->getConstructor() || in check()
170 ReceivingConstructExpr->getConstructor()->isTemplateInstantiation())) in check()
177 : ReceivingConstructExpr->getConstructor()->getUnderlyingDecl(); in check()
/llvm-project-15.0.7/clang/include/clang/Analysis/
H A DAnyCall.h88 : E(NE), D(NE->getConstructor()), K(Constructor) {} in AnyCall()
91 : E(CIE), D(CIE->getConstructor()), K(InheritedConstructor) {} in AnyCall()
/llvm-project-15.0.7/clang/unittests/Tooling/RecursiveASTVisitorTests/
H A DConstructExpr.cpp33 if (const CXXConstructorDecl* Ctor = Expr->getConstructor()) { in VisitCXXConstructExpr()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/zircon/
H A DTemporaryObjectsCheck.cpp51 << D->getConstructor()->getParent(); in check()
/llvm-project-15.0.7/mlir/include/mlir/TableGen/
H A DPass.h95 StringRef getConstructor() const;
/llvm-project-15.0.7/mlir/tools/mlir-tblgen/
H A DPassCAPIGen.cpp101 pass.getConstructor()); in emitCAPIImpl()
H A DPassGen.cpp187 pass.getConstructor()); in emitRegistration()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DReturnBracedInitListCheck.cpp69 MatchedConstructExpr->getConstructor()->getParamDecl(I))) { in check()
H A DUseAutoCheck.cpp319 if (NestedConstruct->getConstructor()->isConvertingConstructor(false)) in replaceIterators()
/llvm-project-15.0.7/mlir/lib/TableGen/
H A DPass.cpp90 StringRef Pass::getConstructor() const { in getConstructor() function in Pass
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DCopyConstructorInitCheck.cpp74 if (!CExpr || !CExpr->getConstructor()->isDefaultConstructor()) in check()
H A DArgumentCommentCheck.cpp365 Result.Context, Construct->getConstructor(), in check()
/llvm-project-15.0.7/clang/lib/Sema/
H A DUsedDeclVisitor.h84 asImpl().visitUsedDecl(E->getBeginLoc(), E->getConstructor()); in VisitCXXConstructExpr()
H A DSemaCUDA.cpp493 return isEmptyCudaConstructor(Loc, CE->getConstructor()); in isEmptyCudaConstructor()
586 return S.isEmptyCudaConstructor(VD->getLocation(), CE->getConstructor()); in HasAllowedCUDADeviceStaticInitializer()
633 InitFn = CE->getConstructor(); in checkAllowedCUDAInitializer()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/
H A DThrowByValueCatchByReferenceCheck.cpp113 ConstructorCall->getConstructor()->isCopyOrMoveConstructor()) { in diagnoseThrowLocations()
/llvm-project-15.0.7/clang/lib/AST/Interp/
H A DInterp.cpp351 auto *Inherited = CD->getInheritedConstructor().getConstructor(); in CheckCallable()
361 << CD->getInheritedConstructor().getConstructor()->getParent(); in CheckCallable()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DCallGraph.cpp97 CXXConstructorDecl *Ctor = E->getConstructor(); in VisitCXXConstructExpr()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DNonConstParameterCheck.cpp88 if (const auto *CD = CE->getConstructor()) { in check()
H A DContainerSizeEmptyCheck.cpp87 return Node.getConstructor()->isDefaultConstructor(); in AST_MATCHER()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/
H A DExceptionAnalyzer.cpp210 throwsException(Construct->getConstructor(), CallStack); in throwsException()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DAST.cpp770 auto *Callee = E->getConstructor(); in VisitCXXConstructExpr()
908 if (Const->getConstructor()->isCopyOrMoveConstructor()) in unwrapForward()
H A DDumpAST.cpp236 return CCO->getConstructor()->getNameAsString(); in getDetail()
H A DIncludeCleaner.cpp77 add(CCE->getConstructor()); in VisitCXXConstructExpr()
/llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCallEvent.h899 return getOriginExpr()->getConstructor(); in getDecl()
958 return getOriginExpr()->getConstructor(); in getDecl()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCXX.cpp723 if (CE && CE->getConstructor()->isTrivial() && in handleConstructor()
724 CE->getConstructor()->isCopyOrMoveConstructor() && in handleConstructor()

123