| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | ComparisonCategories.cpp | 90 static const NamespaceDecl *lookupStdNamespace(const ASTContext &Ctx, in lookupStdNamespace() 91 NamespaceDecl *&StdNS) { in lookupStdNamespace() 96 StdNS = dyn_cast<NamespaceDecl>(Lookup.front()); in lookupStdNamespace() 102 const NamespaceDecl *StdNS, in lookupCXXRecordDecl() 118 if (const NamespaceDecl *NS = lookupStdNamespace(Ctx, StdNS)) in lookupInfo()
|
| H A D | QualTypeNames.cpp | 29 const NamespaceDecl *Namesp, 190 if (const auto *NS = dyn_cast<NamespaceDecl>(DC)) { in createOuterNNS() 193 NS = dyn_cast<NamespaceDecl>(NS->getDeclContext()); in createOuterNNS() 270 const auto *OuterNS = dyn_cast<NamespaceDecl>(DC); in createNestedNameSpecifierForScopeOf() 288 OuterNS = dyn_cast<NamespaceDecl>(Decl); in createNestedNameSpecifierForScopeOf() 339 const NamespaceDecl *Namespace, in createNestedNameSpecifier() 343 Namespace = dyn_cast<NamespaceDecl>(Namespace->getDeclContext()); in createNestedNameSpecifier()
|
| H A D | NestedNameSpecifier.cpp | 72 const NamespaceDecl *NS) { in Create() 81 Mockup.Specifier = const_cast<NamespaceDecl *>(NS); in Create() 152 return isa<NamespaceDecl>(ND) ? Namespace : NamespaceAlias; in getKind() 163 NamespaceDecl *NestedNameSpecifier::getAsNamespace() const { in getAsNamespace() 165 return dyn_cast<NamespaceDecl>(static_cast<NamedDecl *>(Specifier)); in getAsNamespace() 572 NamespaceDecl *Namespace, in Extend()
|
| H A D | DeclCXX.cpp | 3207 if (auto *NS = dyn_cast_or_null<NamespaceDecl>(Used)) in Create() 3221 NamespaceDecl *UsingDirectiveDecl::getNominatedNamespace() { in getNominatedNamespace() 3224 return cast_or_null<NamespaceDecl>(NominatedNamespace); in getNominatedNamespace() 3227 NamespaceDecl::NamespaceDecl(ASTContext &C, DeclContext *DC, bool Inline, in NamespaceDecl() function in NamespaceDecl 3229 IdentifierInfo *Id, NamespaceDecl *PrevDecl, in NamespaceDecl() 3238 NamespaceDecl *NamespaceDecl::Create(ASTContext &C, DeclContext *DC, in Create() 3241 NamespaceDecl *PrevDecl, bool Nested) { in Create() 3243 NamespaceDecl(C, DC, Inline, StartLoc, IdLoc, Id, PrevDecl, Nested); in Create() 3246 NamespaceDecl *NamespaceDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized() 3248 return new (C, ID) NamespaceDecl(C, nullptr, false, SourceLocation(), in CreateDeserialized() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | HLSLBuiltinTypeDeclBuilder.h | 26 class NamespaceDecl; variable 53 NamespaceDecl *HLSLNamespace = nullptr; 61 BuiltinTypeDeclBuilder(Sema &SemaRef, NamespaceDecl *Namespace,
|
| H A D | HLSLExternalSemaSource.cpp | 40 NamespaceDecl *PrevDecl = nullptr; in InitializeSema() 42 PrevDecl = Result.getAsSingle<NamespaceDecl>(); in InitializeSema() 43 HLSLNamespace = NamespaceDecl::Create( in InitializeSema() 214 static ConceptDecl *constructBufferConceptDecl(Sema &S, NamespaceDecl *NSD, in constructBufferConceptDecl()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | HLSLExternalSemaSource.h | 19 class NamespaceDecl; variable 24 NamespaceDecl *HLSLNamespace = nullptr;
|
| H A D | MultiplexExternalSemaSource.h | 27 class NamespaceDecl; variable 226 ReadKnownNamespaces(SmallVectorImpl<NamespaceDecl*> &Namespaces) override;
|
| H A D | ExternalSemaSource.h | 78 SmallVectorImpl<NamespaceDecl *> &Namespaces);
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | NestedNameSpecifier.h | 35 class NamespaceDecl; variable 127 const NamespaceDecl *NS); 179 NamespaceDecl *getAsNamespace() const; 433 void Extend(ASTContext &Context, NamespaceDecl *Namespace,
|
| H A D | ASTMutationListener.h | 30 class NamespaceDecl; variable 175 NamespaceDecl *AnonNamespace) {} in AddedAnonymousNamespace()
|
| H A D | ComparisonCategories.h | 37 class NamespaceDecl; variable 224 mutable NamespaceDecl *StdNS = nullptr;
|
| H A D | Decl.h | 70 class NamespaceDecl; variable 123 NamespaceDecl *AnonymousNamespace = nullptr; 142 NamespaceDecl *getAnonymousNamespace() const { return AnonymousNamespace; } in getAnonymousNamespace() 143 void setAnonymousNamespace(NamespaceDecl *D); 569 class NamespaceDecl : public NamedDecl, 571 public Redeclarable<NamespaceDecl> { 580 NamespaceDecl *AnonymousNamespace = nullptr; 582 NamespaceDecl(ASTContext &C, DeclContext *DC, bool Inline, 584 IdentifierInfo *Id, NamespaceDecl *PrevDecl, bool Nested); 586 using redeclarable_base = Redeclarable<NamespaceDecl>; [all …]
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/ |
| H A D | PdbAstBuilder.h | 28 class NamespaceDecl; variable 118 clang::NamespaceDecl *GetOrCreateNamespaceDecl(const char *name, 153 llvm::DenseSet<clang::NamespaceDecl *> m_parsed_namespaces;
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ClangASTSource.cpp | 189 if (const NamespaceDecl *namespace_context = in FindCompleteType() 190 dyn_cast<NamespaceDecl>(decl->getDeclContext())) { in FindCompleteType() 529 if (isa<NamespaceDecl>(context.m_decl_context)) { in FindExternalVisibleDecls() 549 NamespaceDecl *clang_namespace_decl = in FindExternalVisibleDecls() 1325 const NamespaceDecl *namespace_context = in LookupInNamespace() 1326 dyn_cast<NamespaceDecl>(context.m_decl_context); in LookupInNamespace() 1435 NamespaceDecl *ClangASTSource::AddNamespace( in AddNamespace() 1447 clang::NamespaceDecl *src_namespace_decl = in AddNamespace() 1458 NamespaceDecl *copied_namespace_decl = dyn_cast<NamespaceDecl>(copied_decl); in AddNamespace() 1468 return dyn_cast<NamespaceDecl>(copied_decl); in AddNamespace()
|
| H A D | ClangASTImporter.h | 202 void RegisterNamespaceMap(const clang::NamespaceDecl *decl, 205 NamespaceMapSP GetNamespaceMap(const clang::NamespaceDecl *decl); 207 void BuildNamespaceMap(const clang::NamespaceDecl *decl); 363 typedef llvm::DenseMap<const clang::NamespaceDecl *, NamespaceMapSP>
|
| H A D | ClangASTImporter.cpp | 978 void ClangASTImporter::RegisterNamespaceMap(const clang::NamespaceDecl *decl, in RegisterNamespaceMap() 986 ClangASTImporter::GetNamespaceMap(const clang::NamespaceDecl *decl) { in GetNamespaceMap() 998 void ClangASTImporter::BuildNamespaceMap(const clang::NamespaceDecl *decl) { in BuildNamespaceMap() 1003 const NamespaceDecl *parent_namespace = in BuildNamespaceMap() 1004 dyn_cast<NamespaceDecl>(parent_context); in BuildNamespaceMap() 1367 if (auto *to_namespace = dyn_cast<clang::NamespaceDecl>(to)) { in Imported() 1368 auto *from_namespace = cast<clang::NamespaceDecl>(from); in Imported() 1402 if (auto *to_namespace_decl = dyn_cast<NamespaceDecl>(to)) { in Imported()
|
| /freebsd/contrib/llvm-project/clang/lib/Interpreter/ |
| H A D | InterpreterUtils.cpp | 46 NamespaceDecl *LookupNamespace(Sema &S, llvm::StringRef Name, in LookupNamespace() 68 return dyn_cast<NamespaceDecl>(R.getFoundDecl()); in LookupNamespace()
|
| H A D | InterpreterUtils.h | 44 NamespaceDecl *LookupNamespace(Sema &S, llvm::StringRef Name,
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/PDB/ |
| H A D | PDBASTParser.h | 60 clang::NamespaceDecl *FindNamespaceDecl(const clang::DeclContext *parent, 71 typedef std::set<clang::NamespaceDecl *> NamespacesSet;
|
| /freebsd/contrib/llvm-project/clang/lib/Tooling/Inclusions/Stdlib/ |
| H A D | StandardLibrary.cpp | 260 const NamespaceDecl *D = llvm::cast<NamespaceDecl>(DC); in namespaceSymbols() 267 ND = llvm::dyn_cast_or_null<NamespaceDecl>(ND->getParent())) in namespaceSymbols()
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/Models/ |
| H A D | ChromiumCheckModel.cpp | 37 dyn_cast_or_null<NamespaceDecl>(ParentClass->getDeclContext()); in isCheckLikeMethod()
|
| H A D | UncheckedOptionalAccessModel.cpp | 44 static bool isFullyQualifiedNamespaceEqualTo(const NamespaceDecl &NS, in isFullyQualifiedNamespaceEqualTo() 54 if (const auto *NextNS = dyn_cast_or_null<NamespaceDecl>(NS.getParent())) in isFullyQualifiedNamespaceEqualTo() 67 if (const auto *N = dyn_cast_or_null<NamespaceDecl>(RD.getDeclContext())) in hasOptionalClassName() 76 const auto *N = dyn_cast_or_null<NamespaceDecl>(RD.getDeclContext()); in hasOptionalClassName() 82 const auto *N = dyn_cast_or_null<NamespaceDecl>(RD.getDeclContext()); in hasOptionalClassName()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | LLVMConventionsChecker.cpp | 40 const NamespaceDecl *ND = dyn_cast<NamespaceDecl>(D->getDeclContext()); in InNamespace()
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | MultiplexConsumer.cpp | 23 class NamespaceDecl; 130 NamespaceDecl *AnonNamespace) override; 270 const TranslationUnitDecl *TU, NamespaceDecl *AnonNamespace) { in AddedAnonymousNamespace()
|