/external/clang/test/Parser/ |
D | cxx-class.cpp | 105 class Ctor { // expected-note{{not complete until the closing '}'}} class 106 Ctor(f)(int); // ok 107 Ctor(g(int)); // ok 108 Ctor(x[5]); // expected-error{{incomplete type}} 110 Ctor(UnknownType *); // expected-error{{unknown type name 'UnknownType'}} 114 Ctor::Ctor (x) = { 0 }; // \ 117 Ctor::Ctor(UnknownType *) {} // \ in Ctor() function in ctor_error::Ctor 119 void Ctor::operator+(UnknownType*) {} // \ in operator +()
|
/external/clang/test/SemaCXX/ |
D | deprecated.cpp | 76 struct Ctor { struct 77 Ctor(); 78 …Ctor(const Ctor&); // expected-warning {{definition of implicit copy assignment operator for 'Ctor… 80 Ctor b1, b2;
|
D | cxx98-compat.cpp | 52 struct Ctor { struct 53 Ctor(int, char); 54 Ctor(double, long); 72 …Ctor c1 = { 1, 2 }; // expected-warning {{constructor call from initializer list is incompatible w… 73 …Ctor c2 = { 3.0, 4l }; // expected-warning {{constructor call from initializer list is incompatibl…
|
/external/llvm/lib/Transforms/Utils/ |
D | ModuleUtils.cpp | 45 auto Ctor = cast<Constant>(Init->getOperand(i)); in appendToGlobalArray() local 47 Ctor = ConstantStruct::get( in appendToGlobalArray() 48 EltTy, Ctor->getAggregateElement((unsigned)0), in appendToGlobalArray() 49 Ctor->getAggregateElement(1), in appendToGlobalArray() 51 CurrentCtors.push_back(Ctor); in appendToGlobalArray() 109 Function *Ctor = Function::Create( in createSanitizerCtorAndInitFunctions() local 112 BasicBlock *CtorBB = BasicBlock::Create(M.getContext(), "", Ctor); in createSanitizerCtorAndInitFunctions() 127 return std::make_pair(Ctor, InitFunction); in createSanitizerCtorAndInitFunctions()
|
/external/clang/test/CXX/class/class.union/ |
D | p1.cpp | 16 class Ctor { class 17 …Ctor() { abort(); } // expected-note 2{{because type 'Ctor' has a user-provided default constructo… in Ctor() function in Ctor 41 Ctor ctor; // expected-error {{union member 'ctor' has a non-trivial constructor}} 58 …Ctor ctor; // expected-note {{because field of type 'Ctor' has a user-provided default constructor… 82 …struct s3 : Ctor { // expected-note {{because base class of type 'Ctor' has a user-provided defaul… 128 Either<int,Ctor> ctor(0); // expected-note {{in instantiation of template}} in fred()
|
/external/clang/unittests/ASTMatchers/Dynamic/ |
D | RegistryTest.cpp | 46 llvm::Optional<MatcherCtor> Ctor = lookupMatcherCtor(MatcherName); in constructMatcher() local 48 if (Ctor) in constructMatcher() 49 Out = Registry::constructMatcher(*Ctor, SourceRange(), Args(), Error); in constructMatcher() 59 llvm::Optional<MatcherCtor> Ctor = lookupMatcherCtor(MatcherName); in constructMatcher() local 61 if (Ctor) in constructMatcher() 62 Out = Registry::constructMatcher(*Ctor, SourceRange(), Args(Arg1), Error); in constructMatcher() 73 llvm::Optional<MatcherCtor> Ctor = lookupMatcherCtor(MatcherName); in constructMatcher() local 75 if (Ctor) in constructMatcher() 76 Out = Registry::constructMatcher(*Ctor, SourceRange(), Args(Arg1, Arg2), in constructMatcher() 92 llvm::Optional<MatcherCtor> Ctor = lookupMatcherCtor(MatcherName1); in getCompletions() local [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | MachinePassRegistry.cpp | 23 MachinePassCtor Ctor = nullptr; in setDefault() local 26 Ctor = R->getCtor(); in setDefault() 30 assert(Ctor && "Unregistered pass name"); in setDefault() 31 setDefault(Ctor); in setDefault()
|
/external/llvm/lib/CodeGen/ |
D | MachinePassRegistry.cpp | 23 MachinePassCtor Ctor = nullptr; in setDefault() local 26 Ctor = R->getCtor(); in setDefault() 30 assert(Ctor && "Unregistered pass name"); in setDefault() 31 setDefault(Ctor); in setDefault()
|
D | TargetPassConfig.cpp | 735 RegisterRegAlloc::FunctionPassCtor Ctor = RegisterRegAlloc::getDefault(); in initializeDefaultRegisterAllocatorOnce() local 737 if (!Ctor) { in initializeDefaultRegisterAllocatorOnce() 738 Ctor = RegAlloc; in initializeDefaultRegisterAllocatorOnce() 773 RegisterRegAlloc::FunctionPassCtor Ctor = RegisterRegAlloc::getDefault(); in createRegAllocPass() local 774 if (Ctor != useDefaultRegisterAllocator) in createRegAllocPass() 775 return Ctor(); in createRegAllocPass()
|
/external/clang/unittests/Tooling/ |
D | RecursiveASTVisitorTestExprVisitor.cpp | 82 bool VisitCXXConstructorDecl(CXXConstructorDecl* Ctor) { in VisitCXXConstructorDecl() argument 83 if (Ctor->isImplicit()) { // Was not written in source code in VisitCXXConstructorDecl() 84 if (const CXXRecordDecl* Class = Ctor->getParent()) { in VisitCXXConstructorDecl() 85 Match(Class->getName(), Ctor->getLocation()); in VisitCXXConstructorDecl() 121 if (const CXXConstructorDecl* Ctor = Expr->getConstructor()) { in VisitCXXConstructExpr() local 122 if (const CXXRecordDecl* Class = Ctor->getParent()) { in VisitCXXConstructExpr()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/internal/ |
D | ExceptionsConstuctor.kt | 15 private typealias Ctor = (Throwable) -> Throwable? in <lambda>() typealias 17 private val exceptionCtors: WeakHashMap<Class<out Throwable>, Ctor> = WeakHashMap() in <lambda>() 40 var ctor: Ctor? = null in <lambda>() 51 private fun createConstructor(constructor: Constructor<*>): Ctor? { in createConstructor() 71 private inline fun safeCtor(crossinline block: (Throwable) -> Throwable): Ctor = in safeCtor()
|
/external/llvm/include/llvm/ |
D | PassInfo.h | 98 void setNormalCtor(NormalCtor_t Ctor) { in setNormalCtor() argument 99 NormalCtor = Ctor; in setNormalCtor() 108 void setTargetMachineCtor(TargetMachineCtor_t Ctor) { in setTargetMachineCtor() argument 109 TargetMachineCtor = Ctor; in setTargetMachineCtor()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | ModuleUtils.cpp | 45 auto Ctor = cast<Constant>(Init->getOperand(i)); in appendToGlobalArray() local 47 Ctor = in appendToGlobalArray() 48 ConstantStruct::get(EltTy, Ctor->getAggregateElement((unsigned)0), in appendToGlobalArray() 49 Ctor->getAggregateElement(1), in appendToGlobalArray() 51 CurrentCtors.push_back(Ctor); in appendToGlobalArray() 161 Function *Ctor = Function::Create( in createSanitizerCtorAndInitFunctions() local 164 BasicBlock *CtorBB = BasicBlock::Create(M.getContext(), "", Ctor); in createSanitizerCtorAndInitFunctions() 174 return std::make_pair(Ctor, InitFunction); in createSanitizerCtorAndInitFunctions()
|
/external/llvm/include/llvm/CodeGen/ |
D | MachinePassRegistry.h | 57 MachinePassCtor Ctor; // Function pass creator. variable 65 , Ctor(C) in MachinePassRegistryNode() 73 MachinePassCtor getCtor() const { return Ctor; } in getCtor()
|
/external/llvm/unittests/ADT/ |
D | StringMapTest.cpp | 390 static unsigned Ctor; member 394 CountCtorCopyAndMove(int Data) : Data(Data) { Ctor++; } in CountCtorCopyAndMove() 395 CountCtorCopyAndMove() { Ctor++; } in CountCtorCopyAndMove() 410 unsigned CountCtorCopyAndMove::Ctor = 0; member in __anon884106b60111::__anon884106b60211::CountCtorCopyAndMove 439 CountCtorCopyAndMove::Ctor = 0; in TEST() 441 EXPECT_EQ(1u, CountCtorCopyAndMove::Ctor); in TEST() 443 CountCtorCopyAndMove::Ctor = 0; in TEST() 445 EXPECT_EQ(0u, CountCtorCopyAndMove::Ctor); in TEST()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/ |
D | MachinePassRegistry.h | 56 MachinePassCtor Ctor; // Function pass creator. variable 60 : Name(N), Description(D), Ctor(C) {} in MachinePassRegistryNode() 67 MachinePassCtor getCtor() const { return Ctor; } in getCtor()
|
/external/clang/lib/ASTMatchers/Dynamic/ |
D | Parser.cpp | 335 llvm::Optional<MatcherCtor> Ctor = S->lookupMatcherCtor(NameToken.Text); in parseMatcherExpressionImpl() local 337 if (!Ctor) { in parseMatcherExpressionImpl() 347 ScopedContextEntry SCE(this, Ctor ? *Ctor : nullptr); in parseMatcherExpressionImpl() 421 if (!Ctor) in parseMatcherExpressionImpl() 430 *Ctor, MatcherRange, BindID, Args, Error); in parseMatcherExpressionImpl() 537 MatcherCtor Ctor, SourceRange NameRange, StringRef BindID, in actOnMatcherExpression() argument 540 return Registry::constructMatcher(Ctor, NameRange, Args, Error); in actOnMatcherExpression() 542 return Registry::constructBoundMatcher(Ctor, NameRange, BindID, Args, in actOnMatcherExpression()
|
D | Registry.cpp | 476 MatcherCtor Ctor = CtxEntry.first; in getAcceptedCompletionTypes() local 481 Ctor->isConvertibleTo(Kind.getMatcherKind()) && in getAcceptedCompletionTypes() 482 (Ctor->isVariadic() || ArgNumber < Ctor->getNumArgs())) in getAcceptedCompletionTypes() 483 Ctor->getArgKinds(Kind.getMatcherKind(), ArgNumber, NextTypeSet); in getAcceptedCompletionTypes() 571 VariantMatcher Registry::constructMatcher(MatcherCtor Ctor, in constructMatcher() argument 575 return Ctor->create(NameRange, Args, Error); in constructMatcher() 579 VariantMatcher Registry::constructBoundMatcher(MatcherCtor Ctor, in constructBoundMatcher() argument 584 VariantMatcher Out = constructMatcher(Ctor, NameRange, Args, Error); in constructBoundMatcher()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/ |
D | StringMapTest.cpp | 420 static unsigned Ctor; member 424 CountCtorCopyAndMove(int Data) : Data(Data) { Ctor++; } in CountCtorCopyAndMove() 425 CountCtorCopyAndMove() { Ctor++; } in CountCtorCopyAndMove() 440 unsigned CountCtorCopyAndMove::Ctor = 0; member in __anon8cca574e0111::__anon8cca574e0211::CountCtorCopyAndMove 469 CountCtorCopyAndMove::Ctor = 0; in TEST() 471 EXPECT_EQ(1u, CountCtorCopyAndMove::Ctor); in TEST() 473 CountCtorCopyAndMove::Ctor = 0; in TEST() 475 EXPECT_EQ(0u, CountCtorCopyAndMove::Ctor); in TEST()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | UndefinedArraySubscriptChecker.cpp | 45 if (const CXXConstructorDecl *Ctor = dyn_cast<CXXConstructorDecl>(D)) in checkPreStmt() local 46 if (Ctor->isDefaulted()) in checkPreStmt()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | Registry.h | 30 std::unique_ptr<T> (*Ctor)(); variable 34 : Name(N), Desc(D), Ctor(C) {} in SimpleRegistryEntry() 38 std::unique_ptr<T> instantiate() const { return Ctor(); } in instantiate()
|
/external/clang/include/clang/ASTMatchers/Dynamic/ |
D | Registry.h | 108 static VariantMatcher constructMatcher(MatcherCtor Ctor, 119 static VariantMatcher constructBoundMatcher(MatcherCtor Ctor,
|
/external/llvm/include/llvm/Support/ |
D | Registry.h | 29 std::unique_ptr<T> (*Ctor)(); variable 33 : Name(N), Desc(D), Ctor(C) in SimpleRegistryEntry() 38 std::unique_ptr<T> instantiate() const { return Ctor(); } in instantiate()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ |
D | PassInfo.h | 92 void setNormalCtor(NormalCtor_t Ctor) { in setNormalCtor() argument 93 NormalCtor = Ctor; in setNormalCtor()
|
/external/clang/lib/CodeGen/ |
D | CGClass.cpp | 807 static bool IsConstructorDelegationValid(const CXXConstructorDecl *Ctor) { in IsConstructorDelegationValid() argument 821 if (Ctor->getParent()->getNumVBases()) { in IsConstructorDelegationValid() 841 if (Ctor->getType()->getAs<FunctionProtoType>()->isVariadic()) in IsConstructorDelegationValid() 845 if (Ctor->isDelegatingConstructor()) in IsConstructorDelegationValid() 919 const CXXConstructorDecl *Ctor = cast<CXXConstructorDecl>(CurGD.getDecl()); in EmitConstructorBody() local 928 if (CtorType == Ctor_Complete && IsConstructorDelegationValid(Ctor) && in EmitConstructorBody() 930 EmitDelegateCXXConstructorCall(Ctor, Ctor_Base, Args, Ctor->getLocEnd()); in EmitConstructorBody() 935 Stmt *Body = Ctor->getBody(Definition); in EmitConstructorBody() 936 assert(Definition == Ctor && "emitting wrong constructor body"); in EmitConstructorBody() 953 EmitCtorPrologue(Ctor, CtorType, Args); in EmitConstructorBody() [all …]
|