Lines Matching refs:Namespace
50 using namespace clang;
51 using namespace sema;
62 namespace {
131 namespace {
137 } // namespace
1111 // If a variable member of a namespace is defined outside of the
1112 // scope of its namespace then any name used in the definition of
1115 // namespace.
2513 namespace {
2617 // C++11 [namespace.udecl]p14:
2618 // If a function declaration in namespace scope or block scope has the
4142 // Anonymous unions declared in a named namespace or in the
4143 // global namespace shall be declared static.
4549 /// definition doesn't match any declaration within the class or namespace.
4910 // previously declared member of the class or namespace to which the
4911 // qualifier refers (or, in the case of a namespace, of an element of the
4912 // inline namespace set of that namespace (7.3.1)) or to a specialization
4932 // using-declaration in the scope of the class or namespace nominated by
4964 // template, declared in namespace scope
5321 // outside the innermost enclosing namespace scope, the block
5334 // Find the innermost enclosing namespace for the new and
5339 // The previous declaration is in a different namespace, so it
5671 // template, don't add it into the enclosing namespace scope until it is
5679 // innermost enclosing namespace.
5681 // Per C++11 [namespace.def]p6, the innermost enclosing namespace is a
5682 // semantically-enclosing namespace, not a lexically-enclosing one.
6719 namespace {
6756 } // end anonymous namespace
6817 namespace {
6828 namespace {
8134 // function that is a member of a class or namespace, but there
8136 // C++ [namespace.memdef]p2). For example:
8754 namespace {
9305 // defined in a namespace scope if it is used in the program and the
9306 // namespace scope definition shall not contain an initializer.
11745 /// from an outer enclosing namespace or file scope inside a friend declaration.
11747 /// namespace N {
11749 /// namespace M {
11755 // While the decl is in a namespace, do repeated lookup of that name and see
11756 // if we get the same namespace back. If we do not, continue until
11761 // This tag should be declared in a namespace, which can only be enclosed by
11762 // other namespaces. Bail if there's an anonymous namespace in the chain.
11763 NamespaceDecl *Namespace = dyn_cast<NamespaceDecl>(DC);
11764 if (!Namespace || Namespace->isAnonymousNamespace())
11766 IdentifierInfo *II = Namespace->getIdentifier();
11770 if (Lookup == Namespace)
12011 // C++11 [namespace.memdef]p3:
12016 // any scopes outside the innermost enclosing namespace.
12042 // unambiguously found something outside the enclosing namespace.
12102 // function defined in namespace scope, the identifier is
12103 // declared as a class-name in the namespace that contains
12135 // C++ [namespace.memdef]p3:
12138 // the innermost enclosing namespace.
12383 // things like templates still live in the tag namespace.
13260 // example, unnamed unions inject all members into the struct namespace!
14153 namespace {
14177 } // end anonymous namespace