Home | History | Annotate | Download | only in Sema

Lines Matching refs:Namespace

56 using namespace clang;
57 using namespace sema;
59 namespace {
106 // C++ [namespace.udir]p1:
108 // were declared in the nearest enclosing namespace which contains
109 // both the using-directive and the nominated namespace.
114 // C++ [namespace.udir]p1:
116 // appear in namespace scope or in block scope.
175 // context. This helps implement C++ [namespace.udir]p3:
177 // using-directive that nominates a second namespace that itself
179 // using-directives from the second namespace also appeared in
183 // the nominated namespace.
208 } // end anonymous namespace
244 // 2) Namespace because they can't "overload" with tag decls.
909 assert(NS && NS->isFileContext() && "CppNamespaceLookup() requires namespace!");
915 // using directives whose common ancestor is this namespace.
951 // outside of the namespace containing the class template
953 // a member of this namespace.
957 // namespace N {
970 // TranslationUnit, while the semantic context is the namespace N.
983 // Find the namespace context in which the original scope occurs. In
984 // the example, this is namespace N.
991 // being lexically declaration (a namespace context). In the
1000 namespace {
1018 } // end anonymous namespace
1043 // We don't consider using-directives, as per 7.3.4.p1 [namespace.udir]
1045 // they were declared in the nearest enclosing namespace which contains
1046 // both the using-directive and the nominated namespace.
1051 // namespace A { int i; }
1055 // using namespace A;
1212 // If we are looking for members, no need to look into global/namespace scope.
1231 // Lookup namespace scope, and global scope.
1242 // namespace, so that we can construct an overload set if we
1495 // If this declaration is not at namespace scope nor module-private,
1630 // identifier that is in the appropriate namespace. This search
1691 // If the declaration is in the right namespace and visible, add it.
1723 /// C++98 [namespace.qual]p2:
1724 /// Given X::m (where X is a user-declared namespace), or given \::m
1725 /// (where X is the global namespace), let S be the set of all
1729 /// namespace, including X, directly containing one or more
1730 /// declarations of m. No namespace is searched more than once in
1734 /// (namespace.udecl), S is the required set of declarations of
1738 /// C++98 [namespace.qual]p5:
1739 /// During the lookup of a qualified namespace member name, if the
1745 /// from the same namespace; otherwise (the declarations are from
1762 // We have already looked into the initial namespace; seed the queue
1770 // The easiest way to implement the restriction in [namespace.qual]p5
1806 // If we find names in this namespace, ignore its using directives.
1926 // C++98 [namespace.qual]p6:
1927 // In a declaration for a namespace member in which the
1929 // for the namespace member has the form
1931 // the unqualified-id shall name a member of the namespace
1937 // If this is a namespace, look it up in the implied namespaces.
2286 namespace {
2300 } // end anonymous namespace
2307 // Add the associated namespace for this class.
2312 // We skip out of inline namespaces. The innermost non-inline namespace
2314 // replace the entire inline namespace tree with its root.
2352 // Add the associated namespace for this class.
2396 // Add the associated namespace for this class.
2409 // the namespace in which the template is defined; for member
2422 // Add the associated namespace for this class.
2450 // namespace of the template in a TemplateSpecializationType, or even
2456 // Find the associated namespace for this base class.
2479 // arguments (and the namespace of any template template
2531 // -- If T is an enumeration type, its associated namespace is
2532 // the namespace in which it is defined. If it is class
2542 // Add the associated namespace for this class.
2606 // object or interface type, the associated namespace is the global
2607 // namespace.
2649 // arguments (and the namespace of any template template
2662 // associated with each of the members of the set: the namespace
2862 // FIXME: [namespace.udecl]p15 says that we should only consider a
3186 // When considering an associated namespace, the lookup is the
3187 // same as the lookup performed when the associated namespace is
3190 // -- Any using-directives in the associated namespace are
3193 // -- Any namespace-scope friend functions declared in
3241 namespace {
3305 } // end anonymous namespace
3600 // Find the first namespace or translation-unit scope.
3744 case NestedNameSpecifier::Namespace:
4001 // If the current correction candidate and namespace combination are
4360 Consumer.addKeywordResult("namespace");
4592 // Make sure the best edit distance (prior to adding any namespace qualifiers)
4708 // Make sure the best edit distance (prior to adding any namespace qualifiers)