Lines Matching refs:IT
96 // Technically it says nothing about the local classes of non-member
143 /// it.
253 /// Properly indicates when it couldn't be determined due to
283 } else if (const InjectedClassNameType *IT
285 RD = IT->getDecl();
451 // It's a match.
455 // If the context isn't dependent, it can't be a dependent match.
459 // If the template names don't match, it can't be a dependent
465 // context, it can't be a dependent match.
470 // Otherwise, it's a dependent match.
580 // That's it, give up.
650 } else if (const InjectedClassNameType *IT
652 RD = IT->getDecl();
687 /// would have to have some natural access in P, it says the actual
691 /// passing through it. That's really a bad idea, though, because it
693 /// - Most importantly, it breaks encapsulation because you can
695 /// it elsewhere.
696 /// - It also makes access substantially harder to compute because it
775 // If it's not an instance member, these restrictions don't apply.
778 // If it's an instance member, use the pointer-to-member rule
792 // it names a field in an unevaluated context that can't be an
834 // *unless* the [class.protected] restriction applies. If it does,
954 // is no level of friendship in derived classes that can make it
1036 // holistically; it's not necessarily the case that gaining
1044 // If it does, the restriction doesn't apply.
1047 // TODO: it would be great to have a fixit here, since this is
1244 /// because B::f refers to A::f which is public MSVC accepts it.
1390 // If the access path is public, it's accessible everywhere.
1425 // of the declaration, just in case it's a friend of something.
1778 /// \param Decl the declaration to check if it can be accessed
1830 // If the ivar is private, it's inaccessible.