| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | Linkage.h | 42 explicit LVComputationKind(NamedDecl::ExplicitVisibilityKind EK) in LVComputationKind() 46 NamedDecl::ExplicitVisibilityKind getExplicitVisibilityKind() const { in getExplicitVisibilityKind() 51 return getExplicitVisibilityKind() == NamedDecl::VisibilityForType; in isTypeVisibility() 59 LVComputationKind Result(NamedDecl::VisibilityForValue); in forLinkageOnly() 86 llvm::PointerIntPair<const NamedDecl *, 94 std::optional<LinkageInfo> lookup(const NamedDecl *ND, in lookup() 124 LinkageInfo getLVForNamespaceScopeDecl(const NamedDecl *D, 128 LinkageInfo getLVForClassMember(const NamedDecl *D, 135 LinkageInfo getLVForLocalDecl(const NamedDecl *D, 146 LinkageInfo computeLVForDecl(const NamedDecl *D, [all …]
|
| H A D | ASTImporterLookupTable.cpp | 40 bool VisitNamedDecl(NamedDecl *D) { in VisitNamedDecl() 93 dyn_cast_or_null<NamedDecl>(TU.getASTContext().getVaListTagDecl())) { in ASTImporterLookupTable() 104 void ASTImporterLookupTable::add(DeclContext *DC, NamedDecl *ND) { in add() 110 void ASTImporterLookupTable::remove(DeclContext *DC, NamedDecl *ND) { in remove() 126 void ASTImporterLookupTable::add(NamedDecl *ND) { in add() 135 void ASTImporterLookupTable::remove(NamedDecl *ND) { in remove() 144 void ASTImporterLookupTable::update(NamedDecl *ND, DeclContext *OldDC) { in update() 157 void ASTImporterLookupTable::updateForced(NamedDecl *ND, DeclContext *OldDC) { in updateForced() 176 bool ASTImporterLookupTable::contains(DeclContext *DC, NamedDecl *ND) const { in contains() 190 for (NamedDecl *ND : List) { in dump()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | IdentifierResolver.h | 31 class NamedDecl; variable 45 using DeclsTy = SmallVector<NamedDecl *, 2>; 54 void RemoveDecl(NamedDecl *D); 73 using value_type = NamedDecl *; 74 using reference = NamedDecl *; 75 using pointer = NamedDecl *; 87 iterator(NamedDecl *D) { in iterator() 110 NamedDecl *operator*() const { 114 return reinterpret_cast<NamedDecl*>(Ptr); 163 void AddDecl(NamedDecl *D); [all …]
|
| H A D | Lookup.h | 405 NamedDecl *getAcceptableDecl(NamedDecl *D) const { in getAcceptableDecl() 419 NamedDecl *getAcceptableDeclSlow(NamedDecl *D) const; 472 void addDecl(NamedDecl *D) { in addDecl() 563 NamedDecl *getFoundDecl() const { in getFoundDecl() 705 NamedDecl *next() { in next() 723 void replace(NamedDecl *D) { in replace() 853 virtual void FoundDecl(NamedDecl *ND, NamedDecl *Hiding, DeclContext *Ctx, 867 llvm::MapVector<NamedDecl*, NamedDecl*> Decls; 870 NamedDecl *operator()(std::pair<NamedDecl*, NamedDecl*> P) const { in operator() 877 void insert(NamedDecl *D); [all …]
|
| H A D | TypoCorrection.h | 59 TypoCorrection(const DeclarationName &Name, NamedDecl *NameDecl, 68 TypoCorrection(NamedDecl *Name, NestedNameSpecifier *NNS = nullptr, 146 NamedDecl *getFoundDecl() const { in getFoundDecl() 151 NamedDecl *getCorrectionDecl() const { in getCorrectionDecl() 166 void setCorrectionDecl(NamedDecl *CDecl) { in setCorrectionDecl() 172 void setCorrectionDecls(ArrayRef<NamedDecl*> Decls) { in setCorrectionDecls() 179 void addCorrectionDecl(NamedDecl *CDecl); 230 using decl_iterator = SmallVectorImpl<NamedDecl *>::iterator; 238 using const_decl_iterator = SmallVectorImpl<NamedDecl *>::const_iterator; 268 SmallVector<NamedDecl *, 1> CorrectionDecls;
|
| H A D | DelayedDiagnostic.h | 80 NamedDecl *getTargetDecl() const { return Target; } in getTargetDecl() 116 NamedDecl *Target; 137 const NamedDecl *ReferringDecl, 138 const NamedDecl *OffendingDecl, 177 const NamedDecl *getAvailabilityReferringDecl() const { in getAvailabilityReferringDecl() 182 const NamedDecl *getAvailabilityOffendingDecl() const { in getAvailabilityOffendingDecl() 235 const NamedDecl *ReferringDecl; 236 const NamedDecl *OffendingDecl;
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | ASTImporterLookupTable.h | 24 class NamedDecl; variable 52 using DeclList = llvm::SmallSetVector<NamedDecl *, 2>; 56 void add(DeclContext *DC, NamedDecl *ND); 57 void remove(DeclContext *DC, NamedDecl *ND); 63 void add(NamedDecl *ND); 64 void remove(NamedDecl *ND); 76 void update(NamedDecl *ND, DeclContext *OldDC); 80 void updateForced(NamedDecl *ND, DeclContext *OldDC); 86 bool contains(DeclContext *DC, NamedDecl *ND) const;
|
| H A D | UnresolvedSet.h | 28 class NamedDecl; variable 35 std::ptrdiff_t, NamedDecl *, NamedDecl *> { 50 NamedDecl *getDecl() const { return I->getDecl(); } in getDecl() 51 void setDecl(NamedDecl *ND) const { return I->setDecl(ND); } in setDecl() 56 NamedDecl *operator*() const { return getDecl(); } 57 NamedDecl *operator->() const { return **this; } 91 void addDecl(NamedDecl *D) { in addDecl() 95 void addDecl(NamedDecl *D, AccessSpecifier AS) { in addDecl() 102 bool replace(const NamedDecl* Old, NamedDecl *New) { in replace() 111 void replace(iterator I, NamedDecl *New) { I.I->setDecl(New); } in replace() [all …]
|
| H A D | DeclAccessPair.h | 25 class NamedDecl; variable 35 static DeclAccessPair make(NamedDecl *D, AccessSpecifier AS) { in make() 41 NamedDecl *getDecl() const { in getDecl() 42 return reinterpret_cast<NamedDecl*>(~Mask & Ptr); in getDecl() 48 void setDecl(NamedDecl *D) { in setDecl() 54 void set(NamedDecl *D, AccessSpecifier AS) { in set() 58 operator NamedDecl*() const { return getDecl(); } 59 NamedDecl *operator->() const { return getDecl(); }
|
| H A D | DeclContextInternals.h | 84 void erase(NamedDecl *ND) { in erase() 85 erase_if([ND](NamedDecl *D) { return D == ND; }); in erase() 125 if (NamedDecl *ND = getAsDecl()) in getASTContext() 132 NamedDecl *getAsDecl() const { in getAsDecl() 148 void remove(NamedDecl *D) { in remove() 164 erase_if([Decls](NamedDecl *ND) { in replaceExternalDecls() 167 for (NamedDecl *D : Decls) in replaceExternalDecls() 215 void addOrReplaceDecl(NamedDecl *D) { in addOrReplaceDecl() 224 if (NamedDecl *OldD = getAsDecl()) { in addOrReplaceDecl() 248 if (auto *ND = N->Rest.dyn_cast<NamedDecl *>()) { in addOrReplaceDecl() [all …]
|
| H A D | ODRDiagsEmitter.h | 140 const NamedDecl *FirstRecord, 142 const NamedDecl *SecondRecord, 146 const NamedDecl *FirstRecord, 148 const NamedDecl *SecondRecord, 151 bool diagnoseSubMismatchField(const NamedDecl *FirstRecord, 156 bool diagnoseSubMismatchTypedef(const NamedDecl *FirstRecord, 162 bool diagnoseSubMismatchVar(const NamedDecl *FirstRecord, 180 bool diagnoseSubMismatchObjCMethod(const NamedDecl *FirstObjCContainer, 190 diagnoseSubMismatchObjCProperty(const NamedDecl *FirstObjCContainer,
|
| H A D | ASTConcept.h | 30 class NamedDecl; variable 38 const NamedDecl *ConstraintOwner = nullptr; 45 ConstraintSatisfaction(const NamedDecl *ConstraintOwner, in ConstraintSatisfaction() 67 const NamedDecl *ConstraintOwner, 143 NamedDecl *FoundDecl; 153 DeclarationNameInfo ConceptNameInfo, NamedDecl *FoundDecl, in ConceptReference() 164 NamedDecl *FoundDecl, ConceptDecl *NamedConcept, 199 NamedDecl *getFoundDecl() const { in getFoundDecl() 272 NamedDecl *getFoundDecl() const { return ConceptRef->getFoundDecl(); } in getFoundDecl()
|
| H A D | Mangle.h | 36 class NamedDecl; variable 64 llvm::DenseMap<const NamedDecl*, uint64_t> AnonStructIds; 92 uint64_t getAnonymousStructId(const NamedDecl *D, 101 std::pair<llvm::DenseMap<const NamedDecl *, uint64_t>::iterator, bool> 106 uint64_t getAnonymousStructIdForDebugInfo(const NamedDecl *D) { in getAnonymousStructIdForDebugInfo() 107 llvm::DenseMap<const NamedDecl *, uint64_t>::iterator Result = in getAnonymousStructIdForDebugInfo() 120 bool shouldMangleDeclName(const NamedDecl *D); 121 virtual bool shouldMangleCXXName(const NamedDecl *D) = 0; 124 virtual bool isUniqueInternalLinkageDecl(const NamedDecl *ND) { in isUniqueInternalLinkageDecl() 149 const NamedDecl *ID, [all …]
|
| H A D | ASTUnresolvedSet.h | 26 class NamedDecl; variable 55 void addDecl(ASTContext &C, NamedDecl *D, AccessSpecifier AS) { in addDecl() 62 bool replace(const NamedDecl *Old, NamedDecl *New, AccessSpecifier AS) { in replace() 115 Impl.addDecl(C, reinterpret_cast<NamedDecl *>(ID << 2), AS); in addLazyDecl()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | NameSearchContext.h | 30 llvm::SmallVectorImpl<clang::NamedDecl *> &m_decls; 65 llvm::SmallVectorImpl<clang::NamedDecl *> &decls, in NameSearchContext() 78 clang::NamedDecl *AddVarDecl(const CompilerType &type); 88 clang::NamedDecl *AddFunDecl(const CompilerType &type, bool extern_c = false); 92 clang::NamedDecl *AddGenericFunDecl(); 99 clang::NamedDecl *AddTypeDecl(const CompilerType &compiler_type); 114 void AddNamedDecl(clang::NamedDecl *decl);
|
| H A D | NameSearchContext.cpp | 16 clang::NamedDecl *NameSearchContext::AddVarDecl(const CompilerType &type) { in AddVarDecl() 30 clang::NamedDecl *Decl = VarDecl::Create( in AddVarDecl() 38 clang::NamedDecl *NameSearchContext::AddFunDecl(const CompilerType &type, in AddFunDecl() 130 clang::NamedDecl *NameSearchContext::AddGenericFunDecl() { in AddGenericFunDecl() 143 clang::NamedDecl * 154 return (NamedDecl *)typedef_name_decl; in AddTypeDecl() 165 m_decls.push_back((NamedDecl *)interface_decl); in AddTypeDecl() 167 return (NamedDecl *)interface_decl; in AddTypeDecl() 174 for (clang::NamedDecl *decl : result) in AddLookupResult() 178 void NameSearchContext::AddNamedDecl(clang::NamedDecl *decl) { in AddNamedDecl()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/ |
| H A D | USRFinder.cpp | 43 bool visitSymbolOccurrence(const NamedDecl *ND, in visitSymbolOccurrence() 58 const NamedDecl *getNamedDecl() const { return Result; } in getNamedDecl() 70 const NamedDecl *Result = nullptr; 77 const NamedDecl *getNamedDeclAt(const ASTContext &Context, in getNamedDeclAt() 108 bool VisitNamedDecl(const NamedDecl *ND) { in VisitNamedDecl() 119 const NamedDecl *getNamedDecl() const { return Result; } in getNamedDecl() 122 const NamedDecl *Result = nullptr; 128 const NamedDecl *getNamedDeclFor(const ASTContext &Context, in getNamedDeclFor()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | IdentifierResolver.cpp | 77 void IdentifierResolver::IdDeclInfo::RemoveDecl(NamedDecl *D) { in RemoveDecl() 155 void IdentifierResolver::AddDecl(NamedDecl *D) { in AddDecl() 172 NamedDecl *PrevD = static_cast<NamedDecl*>(Ptr); in AddDecl() 180 void IdentifierResolver::InsertDeclAfter(iterator Pos, NamedDecl *D) { in InsertDeclAfter() 197 NamedDecl *PrevD = static_cast<NamedDecl*>(Ptr); in InsertDeclAfter() 220 void IdentifierResolver::RemoveDecl(NamedDecl *D) { in RemoveDecl() 252 return iterator(static_cast<NamedDecl*>(Ptr)); in begin() 276 static DeclMatchKind compareDeclarations(NamedDecl *Existing, NamedDecl *New) { in compareDeclarations() 316 bool IdentifierResolver::tryAddTopLevelDecl(NamedDecl *D, DeclarationName Name){ in tryAddTopLevelDecl() 330 NamedDecl *PrevD = static_cast<NamedDecl*>(Ptr); in tryAddTopLevelDecl() [all …]
|
| H A D | SemaLookup.cpp | 965 if (NamedDecl *D = in LookupBuiltin() 1124 for (NamedDecl *D : DR) { in LookupDirect() 2018 static NamedDecl *findAcceptableDecl(Sema &SemaRef, NamedDecl *D, in findAcceptableDecl() 2055 NamedDecl *LookupResult::getAcceptableDeclSlow(NamedDecl *D) const { in getAcceptableDeclSlow() 3814 NamedDecl *&Old = Decls[cast<NamedDecl>(New->getCanonicalDecl())]; in insert() 4008 NamedDecl *checkHidden(NamedDecl *ND); 4034 NamedDecl *VisibleDeclsRecord::checkHidden(NamedDecl *ND) { in checkHidden() 4331 if (NamedDecl *ND = dyn_cast<NamedDecl>(D)) in lookupInScope() 4560 void TypoCorrectionConsumer::FoundDecl(NamedDecl *ND, NamedDecl *Hiding, in FoundDecl() 5663 static const NamedDecl *getDefinitionToImport(const NamedDecl *D) { in getDefinitionToImport() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | InterfaceStubFunctionsConsumer.cpp | 48 auto isVisible = [](const NamedDecl *ND) -> bool { in WriteNamedDecl() 84 auto getParentFunctionDecl = [](const NamedDecl *ND) -> const NamedDecl * { in WriteNamedDecl() 114 const NamedDecl *ParentDecl = getParentFunctionDecl(ND); in WriteNamedDecl() 147 HandleNamedDecl(dyn_cast<NamedDecl>(D), Symbols, RDO); in HandleDecls() 153 HandleNamedDecl(dyn_cast<NamedDecl>(D), Symbols, RDO); in HandleTemplateSpecializations() 159 HandleNamedDecl(dyn_cast<NamedDecl>(D), Symbols, RDO); in HandleTemplateSpecializations() 245 bool VisitNamedDecl(NamedDecl *ND) { in HandleTranslationUnit() 261 std::set<const NamedDecl *> LateParsedDecls; in HandleTranslationUnit() 262 std::set<NamedDecl *> NamedDecls; in HandleTranslationUnit() 283 for (const NamedDecl *ND : v.ValueDecls) in HandleTranslationUnit() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Index/ |
| H A D | IndexingContext.h | 26 class NamedDecl; variable 78 bool handleReference(const NamedDecl *D, SourceLocation Loc, 79 const NamedDecl *Parent, const DeclContext *DC, 100 void indexTypeSourceInfo(TypeSourceInfo *TInfo, const NamedDecl *Parent, 105 void indexTypeLoc(TypeLoc TL, const NamedDecl *Parent, 111 const NamedDecl *Parent, 116 void indexBody(const Stmt *S, const NamedDecl *Parent,
|
| H A D | IndexDecl.cpp | 51 const NamedDecl *Parent, in handleTemplateArgumentLoc() 68 if (const NamedDecl *TTD = TD->getTemplatedDecl()) in handleTemplateArgumentLoc() 89 const NamedDecl *Parent = nullptr, in handleDeclarator() 205 gatherTemplatePseudoOverrides(const NamedDecl *D, in gatherTemplatePseudoOverrides() 610 const NamedDecl *Parent = dyn_cast<NamedDecl>(DC); in VisitUsingDecl() 628 const NamedDecl *Parent = dyn_cast<NamedDecl>(DC); in VisitUsingDirectiveDecl() 645 const NamedDecl *Parent = dyn_cast<NamedDecl>(DC); in VisitUnresolvedUsingValueDecl() 654 const NamedDecl *Parent = dyn_cast<NamedDecl>(DC); in VisitUnresolvedUsingTypenameDecl() 697 const NamedDecl *Parent) { in indexTemplateParameters() 698 for (const NamedDecl *TP : *Params) { in indexTemplateParameters() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/Rename/ |
| H A D | USRFindingAction.h | 26 class NamedDecl; variable 37 const NamedDecl *getCanonicalSymbolDeclaration(const NamedDecl *FoundDecl); 40 std::vector<std::string> getUSRsForDeclaration(const NamedDecl *ND,
|
| H A D | USRFinder.h | 28 class NamedDecl; variable 34 const NamedDecl *getNamedDeclAt(const ASTContext &Context, 40 const NamedDecl *getNamedDeclFor(const ASTContext &Context,
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/ExtractAPI/ |
| H A D | TypedefUnderlyingTypeResolver.cpp | 20 const NamedDecl * 22 const NamedDecl *TypeDecl = nullptr; in getUnderlyingTypeDecl() 51 const NamedDecl *TypeDecl = getUnderlyingTypeDecl(Type); in getSymbolReferenceForType() 68 const NamedDecl *TypeDecl = getUnderlyingTypeDecl(Type); in getUSRForType()
|