Lines Matching refs:Namespace
37 using namespace clang;
38 using namespace sema;
40 namespace {
468 if (const NamespaceDecl *Namespace = dyn_cast<NamespaceDecl>(Parent)) {
469 if (!Namespace->getIdentifier())
472 Result = NestedNameSpecifier::Create(Context, Result, Namespace);
928 if (const NamespaceDecl *Namespace = dyn_cast<NamespaceDecl>(Ctx))
930 Namespace);
994 if (const NamespaceDecl *Namespace = dyn_cast<NamespaceDecl>(Ctx))
996 Namespace);
1113 /// start of a C++ nested-name-specifier, e.g., a class or namespace.
1154 /// \brief Determines whether the given declaration is a namespace.
1159 /// \brief Determines whether the given declaration is a namespace or
1160 /// namespace alias.
1258 namespace {
1543 // namespace <identifier> { declarations }
1544 Builder.AddTypedTextChunk("namespace");
1554 // namespace identifier = identifier ;
1555 Builder.AddTypedTextChunk("namespace");
1559 Builder.AddPlaceholderChunk("namespace");
1565 Builder.AddTextChunk("namespace");
1823 Builder.AddTextChunk("namespace");
3053 case Decl::Namespace: return CXCursor_Namespace;
4297 // If we aren't in class scope, we could see the "namespace" keyword.
4299 Results.AddResult(CodeCompletionResult("namespace"));
4317 // After "using namespace", we expect to see a namespace name or namespace
4354 // extended namespace declaration. Keep track of the most recent
4355 // definition of each namespace.
4363 // namespace to the list of results.
4385 // After "namespace", we expect to see a namespace or alias.
4545 /// \brief Determine whether this scope denotes a namespace.
5008 namespace {