HomeSort by relevance Sort by last modified time
    Searched refs:Ctor (Results 1 - 25 of 50) sorted by null

1 2

  /external/clang/test/Parser/
cxx-class.cpp 73 class Ctor { // expected-note{{not complete until the closing '}'}}
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 }; // \
83 // expected-error{{qualified reference to 'Ctor' is a constructor name}}
85 Ctor::Ctor(UnknownType *) {} //
    [all...]
  /external/clang/test/SemaCXX/
deprecated.cpp 55 struct Ctor {
56 Ctor();
57 Ctor(const Ctor&); // expected-warning {{definition of implicit copy assignment operator for 'Ctor' is deprecated because it has a user-declared copy constructor}}
59 Ctor b1, b2;
60 void f() { b1 = b2; } // expected-note {{implicit copy assignment operator for 'Ctor' first required here}}
cxx98-compat.cpp 52 struct Ctor {
53 Ctor(int, char);
54 Ctor(double, long);
72 Ctor c1 = { 1, 2 }; // expected-warning {{constructor call from initializer list is incompatible with C++98}}
73 Ctor c2 = { 3.0, 4l }; // expected-warning {{constructor call from initializer list is incompatible with C++98}}
  /external/llvm/lib/CodeGen/
MachinePassRegistry.cpp 23 MachinePassCtor Ctor = nullptr;
26 Ctor = R->getCtor();
30 assert(Ctor && "Unregistered pass name");
31 setDefault(Ctor);
Passes.cpp 664 RegisterRegAlloc::FunctionPassCtor Ctor = RegisterRegAlloc::getDefault();
667 if (!Ctor) {
668 Ctor = RegAlloc;
671 if (Ctor != useDefaultRegisterAllocator)
672 return Ctor();
  /external/chromium_org/v8/test/mjsunit/
regress-sync-optimized-lists.js 8 function Ctor() {
27 f1(new Ctor(), false);
28 f1(new Ctor(), false);
33 var o = new Ctor();
45 f2(new Ctor(), true);
  /external/clang/test/CXX/class/class.union/
p1.cpp 16 class Ctor {
17 Ctor() { abort(); } // expected-note 2{{because type 'Ctor' has a user-provided default constructor}} expected-note 2{{here}}
41 Ctor ctor; // expected-error {{union member 'ctor' has a non-trivial constructor}} member in union:U1
58 Ctor ctor; // expected-note {{because field of type 'Ctor' has a user-provided default constructor}} member in struct:U2::__anon2058
82 struct s3 : Ctor { // expected-note {{because base class of type 'Ctor' has a user-provided default constructor}
    [all...]
  /external/llvm/include/llvm/
PassInfo.h 48 /// PassInfo ctor - Do not call this directly, this should only be invoked
57 /// PassInfo ctor - Do not call this directly, this should only be invoked
102 void setNormalCtor(NormalCtor_t Ctor) {
103 NormalCtor = Ctor;
112 void setTargetMachineCtor(TargetMachineCtor_t Ctor) {
113 TargetMachineCtor = Ctor;
121 "Cannot call createPass on PassInfo without default ctor!");
  /external/chromium_org/v8/test/mjsunit/regress/
regress-343609.js 8 function Ctor() {
37 var o = new Ctor();
41 f1(new Ctor());
42 f1(new Ctor());
66 f2(new Ctor());
regress-crbug-350434.js 7 function Ctor() {
11 var o = new Ctor();
12 var p = new Ctor();
regress-crbug-305309.js 38 function Ctor() {}
39 Ctor.prototype = b1;
40 var a = new Ctor();
  /external/clang/include/clang/ASTMatchers/Dynamic/
Registry.h 86 /// \param Ctor The matcher constructor to instantiate.
99 static VariantMatcher constructMatcher(MatcherCtor Ctor,
110 static VariantMatcher constructBoundMatcher(MatcherCtor Ctor,
Parser.h 81 /// \param Ctor A matcher constructor looked up by lookupMatcherCtor.
94 virtual VariantMatcher actOnMatcherExpression(MatcherCtor Ctor,
119 VariantMatcher actOnMatcherExpression(MatcherCtor Ctor,
  /external/clang/lib/StaticAnalyzer/Checkers/
UndefinedArraySubscriptChecker.cpp 45 if (const CXXConstructorDecl *Ctor = dyn_cast<CXXConstructorDecl>(D))
46 if (Ctor->isDefaulted())
DynamicTypePropagation.cpp 62 if (const CXXConstructorCall *Ctor = dyn_cast<CXXConstructorCall>(&Call)) {
71 switch (Ctor->getOriginExpr()->getConstructionKind()) {
78 if (const MemRegion *Target = Ctor->getCXXThisVal().getAsRegion())
79 recordFixedType(Target, Ctor->getDecl(), C);
152 if (const CXXConstructorCall *Ctor = dyn_cast<CXXConstructorCall>(&Call)) {
154 switch (Ctor->getOriginExpr()->getConstructionKind()) {
165 if (const MemRegion *Target = Ctor->getCXXThisVal().getAsRegion()) {
  /external/llvm/include/llvm/CodeGen/
MachinePassRegistry.h 57 MachinePassCtor Ctor; // Function pass creator.
65 , Ctor(C)
73 MachinePassCtor getCtor() const { return Ctor; }
  /external/clang/unittests/ASTMatchers/Dynamic/
RegistryTest.cpp 46 llvm::Optional<MatcherCtor> Ctor = lookupMatcherCtor(MatcherName);
48 if (Ctor)
49 Out = Registry::constructMatcher(*Ctor, SourceRange(), Args(), Error);
59 llvm::Optional<MatcherCtor> Ctor = lookupMatcherCtor(MatcherName);
61 if (Ctor)
62 Out = Registry::constructMatcher(*Ctor, SourceRange(), Args(Arg1), Error);
73 llvm::Optional<MatcherCtor> Ctor = lookupMatcherCtor(MatcherName);
75 if (Ctor)
76 Out = Registry::constructMatcher(*Ctor, SourceRange(), Args(Arg1, Arg2),
91 llvm::Optional<MatcherCtor> Ctor = lookupMatcherCtor(MatcherName1)
    [all...]
  /external/clang/lib/ASTMatchers/Dynamic/
Parser.cpp 326 llvm::Optional<MatcherCtor> Ctor = S->lookupMatcherCtor(NameToken.Text);
328 if (!Ctor) {
338 ScopedContextEntry SCE(this, Ctor ? *Ctor : nullptr);
412 if (!Ctor)
421 *Ctor, MatcherRange, BindID, Args, Error);
509 MatcherCtor Ctor, const SourceRange &NameRange, StringRef BindID,
512 return Registry::constructMatcher(Ctor, NameRange, Args, Error);
514 return Registry::constructBoundMatcher(Ctor, NameRange, BindID, Args,
Registry.cpp 485 VariantMatcher Registry::constructMatcher(MatcherCtor Ctor,
489 return Ctor->create(NameRange, Args, Error);
493 VariantMatcher Registry::constructBoundMatcher(MatcherCtor Ctor,
498 VariantMatcher Out = constructMatcher(Ctor, NameRange, Args, Error);
  /external/llvm/include/llvm/Support/
Registry.h 28 std::unique_ptr<T> (*Ctor)();
32 : Name(N), Desc(D), Ctor(C)
37 std::unique_ptr<T> instantiate() const { return Ctor(); }
192 /// entry(const char *Name, const char *ShortDesc, T *(*Ctor)());
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
comdef.h 58 void Ctor(const _com_error &that) throw();
72 Ctor(that);
82 Ctor(that);
158 inline void _com_error::Ctor(const _com_error &that) throw() {
  /external/clang/unittests/Tooling/
RecursiveASTVisitorTest.cpp 438 bool VisitCXXConstructorDecl(CXXConstructorDecl* Ctor) {
439 if (Ctor->isImplicit()) { // Was not written in source code
440 if (const CXXRecordDecl* Class = Ctor->getParent()) {
441 Match(Class->getName(), Ctor->getLocation());
477 if (const CXXConstructorDecl* Ctor = Expr->getConstructor()) {
478 if (const CXXRecordDecl* Class = Ctor->getParent()) {
  /external/clang/lib/CodeGen/
CGClass.cpp 307 // If the record matches the base, this is the complete ctor/dtor
310 "doing no-op VTT offset in base dtor/ctor?");
651 static bool IsConstructorDelegationValid(const CXXConstructorDecl *Ctor) {
665 if (Ctor->getParent()->getNumVBases()) {
685 if (Ctor->getType()->getAs<FunctionProtoType>()->isVariadic())
689 if (Ctor->isDelegatingConstructor())
697 const CXXConstructorDecl *Ctor = cast<CXXConstructorDecl>(CurGD.getDecl());
702 "can only generate complete ctor for this ABI");
706 if (CtorType == Ctor_Complete && IsConstructorDelegationValid(Ctor) &&
709 DI->EmitLocation(Builder, Ctor->getLocEnd())
    [all...]
  /external/clang/test/CodeGenCXX/
const-init-cxx11.cpp 432 struct Ctor { constexpr Ctor(int n) : k(n) {} int k; };
450 int ctor() { constexpr Ctor a = { f(102) }; return a.k; } function in namespace:LocalVarInit
  /external/clang/lib/Sema/
JumpDiagnostics.cpp 184 const CXXConstructorDecl *Ctor = CCE->getConstructor();
185 if (Ctor->isTrivial() && Ctor->isDefaultConstructor() &&
189 else if (!Ctor->getParent()->isPOD())

Completed in 578 milliseconds

1 2