/external/lldb/include/lldb/Symbol/ |
D | ClangNamespaceDecl.h | 27 ClangNamespaceDecl (clang::ASTContext *ast, clang::NamespaceDecl *namespace_decl) : in ClangNamespaceDecl() 80 clang::NamespaceDecl * 87 SetNamespaceDecl (clang::NamespaceDecl *namespace_decl) in SetNamespaceDecl() 97 clang::NamespaceDecl *m_namespace_decl;
|
D | ClangASTImporter.h | 161 void RegisterNamespaceMap (const clang::NamespaceDecl *decl, 164 NamespaceMapSP GetNamespaceMap (const clang::NamespaceDecl *decl); 166 void BuildNamespaceMap (const clang::NamespaceDecl *decl); 289 typedef std::map<const clang::NamespaceDecl *, NamespaceMapSP> NamespaceMetaMap;
|
/external/lldb/source/Symbol/ |
D | ClangASTImporter.cpp | 361 ClangASTImporter::RegisterNamespaceMap(const clang::NamespaceDecl *decl, in RegisterNamespaceMap() 370 ClangASTImporter::GetNamespaceMap(const clang::NamespaceDecl *decl) in GetNamespaceMap() 385 ClangASTImporter::BuildNamespaceMap(const clang::NamespaceDecl *decl) in BuildNamespaceMap() 391 const NamespaceDecl *parent_namespace = dyn_cast<NamespaceDecl>(parent_context); in BuildNamespaceMap() 654 if (clang::NamespaceDecl *to_namespace = dyn_cast<clang::NamespaceDecl>(to)) in Imported() 656 clang::NamespaceDecl *from_namespace = dyn_cast<clang::NamespaceDecl>(from); in Imported() 692 if (isa<NamespaceDecl>(from)) in Imported() 694 NamespaceDecl *to_namespace_decl = dyn_cast<NamespaceDecl>(to); in Imported()
|
D | ClangASTContext.cpp | 1798 NamespaceDecl * 1801 NamespaceDecl *namespace_decl = NULL; in GetUniqueNamespaceDeclaration() 1814 namespace_decl = dyn_cast<clang::NamespaceDecl>(decl); in GetUniqueNamespaceDeclaration() 1819 namespace_decl = NamespaceDecl::Create(*ast, in GetUniqueNamespaceDeclaration() 1837 namespace_decl = NamespaceDecl::Create(*ast, in GetUniqueNamespaceDeclaration() 1850 NamespaceDecl *parent_namespace_decl = cast<NamespaceDecl>(decl_ctx); in GetUniqueNamespaceDeclaration() 1856 namespace_decl = NamespaceDecl::Create(*ast, in GetUniqueNamespaceDeclaration()
|
/external/clang/include/clang/AST/ |
D | NestedNameSpecifier.h | 27 class NamespaceDecl; variable 125 const NamespaceDecl *NS); 178 NamespaceDecl *getAsNamespace() const; 416 void Extend(ASTContext &Context, NamespaceDecl *Namespace,
|
D | Decl.h | 83 NamespaceDecl *AnonymousNamespace; 92 NamespaceDecl *getAnonymousNamespace() const { return AnonymousNamespace; } in getAnonymousNamespace() 93 void setAnonymousNamespace(NamespaceDecl *D) { AnonymousNamespace = D; } in setAnonymousNamespace() 398 class NamespaceDecl : public NamedDecl, public DeclContext, 399 public Redeclarable<NamespaceDecl> 411 llvm::PointerIntPair<NamespaceDecl *, 1, bool> AnonOrFirstNamespaceAndInline; 413 NamespaceDecl(ASTContext &C, DeclContext *DC, bool Inline, 415 IdentifierInfo *Id, NamespaceDecl *PrevDecl); 417 typedef Redeclarable<NamespaceDecl> redeclarable_base; 418 NamespaceDecl *getNextRedeclarationImpl() override; [all …]
|
/external/clang/lib/AST/ |
D | DeclCXX.cpp | 1958 if (NamespaceDecl *NS = dyn_cast_or_null<NamespaceDecl>(Used)) in Create() 1972 NamespaceDecl *UsingDirectiveDecl::getNominatedNamespace() { in getNominatedNamespace() 1976 return cast_or_null<NamespaceDecl>(NominatedNamespace); in getNominatedNamespace() 1979 NamespaceDecl::NamespaceDecl(ASTContext &C, DeclContext *DC, bool Inline, in NamespaceDecl() function in NamespaceDecl 1981 IdentifierInfo *Id, NamespaceDecl *PrevDecl) in NamespaceDecl() 1991 NamespaceDecl *NamespaceDecl::Create(ASTContext &C, DeclContext *DC, in Create() 1994 NamespaceDecl *PrevDecl) { in Create() 1995 return new (C, DC) NamespaceDecl(C, DC, Inline, StartLoc, IdLoc, Id, in Create() 1999 NamespaceDecl *NamespaceDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized() 2000 return new (C, ID) NamespaceDecl(C, nullptr, false, SourceLocation(), in CreateDeserialized() [all …]
|
D | NestedNameSpecifier.cpp | 61 const NamespaceDecl *NS) { in Create() 70 Mockup.Specifier = const_cast<NamespaceDecl *>(NS); in Create() 143 return isa<NamespaceDecl>(ND) ? Namespace : NamespaceAlias; in getKind() 157 NamespaceDecl *NestedNameSpecifier::getAsNamespace() const { in getAsNamespace() 159 return dyn_cast<NamespaceDecl>(static_cast<NamedDecl *>(Specifier)); in getAsNamespace() 559 NamespaceDecl *Namespace, in Extend()
|
D | DeclBase.cpp | 246 if (const NamespaceDecl *ND = dyn_cast<NamespaceDecl>(DC)) in isInAnonymousNamespace() 820 cast<NamespaceDecl>(this)->isInline(); in isInlineNamespace() 827 const NamespaceDecl *ND = cast<NamespaceDecl>(this); in isStdNamespace() 920 return static_cast<NamespaceDecl*>(this)->getOriginalNamespace(); in getPrimaryContext() 980 NamespaceDecl *Self = static_cast<NamespaceDecl *>(this); in collectAllContexts() 981 for (NamespaceDecl *N = Self->getMostRecentDecl(); N; in collectAllContexts() 1490 const NamespaceDecl *NS = dyn_cast<NamespaceDecl>(O); in InEnclosingNamespaceSetOf()
|
/external/clang/test/SemaCXX/ |
D | member-expr.cpp | 47 struct NamespaceDecl; 53 struct NamespaceDecl : NamedDecl { struct
|
/external/clang/include/clang/Sema/ |
D | MultiplexExternalSemaSource.h | 28 class NamespaceDecl; variable 226 ReadKnownNamespaces(SmallVectorImpl<NamespaceDecl*> &Namespaces) override;
|
D | ExternalSemaSource.h | 75 SmallVectorImpl<NamespaceDecl *> &Namespaces);
|
/external/lldb/source/Expression/ |
D | ClangASTSource.cpp | 202 if (const NamespaceDecl *namespace_context = dyn_cast<NamespaceDecl>(decl_ctx)) in CompleteType() 519 if (const NamespaceDecl *namespace_context = dyn_cast<NamespaceDecl>(context.m_decl_context)) in FindExternalVisibleDecls() 578 NamespaceDecl *clang_namespace_decl = AddNamespace(context, context.m_namespace_map); in FindExternalVisibleDecls() 1661 NamespaceDecl * 1674 NamespaceDecl *copied_namespace_decl = dyn_cast<NamespaceDecl>(copied_decl); in AddNamespace() 1683 return dyn_cast<NamespaceDecl>(copied_decl); in AddNamespace()
|
/external/clang/unittests/Sema/ |
D | ExternalSemaSourceTest.cpp | 119 NamespaceDecl *NewNamespace = in CorrectTypo() 120 NamespaceDecl::Create(Context, DestContext, false, Typo.getBeginLoc(), in CorrectTypo()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | LLVMConventionsChecker.cpp | 42 const NamespaceDecl *ND = dyn_cast<NamespaceDecl>(D->getDeclContext()); in InNamespace()
|
/external/lldb/include/lldb/Core/ |
D | ClangForward.h | 80 class NamespaceDecl; variable
|
/external/clang/lib/Sema/ |
D | SemaCXXScopeSpec.cpp | 295 if (isa<NamespaceDecl>(SD) || isa<NamespaceAliasDecl>(SD)) in isAcceptableNestedNameSpecifier() 400 return isa<NamespaceDecl>(ND) || isa<NamespaceAliasDecl>(ND); in isNonTypeNestedNameSpecifier() 677 if (NamespaceDecl *Namespace = dyn_cast<NamespaceDecl>(SD)) { in BuildCXXNestedNameSpecifier()
|
D | SemaLookup.cpp | 1469 SmallVector<NamespaceDecl*, 8> Queue; in LookupQualifiedNameInUsingDirectives() 1474 NamespaceDecl *ND = I->getNominatedNamespace()->getOriginalNamespace(); in LookupQualifiedNameInUsingDirectives() 1490 NamespaceDecl *ND = Queue.pop_back_val(); in LookupQualifiedNameInUsingDirectives() 1522 NamespaceDecl *Nom = I->getNominatedNamespace(); in LookupQualifiedNameInUsingDirectives() 3550 const llvm::MapVector<NamespaceDecl *, bool> &KnownNamespaces) { in addNamespaces() argument 3745 if (NamespaceDecl *ND = dyn_cast_or_null<NamespaceDecl>(*C)) in NamespaceSpecifierSet() 3761 NamespaceDecl *ND = dyn_cast_or_null<NamespaceDecl>(DC); in buildContextChain() 3776 if (NamespaceDecl *ND = dyn_cast_or_null<NamespaceDecl>(*C)) { in buildNestedNameSpecifier() 4184 SmallVector<NamespaceDecl *, 4> ExternalKnownNamespaces; in makeTypoCorrectionConsumer()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | ExprEngineCallAndReturn.cpp | 387 const NamespaceDecl *ND = dyn_cast<NamespaceDecl>(DC); in IsInStdNamespace() 392 if (!isa<NamespaceDecl>(Parent)) in IsInStdNamespace() 394 ND = cast<NamespaceDecl>(Parent); in IsInStdNamespace()
|
/external/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 263 void VisitNamespaceDecl(NamespaceDecl *D); 1203 void ASTDeclReader::VisitNamespaceDecl(NamespaceDecl *D) { in VisitNamespaceDecl() 1229 NamespaceDecl *Anon = cast<NamespaceDecl>(Reader.GetDecl(AnonNamespace)); in VisitNamespaceDecl() 2230 if (auto *Namespace = dyn_cast<NamespaceDecl>(D)) in mergeRedeclarable() 2232 assert_cast<NamespaceDecl*>(ExistingCanon)); in mergeRedeclarable() 2401 static NamespaceDecl *getNamespace(const NestedNameSpecifier *X) { in getNamespace() 2522 if (NamespaceDecl *NamespaceX = dyn_cast<NamespaceDecl>(X)) { in isSameEntity() 2523 NamespaceDecl *NamespaceY = cast<NamespaceDecl>(Y); in isSameEntity() 2587 if (NamespaceDecl *ND = dyn_cast<NamespaceDecl>(DC)) in getPrimaryContextForMerging() 3015 D = NamespaceDecl::CreateDeserialized(Context, ID); in ReadDeclRecord() [all …]
|
/external/clang/lib/Frontend/ |
D | ASTConsumers.cpp | 206 const NamespaceDecl* ND = cast<NamespaceDecl>(DC); in PrintDeclContext()
|
/external/clang/lib/CodeGen/ |
D | CGDebugInfo.h | 113 llvm::DenseMap<const NamespaceDecl *, llvm::TrackingMDRef> NameSpaceCache; 156 llvm::DINameSpace getOrCreateNameSpace(const NamespaceDecl *N);
|
/external/lldb/include/lldb/Expression/ |
D | ClangASTSource.h | 220 clang::NamespaceDecl *
|
/external/clang/tools/libclang/ |
D | IndexingContext.cpp | 629 bool IndexingContext::handleNamespace(const NamespaceDecl *D) { in handleNamespace() 1098 } else if (isa<TagDecl>(D) || isa<FieldDecl>(D) || isa<NamespaceDecl>(D)) { in getEntityInfo() 1137 if (const NamespaceDecl *Namespace = dyn_cast<NamespaceDecl>(D)) in getRefCursor()
|
D | CursorVisitor.h | 232 bool VisitNamespaceDecl(NamespaceDecl *D);
|