HomeSort by: relevance | last modified time | path
    Searched refs:Constructor (Results 1 - 25 of 44) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/clang/include/clang/Analysis/
AnyCall.h 41 /// An implicit or explicit C++ constructor call
42 Constructor,
44 /// A C++ inherited constructor produced by a "using T::T" directive
88 : E(NE), D(NE->getConstructor()), K(Constructor) {}
95 AnyCall(const CXXConstructorDecl *D) : E(nullptr), D(D), K(Constructor) {}
101 K = Constructor;
179 case Constructor:
CFG.h 67 Constructor,
153 /// Represents C++ constructor call. Maintains information necessary to figure
154 /// out what memory is being initialized by the constructor expression. For now
159 : CFGStmt(CE, Constructor) {
174 return E.getKind() == Constructor;
179 /// constructor, requires a construction context in order to understand the
223 /// Represents C++ base or member initializer from constructor's initialization
514 /// virtual base classes have already been initialized by the constructor
  /src/external/apache2/llvm/dist/clang/include/clang/Index/
IndexSymbol.h 51 Constructor,
126 // constructor references the class declaration using that role.
  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaDeclCXX.cpp 1732 // constexpr function definition or a constexpr constructor definition. If so,
1742 // The definition of a constexpr constructor shall satisfy the following
1828 // The definition of a constexpr function(p3) or constructor(p4) [...] shall
1952 /// Check that the given field is initialized within a constexpr constructor.
1954 /// \param Dcl The constexpr constructor being checked.
1961 /// \param Kind Whether we're diagnosing a constructor as written or determining
1963 /// \return \c false if we're checking for validity and the constructor does
1964 /// not satisfy the requirements on a constexpr constructor.
2179 // In the definition of a constexpr constructor, [...]
2233 if (const CXXConstructorDecl *Constructor
    [all...]
SemaInit.cpp 526 // libstdc++4.6 marks the vector default constructor as explicit in
718 // Empty initialization requires a constructor call, so
719 // extend the initializer list to include the constructor
915 // Empty initialization requires a constructor call, so
916 // extend the initializer list to include the constructor
1256 // Don't warn if there's an equivalent default constructor that would be
3683 DeclAccessPair FoundDecl, CXXConstructorDecl *Constructor, QualType T,
3691 S.Function.Function = Constructor;
3869 /// When initializing from init list via constructor, handle
3905 /// Determine if the constructor has the signature of a copy or mov
    [all...]
SemaAccess.cpp 88 // class template, but for access purposes behaves like the constructor
95 // constructor.
1627 /// Checks access to a constructor.
1629 CXXConstructorDecl *Constructor,
1648 << Entity.getBaseSpecifier()->getType() << getSpecialMember(Constructor);
1654 PD << Field->getType() << getSpecialMember(Constructor);
1661 PD << VarName << Entity.getType() << getSpecialMember(Constructor);
1667 return CheckConstructorAccess(UseLoc, Constructor, Found, Entity, PD);
1670 /// Checks access to a constructor.
1672 CXXConstructorDecl *Constructor,
    [all...]
SemaOverload.cpp 500 OS << " (by copy constructor)";
1352 // constructor (i.e., a user-defined conversion function) is
1354 if (CXXConstructorDecl *Constructor
1360 if (Constructor->isCopyConstructor() &&
1370 ICS.Standard.CopyConstructor = Constructor;
1449 // constructor (i.e., a user-defined conversion function) is
1461 // copy/move constructor, since overloading just assumes that it
1463 // appropriate constructor to copy the returned object, if needed.
3323 CXXConstructorDecl *Constructor,
3325 const auto *CtorType = Constructor->getType()->castAs<FunctionProtoType>()
    [all...]
TreeTransform.h 523 /// By default, transforms the types of conversion function, constructor,
3196 CXXConstructorDecl *Constructor,
3205 // Reconstruct the constructor we originally found, which might be
3206 // different if this is a call to an inherited constructor.
3207 CXXConstructorDecl *FoundCtor = Constructor;
3208 if (Constructor->isInheritingConstructor())
3209 FoundCtor = Constructor->getInheritedConstructor().getConstructor();
3216 return getSema().BuildCXXConstructExpr(Loc, T, Constructor,
3226 /// Build a new implicit construction via inherited constructor
3229 CXXConstructorDecl *Constructor,
    [all...]
SemaExprCXX.cpp 46 /// constructor declarations. 'NS::X::X' and 'NS::X<...>::X' are treated as
47 /// constructor names in member using declarations, even if 'X' is not the
65 assert(NNS->getAsIdentifier() == &Name && "not a constructor name");
89 "not a constructor name");
91 // When naming a constructor as a member of a dependent context (eg, in a
92 // friend declaration or an inherited constructor declaration), form an
106 // member and a constructor then it is ill-formed (we check that in
997 // object. This list also references the appropriate copy constructor to call
998 // if the object is caught by value and has a non-trivial copy constructor.
1007 // Attempt to lookup the copy constructor. Various pieces of machiner
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Analysis/
Consumed.cpp 772 CXXConstructorDecl *Constructor = Call->getConstructor();
774 QualType ThisType = Constructor->getThisType()->getPointeeType();
779 // FIXME: What should happen if someone annotates the move constructor?
780 if (ReturnTypestateAttr *RTA = Constructor->getAttr<ReturnTypestateAttr>()) {
784 } else if (Constructor->isDefaultConstructor()) {
787 } else if (Constructor->isMoveConstructor()) {
789 } else if (Constructor->isCopyConstructor()) {
792 isSetOnReadPtrType(Constructor->getThisType()) ?
1201 if (const auto *Constructor = dyn_cast<CXXConstructorDecl>(D)) {
1202 ReturnType = Constructor->getThisType()->getPointeeType()
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/AST/
DeclCXX.cpp 301 // The implicitly-declared copy constructor for a class X will have
303 // has a copy constructor whose first parameter is of type
330 // A [default constructor, copy/move constructor, or copy/move assignment
344 // -- if the function is a constructor or destructor,
350 // The implicitly-declared copy constructor for a class X will have
352 // has a copy constructor whose first parameter is of type
358 // A default constructor is trivial [...] if:
365 // A copy/move constructor for class X is trivial if [...]
367 // -- the constructor selected to copy/move each direct base clas
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/Sema/
Overload.h 325 /// CopyConstructor - The copy constructor that is used to perform
327 /// initialization of an object via copy constructor. Such
378 /// If the user-defined conversion is specified by a constructor
381 /// constructor. If the user-defined conversion is specified by
729 /// an illegal instantiation of a constructor temploid: it is
733 /// Defining such a constructor directly is illegal, and
756 /// This candidate constructor or conversion function is explicit but
763 /// This inherited constructor is not viable because it would slice the
771 /// This constructor/conversion candidate fail due to an address space
935 /// Initialization of an object of class type by constructor,
    [all...]
Initialization.h 88 /// The initialization is being done by a delegating constructor.
163 /// initialization in a copy or move constructor. These can perform array
364 /// Create the initialization entity for a delegated constructor.
489 /// a defaulted constructor?
757 /// first parameter in a copy or move constructor, such conversions are
831 /// function or via a constructor.
855 /// Perform list-initialization without a constructor.
864 /// Perform initialization via a constructor.
867 /// Perform initialization via a constructor, taking arguments from
912 /// Perform initialization via a constructor taking a singl
    [all...]
Sema.h 492 // #pragma pack info constructor
498 // #pragma align info constructor
1585 // construction in its copy constructor (but due to varied uses, it's not
1643 /// its constructor, thus simplifying the process of creating these "maybe
3888 /// overloaded operator names, constructor names, etc.) into zero or
4578 // Sema::MakeFullExpr that needs access to the constructor below.
5657 /// Determine whether Ctor is an initializer-list constructor, as
5706 /// Given a derived-class using shadow declaration for a constructor and the
5707 /// correspnding base class constructor, find or create the implicit
5708 /// synthesized derived class constructor to use for this initialization
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Index/
IndexSymbol.cpp 256 Info.Kind = SymbolKind::Constructor;
294 Info.Kind = SymbolKind::Constructor;
524 case SymbolKind::Constructor: return "constructor";
  /src/crypto/external/apache2/openssl/dist/util/perl/OpenSSL/Config/
Query.pm 37 =head2 Constructor
  /src/crypto/external/bsd/openssl/dist/util/perl/OpenSSL/Config/
Query.pm 37 =head2 Constructor
  /src/external/apache2/llvm/dist/llvm/lib/DebugInfo/PDB/Native/
NativeTypeFunctionSig.cpp 124 dumpSymbolField(OS, "constructor", hasConstructor(), Indent);
176 return (MemberFunc.getOptions() & FunctionOptions::Constructor) !=
  /src/external/apache2/llvm/dist/clang/lib/Frontend/Rewrite/
RewriteModernObjC.cpp 3279 // Simulate a constructor call...
3375 // Simulate a constructor call...
4192 std::string Constructor = " " + Tag;
4198 Constructor += "(void *fp, "; // Invoke function pointer.
4199 Constructor += "struct " + Desc; // Descriptor pointer.
4200 Constructor += " *desc";
4221 Constructor += ", void *" + ArgName;
4228 Constructor += ", " + ArgName;
4244 Constructor += ", " + ArgName;
4248 // Finish writing the constructor
    [all...]
RewriteObjC.cpp 2709 // Simulate a constructor call...
2805 // Simulate a constructor call...
3403 std::string Constructor = " " + Tag;
3409 Constructor += "(void *fp, "; // Invoke function pointer.
3410 Constructor += "struct " + Desc; // Descriptor pointer.
3411 Constructor += " *desc";
3432 Constructor += ", void *" + ArgName;
3439 Constructor += ", " + ArgName;
3455 Constructor += ", " + ArgName;
3459 // Finish writing the constructor
    [all...]
  /src/external/gpl3/autoconf/dist/lib/Autom4te/
XFile.pm 106 Constructor a new XFile object. Additional arguments
  /src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/
CodeView.h 247 Constructor = 0x02,
  /src/external/apache2/llvm/dist/llvm/lib/DebugInfo/CodeView/
EnumTables.cpp 424 CV_ENUM_CLASS_ENT(FunctionOptions, Constructor),
  /src/external/apache2/llvm/dist/clang/tools/libclang/
CIndex.cpp 866 if (CXXConstructorDecl *Constructor = dyn_cast<CXXConstructorDecl>(ND)) {
869 for (auto *I : Constructor->inits()) {
5795 // This can happen for C++ constructor expressions whose range generally
5807 // clang_getCursor() to point at the constructor.
7373 // This can happen for C++ constructor expressions whose range generally
8529 const CXXConstructorDecl *Constructor =
8531 return (Constructor && Constructor->isDefaultConstructor()) ? 1 : 0;
8539 const CXXConstructorDecl *Constructor =
8541 return (Constructor && Constructor->isCopyConstructor()) ? 1 : 0
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/AST/
ExprCXX.h 1310 /// A use of a default initializer in a constructor or in aggregate
1315 /// is implicitly used in a mem-initializer-list in a constructor
1405 /// S() { } // User defined constructor makes S non-POD.
1459 /// Represents a call to a C++ constructor.
1472 /// A pointer to the constructor which will be ultimately called.
1473 CXXConstructorDecl *Constructor;
1480 // We would like to stash the arguments of the constructor call after
1492 // constructor call.
1531 /// Get the constructor that this expression will (ultimately) call.
1532 CXXConstructorDecl *getConstructor() const { return Constructor; }
    [all...]

Completed in 85 milliseconds

1 2