Lines Matching defs:Namespace
53 using namespace clang;
54 using namespace sema;
65 namespace {
122 } // end anonymous namespace
168 namespace {
174 } // end anonymous namespace
1323 // If a variable member of a namespace is defined outside of the
1324 // scope of its namespace then any name used in the definition of
1327 // namespace.
3052 namespace {
3062 } // end anonymous namespace
3134 // C++11 [namespace.udecl]p14:
3135 // If a function declaration in namespace scope or block scope has the
3173 /// declaration to name the correct inline namespace within the qualifier.
3178 // in an inline namespace within the context named by the qualifier:
3180 // inline namespace N { int f(); }
3252 // If the old declaration was found in an inline namespace and the new
4071 // If the old declaration was found in an inline namespace and the new
4400 namespace {
5013 // Anonymous unions declared in a named namespace or in the
5014 // global namespace shall be declared static.
5457 /// definition doesn't match any declaration within the class or namespace.
5833 // previously declared member of the class or namespace to which the
5834 // qualifier refers (or, in the case of a namespace, of an element of the
5835 // inline namespace set of that namespace (7.3.1)) or to a specialization
5855 // using-declaration in the scope of the class or namespace nominated by
6277 // outside the innermost enclosing namespace scope, the block
6290 // Find the innermost enclosing namespace for the new and
6295 // The previous declaration is in a different namespace, so it
6445 // In Microsoft mode, a variable defined in anonymous namespace must have
6714 // template, don't add it into the enclosing namespace scope until it is
6722 // innermost enclosing namespace.
6724 // Per C++11 [namespace.def]p6, the innermost enclosing namespace is a
6725 // semantically-enclosing namespace, not a lexically-enclosing one.
8222 namespace {
8231 } // end anonymous namespace
8233 namespace {
8279 } // end anonymous namespace
9741 // function that is a member of a class or namespace, but there
9743 // C++ [namespace.memdef]p2). For example:
9810 // FIXME: We should consider this a builtin only in the std namespace.
11300 namespace {
11625 } // end anonymous namespace
11627 namespace {
11639 } // end anonymous namespace
11848 namespace {
12061 } // namespace
12186 // defined in a namespace scope if it is used in the program and the
12187 // namespace scope definition shall not contain an initializer.
12500 // In Microsoft C++ mode, a const variable defined in namespace scope has
15408 /// from an outer enclosing namespace or file scope inside a friend declaration.
15410 /// namespace N {
15412 /// namespace M {
15418 // While the decl is in a namespace, do repeated lookup of that name and see
15419 // if we get the same namespace back. If we do not, continue until
15424 // This tag should be declared in a namespace, which can only be enclosed by
15425 // other namespaces. Bail if there's an anonymous namespace in the chain.
15426 NamespaceDecl *Namespace = dyn_cast<NamespaceDecl>(DC);
15427 if (!Namespace || Namespace->isAnonymousNamespace())
15429 IdentifierInfo *II = Namespace->getIdentifier();
15433 if (Lookup == Namespace)
15727 // C++11 [namespace.memdef]p3:
15732 // any scopes outside the innermost enclosing namespace.
15758 // unambiguously found something outside the enclosing namespace.
15823 // function defined in namespace scope, the identifier is
15824 // declared as a class-name in the namespace that contains
15850 // C++ [namespace.memdef]p3:
15853 // the innermost enclosing namespace.
16123 // things like templates still live in the tag namespace.
17040 // example, unnamed unions inject all members into the struct namespace!