Home | History | Annotate | Download | only in Sema

Lines Matching refs:Namespaces

207 // Retrieve the set of identifier namespaces that correspond to a
1197 // Perform direct name lookup into the namespaces nominated by the
1428 // nominated namespaces by those using-directives.
1865 // Namespaces are a bit of a special case: we expect there to be a lot of
1866 // redeclarations of some namespaces, all declarations of a namespace are
1868 // if any is, and namespaces are never looked up during template
2023 /// Perform qualified name lookup in the namespaces nominated by
2030 /// namespaces nominated by using-directives in X and its used
2031 /// namespaces, except that using-directives are ignored in any
2049 /// different namespaces), the program is ill-formed.
2054 // We have not yet looked into these namespaces, much less added
2196 // If this is a namespace, look it up in the implied namespaces.
2613 Sema::AssociatedNamespaceSet &Namespaces,
2615 : S(S), Namespaces(Namespaces), Classes(Classes),
2625 Sema::AssociatedNamespaceSet &Namespaces;
2638 // enumeration, add the associated namespaces to \param Namespaces as described
2640 static void CollectEnclosingNamespace(Sema::AssociatedNamespaceSet &Namespaces,
2648 // If T is a class type [...]. Its associated namespaces are the innermost
2649 // enclosing namespaces of its associated classes. [...]
2654 // We additionally skip inline namespaces. The innermost non-inline namespace
2655 // contains all names of all its nested inline namespaces anyway, so we can
2660 Namespaces.insert(Ctx->getPrimaryContext());
2663 // Add the associated classes and namespaces for argument-dependent
2675 // [...] the namespaces and classes associated with the types of the
2683 // [...] the namespaces in which any template template arguments are
2693 CollectEnclosingNamespace(Result.Namespaces, Ctx);
2703 // associated namespaces. ]
2713 // Add the associated classes and namespaces for argument-dependent lookup
2728 // Its associated namespaces are the innermost enclosing
2729 // namespaces of its associated classes.
2737 CollectEnclosingNamespace(Result.Namespaces, Ctx);
2739 // -- If T is a template-id, its associated namespaces and classes are
2741 // templates, the member template's class; the namespaces and classes
2744 // namespaces in which any template template arguments are defined; and
2747 // contribute to the set of associated namespaces. ]
2754 CollectEnclosingNamespace(Result.Namespaces, Ctx);
2772 // namespaces.
2787 // the classes and namespaces of known non-dependent arguments.
2794 CollectEnclosingNamespace(Result.Namespaces, BaseCtx);
2804 // Add the associated classes and namespaces for
2812 // of zero or more associated namespaces and a set of zero or more
2813 // associated classes to be considered. The sets of namespaces and
2817 // the types do not contribute to this set. The sets of namespaces
2835 // use for associated classes and namespaces...) this would be
2840 // namespaces and classes are those associated with U.
2851 // namespaces and classes are both empty.
2858 // Its associated namespaces are the innermost enclosing
2859 // namespaces of its associated classes.
2879 CollectEnclosingNamespace(Result.Namespaces, Ctx);
2884 // -- If T is a function type, its associated namespaces and
2901 // associated namespaces and classes are those associated
2906 // associated namespaces and classes are those associated
2951 Result.Namespaces.insert(Result.S.Context.getTranslationUnitDecl());
2970 /// Find the associated classes and namespaces for
2975 /// namespaces searched by argument-dependent lookup
2989 // of zero or more associated namespaces and a set of zero or more
2990 // associated classes to be considered. The sets of namespaces and
3004 // associated classes and namespaces are the union of those
3007 // classes and namespaces associated with its (non-dependent)
3015 // Add the classes and namespaces associated with the parameter
3561 // Find all of the associated namespaces and classes based on the
3574 // namespaces associated with the argument types as described
3590 // namespaces even if they are not visible during an ordinary
3718 // Protocols are in distinct namespaces from everything else.
4049 // Lookup visible declarations in any namespaces found by using
4325 Namespaces.addNameSpecifier(KNPair.first);
4345 Namespaces.addNameSpecifier(CD);
4431 for (const auto &NSI : Namespaces) {
4924 // Determine whether we are going to search in the various namespaces for
4957 // to search those namespaces.
4959 // Load any externally-known namespaces.