Home
last modified time | relevance | path

Searched defs:Ctor (Results 1 – 25 of 148) sorted by relevance

123456

/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dbugprone-undelegated-constructor-cxx98.cpp9 struct Ctor { struct
13 Ctor(Ctor *i) { in Ctor() argument
21 Ctor::Ctor() { in Ctor() function in Ctor
Dbugprone-undelegated-constructor.cpp6 struct Ctor { struct
10 Ctor(Ctor *i) { in Ctor() argument
21 Ctor::Ctor() { in Ctor() function in Ctor
26 Ctor::Ctor(int i) : Ctor(i, 1) {} // properly delegated. in Ctor() function in Ctor
Dbugprone-unused-raii.cpp32 struct Ctor { struct
34 Ctor() { in Ctor() function
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DPassByValueCheck.cpp41 for (const CXXConstructorDecl *Ctor : Node.ctors()) { in AST_MATCHER() local
61 static bool paramReferredExactlyOnce(const CXXConstructorDecl *Ctor, in paramReferredExactlyOnce()
78 bool hasExactlyOneUsageIn(const CXXConstructorDecl *Ctor) { in paramReferredExactlyOnce()
111 collectParamDecls(const CXXConstructorDecl *Ctor, in collectParamDecls()
174 const auto *Ctor = Result.Nodes.getNodeAs<CXXConstructorDecl>("Ctor"); in check() local
DUseEqualsDefaultCheck.cpp61 const CXXConstructorDecl *Ctor) { in isCopyConstructorAndCanBeDefaulted()
285 if (const auto *Ctor = dyn_cast<CXXConstructorDecl>(SpecialFunctionDecl)) { in check() local
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DCopyConstructorInitCheck.cpp35 const auto *Ctor = Result.Nodes.getNodeAs<CXXConstructorDecl>("ctor"); in check() local
64 for (const auto *Ctor : BaseClass->ctors()) { in check() local
/external/clang/unittests/ASTMatchers/Dynamic/
DRegistryTest.cpp46 llvm::Optional<MatcherCtor> Ctor = lookupMatcherCtor(MatcherName); in constructMatcher() local
59 llvm::Optional<MatcherCtor> Ctor = lookupMatcherCtor(MatcherName); in constructMatcher() local
73 llvm::Optional<MatcherCtor> Ctor = lookupMatcherCtor(MatcherName); in constructMatcher() local
92 llvm::Optional<MatcherCtor> Ctor = lookupMatcherCtor(MatcherName1); in getCompletions() local
103 llvm::Optional<MatcherCtor> Ctor = lookupMatcherCtor(MatcherName1); in getCompletions() local
/external/llvm/include/llvm/
DPassInfo.h98 void setNormalCtor(NormalCtor_t Ctor) { in setNormalCtor()
108 void setTargetMachineCtor(TargetMachineCtor_t Ctor) { in setTargetMachineCtor()
/external/llvm-project/clang/unittests/ASTMatchers/Dynamic/
DRegistryTest.cpp45 llvm::Optional<MatcherCtor> Ctor = lookupMatcherCtor(MatcherName); in constructMatcher() local
58 llvm::Optional<MatcherCtor> Ctor = lookupMatcherCtor(MatcherName); in constructMatcher() local
72 llvm::Optional<MatcherCtor> Ctor = lookupMatcherCtor(MatcherName); in constructMatcher() local
91 llvm::Optional<MatcherCtor> Ctor = lookupMatcherCtor(MatcherName1); in getCompletions() local
102 llvm::Optional<MatcherCtor> Ctor = lookupMatcherCtor(MatcherName1); in getCompletions() local
/external/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp476 MatcherCtor Ctor = CtxEntry.first; in getAcceptedCompletionTypes() local
571 VariantMatcher Registry::constructMatcher(MatcherCtor Ctor, in constructMatcher()
579 VariantMatcher Registry::constructBoundMatcher(MatcherCtor Ctor, in constructBoundMatcher()
/external/llvm-project/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp598 MatcherCtor Ctor = CtxEntry.first; in getAcceptedCompletionTypes() local
692 VariantMatcher Registry::constructMatcher(MatcherCtor Ctor, in constructMatcher()
699 VariantMatcher Registry::constructBoundMatcher(MatcherCtor Ctor, in constructBoundMatcher()
/external/llvm-project/llvm/include/llvm/CodeGen/
DMachinePassRegistry.h53 PassCtorTy Ctor; // Pass creator. variable
91 PassCtorTy Ctor = nullptr; in setDefault() local
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DMachinePassRegistry.h53 PassCtorTy Ctor; // Pass creator. variable
91 PassCtorTy Ctor = nullptr; in setDefault() local
/external/llvm-project/llvm/lib/Transforms/Utils/
DModuleUtils.cpp123 Function *Ctor = Function::Create( in createSanitizerCtor() local
140 Function *Ctor = createSanitizerCtor(M, CtorName); in createSanitizerCtorAndInitFunctions() local
160 if (Function *Ctor = M.getFunction(CtorName)) in getOrCreateSanitizerCtorAndInitFunctions() local
167 Function *Ctor; in getOrCreateSanitizerCtorAndInitFunctions() local
/external/llvm/lib/Transforms/Utils/
DModuleUtils.cpp45 auto Ctor = cast<Constant>(Init->getOperand(i)); in appendToGlobalArray() local
109 Function *Ctor = Function::Create( in createSanitizerCtorAndInitFunctions() local
/external/llvm-project/clang/unittests/Tooling/RecursiveASTVisitorTests/
DImplicitCtor.cpp21 bool VisitCXXConstructorDecl(CXXConstructorDecl* Ctor) { in VisitCXXConstructorDecl()
DConstructExpr.cpp33 if (const CXXConstructorDecl* Ctor = Expr->getConstructor()) { in VisitCXXConstructExpr() local
/external/llvm/lib/CodeGen/
DMachinePassRegistry.cpp23 MachinePassCtor Ctor = nullptr; in setDefault() local
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/
DProTypeMemberInitCheck.cpp231 const CXXConstructorDecl *Ctor, in fixInitializerList()
296 if (const auto *Ctor = Result.Nodes.getNodeAs<CXXConstructorDecl>("ctor")) { in check() local
392 const CXXConstructorDecl *Ctor) { in checkMissingMemberInitializer()
482 const CXXConstructorDecl *Ctor) { in checkMissingBaseClassInitializer()
/external/clang/lib/StaticAnalyzer/Checkers/
DUndefinedArraySubscriptChecker.cpp45 if (const CXXConstructorDecl *Ctor = dyn_cast<CXXConstructorDecl>(D)) in checkPreStmt() local
/external/tensorflow/tensorflow/core/platform/
Dstringpiece_test.cc24 TEST(StringPiece, Ctor) { in TEST() argument
/external/llvm-project/clang-tools-extra/clang-tidy/performance/
DNoexceptMoveConstructorCheck.cpp33 if (const auto *Ctor = dyn_cast<CXXConstructorDecl>(Decl)) { in check() local
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DUndefinedArraySubscriptChecker.cpp44 if (const CXXConstructorDecl *Ctor = dyn_cast<CXXConstructorDecl>(D)) in checkPreStmt() local
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DModuleUtils.cpp129 Function *Ctor = Function::Create( in createSanitizerCtorAndInitFunctions() local
152 if (Function *Ctor = M.getFunction(CtorName)) in getOrCreateSanitizerCtorAndInitFunctions() local
159 Function *Ctor; in getOrCreateSanitizerCtorAndInitFunctions() local
/external/clang/unittests/Tooling/
DRecursiveASTVisitorTestExprVisitor.cpp82 bool VisitCXXConstructorDecl(CXXConstructorDecl* Ctor) { in VisitCXXConstructorDecl()
121 if (const CXXConstructorDecl* Ctor = Expr->getConstructor()) { in VisitCXXConstructExpr() local

123456