Lines Matching refs:Virtual
751 // - the class shall not have any virtual base classes;
769 // - it shall not be virtual;
774 // If it's not obvious why this function is virtual, find an overridden
775 // function which uses the 'virtual' keyword.
1123 assert(RD->getNumVBases() == 0 && "constexpr ctor with virtual bases");
1266 bool Virtual, AccessSpecifier Access,
1307 return new (Context) CXXBaseSpecifier(SpecifierRange, Virtual,
1357 return new (Context) CXXBaseSpecifier(SpecifierRange, Virtual,
1365 /// class foo : public bar, virtual private baz {
1366 /// 'public bar' and 'virtual private baz' are each base-specifiers.
1370 bool Virtual, AccessSpecifier Access,
1406 Virtual, Access, TInfo,
1543 // We first go backward and check if we have a virtual base.
1545 // the nearest virtual base.
1559 /// \brief Determine whether the given base path includes a virtual
1736 // C++11 [class.virtual]p5:
1737 // If a virtual function is marked with the virt-specifier override and
1747 /// CheckIfOverriddenFunctionIsMarkedFinal - Checks whether a virtual member
1748 /// function overrides a virtual member function marked 'final', according to
1749 /// C++11 [class.virtual]p4.
2211 /// \brief Find the direct and/or virtual base specifiers that
2232 // Check for a virtual base class.
2234 // there are no virtual bases.
2238 // virtual base class.
2348 // same name as a direct or virtual base class of the class, a
2434 // We have found a direct or virtual base class with a
2685 // member of the constructor's class or a direct or virtual base
2709 // Check for direct and virtual base classes.
2722 // constructor's class or a direct or virtual base of that class, the
2750 // a direct non-virtual base class and an inherited virtual base
3356 // Keep track of the direct virtual bases.
3364 // Push virtual bases before others.
3371 // A mem-initializer where the mem-initializer-id names a virtual base
3386 // [...] and the entity is not a virtual base class of an abstract
3401 // Non-virtual bases.
3404 // Virtuals are in the virtual base list and already constructed.
3537 // 1. Virtual bases.
3543 // 2. Non-virtual bases.
3795 // Remember direct virtual bases.
3820 // Virtual bases.
3827 // Ignore direct virtual bases.
3928 // Check if we've already emitted the list of pure virtual functions
3955 // pure virtual function for which the final overrider is pure
3956 // virtual.
4210 // Warn if the class has virtual methods but non-virtual public destructor.
4227 // See if a method overloads virtual methods in a base
4255 // If the class has virtual bases, any constexpr members will already have
4363 // -- the class shall not have any virtual base classes;
4814 /// direct or virtual base class or non-static data member of class type M.
4820 // -- any direct or virtual base class, or non-static data member with no
4826 // -- a direct or virtual base class B that cannot be copied/moved because
4831 // -- any direct or virtual base class [...] has a type with a destructor
4839 // -- any direct or virtual base class or non-static data member has a
4853 /// having a particular direct or virtual base class.
5059 // -- for a virtual destructor, lookup of the non-array deallocation function
5081 // Per DR1611, do not consider virtual bases of constructors of abstract
5479 // -- the destructor is not virtual
5488 // -- class X has no virtual functions and no virtual base classes
5494 // Check for virtual bases. We already know that the corresponding
5502 // Must have a virtual method.
5512 llvm_unreachable("dynamic class with no vbases and no virtual functions");
5543 /// method overloads virtual methods in a base class without overriding any,
5565 // Interested only in hidden virtual methods.
5595 /// \brief See if a method overloads virtual methods in a base class without
5694 // virtual, so we have to declare it immediately. This ensures that, e.g.,
5714 // If we have a dynamic class, then the destructor may be virtual, so we
5848 // A constructor shall not be virtual (10.3) or static (9.4). A
5855 << "virtual" << SourceRange(D.getDeclSpec().getVirtualSpecLoc())
5956 // If we have a virtual destructor, look up the deallocation function
6193 // virtual function that overrides a virtual function in a base class.
7720 // Virtual base-class constructors.
7809 // Virtual base-class constructors.
8325 // Virtual base-class destructors.
8446 // Perform any deferred checking of exception specifications for virtual
8581 // qualification; that is, ignoring any possible virtual overriding
8587 // ignoring any possible virtual overriding functions in more derived
8619 // ensure that we don't go through the virtual call mechanism, we need
8634 // reference to operator=; this is required to suppress the virtual
8799 // attempts to deduplicate calls to assignment operators of virtual bases are
8846 // constructor rules. Note that virtual bases are not taken into account
9208 // attempts to deduplicate calls to assignment operators of virtual bases are
9214 // virtual bases, but it can still be user-declared and explicitly defaulted.
9255 /// Determine whether the class type has any direct or indirect virtual base
9308 /// Determine whether all non-static data members and direct or virtual bases
9358 // - X has no direct or indirect virtual base class with a non-trivial
9360 // - each of X's non-static data members and direct or virtual base classes
9677 // Virtual bases are handled below.
9858 // Virtual base-class constructors.
9912 // - each of X's non-static data members and direct or virtual base classes
11524 // non-deleted virtual function.
11706 // C++ [class.virtual]p6:
11903 // Local classes need to have their virtual members marked
11904 // immediately. For all other classes, we mark their virtual members
11974 // The exception specifications for all virtual members may be needed even
11982 // Mark all of the virtual members of this class as referenced, so
12031 // [...] A virtual member function is used if it is not pure. [...]
12037 // Only classes that have virtual bases need a VTT.