/external/clang/test/Parser/ |
D | cxx-class.cpp | 73 class Ctor { // expected-note{{not complete until the closing '}'}} class 74 Ctor(f)(int); // ok 75 Ctor(g(int)); // ok 76 Ctor(x[5]); // expected-error{{incomplete type}} 78 Ctor(UnknownType *); // expected-error{{unknown type name 'UnknownType'}} 82 Ctor::Ctor (x) = { 0 }; // \ 85 Ctor::Ctor(UnknownType *) {} // \ in Ctor() function in ctor_error::Ctor 87 void Ctor::operator+(UnknownType*) {} // \ in operator +()
|
/external/v8/test/mjsunit/ |
D | regress-sync-optimized-lists.js | 8 function Ctor() { class 27 f1(new Ctor(), false); 28 f1(new Ctor(), false); 33 var o = new Ctor(); 45 f2(new Ctor(), true);
|
/external/clang/test/SemaCXX/ |
D | deprecated.cpp | 61 struct Ctor { struct 62 Ctor(); 63 …Ctor(const Ctor&); // expected-warning {{definition of implicit copy assignment operator for 'Ctor… 65 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/v8/test/mjsunit/regress/ |
D | regress-343609.js | 8 function Ctor() { class 37 var o = new Ctor(); 41 f1(new Ctor()); 42 f1(new Ctor()); 66 f2(new Ctor());
|
D | regress-crbug-305309.js | 38 function Ctor() {} class 39 Ctor.prototype = b1; 40 var a = new Ctor();
|
D | regress-crbug-350434.js | 7 function Ctor() { class 11 var o = new Ctor(); 12 var p = new Ctor();
|
/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/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 | Passes.cpp | 659 RegisterRegAlloc::FunctionPassCtor Ctor = RegisterRegAlloc::getDefault(); in createRegAllocPass() local 662 if (!Ctor) { in createRegAllocPass() 663 Ctor = RegAlloc; in createRegAllocPass() 666 if (Ctor != useDefaultRegisterAllocator) in createRegAllocPass() 667 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/llvm/include/llvm/ |
D | PassInfo.h | 102 void setNormalCtor(NormalCtor_t Ctor) { in setNormalCtor() argument 103 NormalCtor = Ctor; in setNormalCtor() 112 void setTargetMachineCtor(TargetMachineCtor_t Ctor) { in setTargetMachineCtor() argument 113 TargetMachineCtor = Ctor; in setTargetMachineCtor()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | DynamicTypePropagation.cpp | 62 if (const CXXConstructorCall *Ctor = dyn_cast<CXXConstructorCall>(&Call)) { in checkPreCall() local 71 switch (Ctor->getOriginExpr()->getConstructionKind()) { in checkPreCall() 78 if (const MemRegion *Target = Ctor->getCXXThisVal().getAsRegion()) in checkPreCall() 79 recordFixedType(Target, Ctor->getDecl(), C); in checkPreCall() 152 if (const CXXConstructorCall *Ctor = dyn_cast<CXXConstructorCall>(&Call)) { in checkPostCall() local 154 switch (Ctor->getOriginExpr()->getConstructionKind()) { in checkPostCall() 165 if (const MemRegion *Target = Ctor->getCXXThisVal().getAsRegion()) { in checkPostCall()
|
D | UndefinedArraySubscriptChecker.cpp | 45 if (const CXXConstructorDecl *Ctor = dyn_cast<CXXConstructorDecl>(D)) in checkPreStmt() local 46 if (Ctor->isDefaulted()) in checkPreStmt()
|
/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/clang/lib/ASTMatchers/Dynamic/ |
D | Registry.cpp | 405 MatcherCtor Ctor = CtxEntry.first; in getAcceptedCompletionTypes() local 410 Ctor->isConvertibleTo(Kind.getMatcherKind()) && in getAcceptedCompletionTypes() 411 (Ctor->isVariadic() || ArgNumber < Ctor->getNumArgs())) in getAcceptedCompletionTypes() 412 Ctor->getArgKinds(Kind.getMatcherKind(), ArgNumber, NextTypeSet); in getAcceptedCompletionTypes() 499 VariantMatcher Registry::constructMatcher(MatcherCtor Ctor, in constructMatcher() argument 503 return Ctor->create(NameRange, Args, Error); in constructMatcher() 507 VariantMatcher Registry::constructBoundMatcher(MatcherCtor Ctor, in constructBoundMatcher() argument 512 VariantMatcher Out = constructMatcher(Ctor, NameRange, Args, Error); in constructBoundMatcher()
|
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, const 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()
|
/external/clang/include/clang/ASTMatchers/Dynamic/ |
D | Registry.h | 108 static VariantMatcher constructMatcher(MatcherCtor Ctor, 119 static VariantMatcher constructBoundMatcher(MatcherCtor Ctor,
|
D | Parser.h | 83 virtual VariantMatcher actOnMatcherExpression(MatcherCtor Ctor, 131 VariantMatcher actOnMatcherExpression(MatcherCtor Ctor,
|
/external/llvm/include/llvm/Support/ |
D | Registry.h | 27 std::unique_ptr<T> (*Ctor)(); variable 31 : Name(N), Desc(D), Ctor(C) in SimpleRegistryEntry() 36 std::unique_ptr<T> instantiate() const { return Ctor(); } in instantiate()
|
/external/clang/lib/CodeGen/ |
D | CGClass.cpp | 663 static bool IsConstructorDelegationValid(const CXXConstructorDecl *Ctor) { in IsConstructorDelegationValid() argument 677 if (Ctor->getParent()->getNumVBases()) { in IsConstructorDelegationValid() 697 if (Ctor->getType()->getAs<FunctionProtoType>()->isVariadic()) in IsConstructorDelegationValid() 701 if (Ctor->isDelegatingConstructor()) in IsConstructorDelegationValid() 775 const CXXConstructorDecl *Ctor = cast<CXXConstructorDecl>(CurGD.getDecl()); in EmitConstructorBody() local 784 if (CtorType == Ctor_Complete && IsConstructorDelegationValid(Ctor) && in EmitConstructorBody() 786 EmitDelegateCXXConstructorCall(Ctor, Ctor_Base, Args, Ctor->getLocEnd()); in EmitConstructorBody() 791 Stmt *Body = Ctor->getBody(Definition); in EmitConstructorBody() 792 assert(Definition == Ctor && "emitting wrong constructor body"); in EmitConstructorBody() 810 EmitCtorPrologue(Ctor, CtorType, Args); in EmitConstructorBody() [all …]
|
/external/llvm/tools/lli/ |
D | OrcLazyJIT.h | 86 for (auto Ctor : orc::getConstructors(*M)) in addModule() local 87 CtorNames.push_back(mangle(Ctor.Func->getName())); in addModule()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | ExprEngineCXX.cpp | 43 if (const CXXConstructorCall *Ctor = dyn_cast<CXXConstructorCall>(&Call)) { in performTrivialCopy() local 44 assert(Ctor->getDecl()->isTrivial()); in performTrivialCopy() 45 assert(Ctor->getDecl()->isCopyOrMoveConstructor()); in performTrivialCopy() 46 ThisVal = Ctor->getCXXThisVal(); in performTrivialCopy()
|
/external/clang/test/CodeGenCXX/ |
D | const-init-cxx11.cpp | 441 struct Ctor { constexpr Ctor(int n) : k(n) {} int k; }; in Ctor() argument 459 int ctor() { constexpr Ctor a = { f(102) }; return a.k; } in ctor()
|