Home
last modified time | relevance | path

Searched refs:TypedefNameDecl (Results 1 – 25 of 99) sorted by relevance

1234

/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DExternalSemaSource.h34 class TypedefNameDecl; variable
135 virtual void ReadExtVectorDecls(SmallVectorImpl<TypedefNameDecl *> &Decls) {} in ReadExtVectorDecls()
144 llvm::SmallSetVector<const TypedefNameDecl *, 4> &Decls) {} in ReadUnusedLocalTypedefNameCandidates() argument
H A DMultiplexExternalSemaSource.h30 class TypedefNameDecl; variable
283 void ReadExtVectorDecls(SmallVectorImpl<TypedefNameDecl*> &Decls) override;
292 llvm::SmallSetVector<const TypedefNameDecl *, 4> &Decls) override;
H A DTemplate.h42 class TypedefNameDecl; variable
732 Decl *InstantiateTypedefNameDecl(TypedefNameDecl *D, bool IsTypeAlias);
H A DAttr.h49 isa<TypedefNameDecl>(D) || isa<ObjCPropertyDecl>(D); in hasDeclarator()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DCXXABI.h64 TypedefNameDecl *DD) = 0;
66 virtual TypedefNameDecl *
H A DStmtIterator.cpp83 else if (TypedefNameDecl* TD = dyn_cast<TypedefNameDecl>(D)) { in HandleDecl()
H A DItaniumCXXABI.cpp268 TypedefNameDecl *DD) override {} in addTypedefNameForUnnamedTagDecl()
270 TypedefNameDecl *getTypedefNameForUnnamedTagDecl(const TagDecl *TD) override { in getTypedefNameForUnnamedTagDecl()
H A DASTImporterLookupTable.cpp27 bool VisitTypedefNameDecl(TypedefNameDecl *D) { in VisitTypedefNameDecl()
H A DODRDiagsEmitter.cpp248 const TypedefNameDecl *FirstTD, const TypedefNameDecl *SecondTD, in diagnoseSubMismatchTypedef()
1266 cast<TypedefNameDecl>(FirstDecl), in diagnoseMismatch()
1267 cast<TypedefNameDecl>(SecondDecl), in diagnoseMismatch()
1633 cast<TypedefNameDecl>(FirstDecl), in diagnoseMismatch()
1634 cast<TypedefNameDecl>(SecondDecl), in diagnoseMismatch()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateDeductionGuide.cpp61 llvm::SmallVectorImpl<TypedefNameDecl *> &MaterializedTypedefs;
70 llvm::SmallVectorImpl<TypedefNameDecl *> &MaterializedTypedefs, in ExtractTypeForDeductionGuide()
86 bool mightReferToOuterTemplateParameters(TypedefNameDecl *Typedef) { in mightReferToOuterTemplateParameters()
139 TypedefNameDecl *OrigDecl = TL.getTypedefNameDecl(); in TransformTypedefType()
140 TypedefNameDecl *Decl = OrigDecl; in TransformTypedefType()
159 Decl = cast_if_present<TypedefNameDecl>( in TransformTypedefType()
202 llvm::ArrayRef<TypedefNameDecl *> MaterializedTypedefs = {}, in buildDeductionGuide()
447 SmallVector<TypedefNameDecl *, 4> MaterializedTypedefs; in transformConstructor()
551 SmallVectorImpl<TypedefNameDecl *> &MaterializedTypedefs) { in transformFunctionProtoType()
623 llvm::SmallVectorImpl<TypedefNameDecl *> &MaterializedTypedefs, in transformFunctionTypeParam()
[all …]
H A DMultiplexExternalSemaSource.cpp298 SmallVectorImpl<TypedefNameDecl*> &Decls) { in ReadExtVectorDecls()
310 llvm::SmallSetVector<const TypedefNameDecl *, 4> &Decls) { in ReadUnusedLocalTypedefNameCandidates() argument
H A DSemaCXXScopeSpec.cpp333 if (const TypedefNameDecl *TD = dyn_cast<TypedefNameDecl>(SD)) { in isAcceptableNestedNameSpecifier()
622 if (auto *TD = dyn_cast_or_null<TypedefNameDecl>(SD)) in BuildCXXNestedNameSpecifier()
H A DSemaSwift.cpp591 isa<VarDecl>(D) || isa<TypedefNameDecl>(D) || isa<TagDecl>(D) || in DiagnoseName()
661 if (!isa<TypedefNameDecl>(D)) { in handleNewType()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DODRDiagsEmitter.h158 const TypedefNameDecl *FirstTD,
159 const TypedefNameDecl *SecondTD,
H A DDecl.h3524 class TypedefNameDecl : public TypeDecl, public Redeclarable<TypedefNameDecl> {
3539 TypedefNameDecl(Kind DK, ASTContext &C, DeclContext *DC, in TypedefNameDecl() function
3545 using redeclarable_base = Redeclarable<TypedefNameDecl>;
3547 TypedefNameDecl *getNextRedeclarationImpl() override { in getNextRedeclarationImpl()
3551 TypedefNameDecl *getPreviousDeclImpl() override { in getPreviousDeclImpl()
3555 TypedefNameDecl *getMostRecentDeclImpl() override { in getMostRecentDeclImpl()
3595 TypedefNameDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl()
3596 const TypedefNameDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl()
3625 class TypedefDecl : public TypedefNameDecl {
3629 : TypedefNameDecl(Typedef, C, DC, StartLoc, IdLoc, Id, TInfo) {} in TypedefDecl()
[all …]
/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/
H A DTypedefUnderlyingTypeResolver.cpp39 const TypedefNameDecl *TypedefDecl = TypedefTy->getDecl(); in getUnderlyingTypeDecl()
H A DDeclarationFragments.cpp311 const TypedefNameDecl *Decl = TypedefTy->getDecl(); in getFragmentsForType()
776 if (const auto *TypedefNameDecl = EnumDecl->getTypedefNameForAnonDecl()) in getFragmentsForEnum() local
777 return getFragmentsForTypedef(TypedefNameDecl); in getFragmentsForEnum()
819 if (const auto *TypedefNameDecl = Record->getTypedefNameForAnonDecl()) in getFragmentsForRecordDecl() local
820 return getFragmentsForTypedef(TypedefNameDecl); in getFragmentsForRecordDecl()
840 if (const auto *TypedefNameDecl = Record->getTypedefNameForAnonDecl()) in getFragmentsForCXXClass() local
841 return getFragmentsForTypedef(TypedefNameDecl); in getFragmentsForCXXClass()
1598 const TypedefNameDecl *Decl) { in getFragmentsForTypedef()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexingContext.cpp175 } else if (isa<FieldDecl>(D) || isa<TypedefNameDecl>(D) || in isTemplateImplicitInstantiation()
237 } else if (isa<FieldDecl>(D) || isa<TypedefNameDecl>(D)) { in adjustTemplateImplicitInstantiation()
272 if (isa<TypedefNameDecl>(D) || isa<EnumConstantDecl>(D) || in isDeclADefinition()
H A DIndexTypeSourceInfo.cpp62 TypedefNameDecl *ND = TL.getTypedefNameDecl(); in VisitTypedefTypeLoc()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DNameSearchContext.cpp150 TypedefNameDecl *typedef_name_decl = typedef_type->getDecl(); in AddTypeDecl()
H A DASTUtils.h560 llvm::SmallVectorImpl<clang::TypedefNameDecl *> &Decls) override { in ReadExtVectorDecls()
566 llvm::SmallSetVector<const clang::TypedefNameDecl *, 4> &Decls) override { in ReadUnusedLocalTypedefNameCandidates() argument
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbAstBuilder.h72 clang::TypedefNameDecl *GetOrCreateTypedefDecl(PdbGlobalSymId id);
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DLLVMConventionsChecker.cpp57 const TypedefNameDecl *TD = TT->getDecl(); in IsStdString()
H A DVLASizeChecker.cpp274 else if (const auto *TND = dyn_cast<TypedefNameDecl>(DS->getSingleDecl())) in checkPreStmt()
/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/
H A DASTMatchFinder.cpp461 bool VisitTypedefNameDecl(TypedefNameDecl *DeclNode) { in VisitTypedefNameDecl()
1298 for (const TypedefNameDecl *Alias : Aliases->second) { in typeHasMatchingAlias()
1312 for (const TypedefNameDecl *Alias : Aliases->second) { in typeHasMatchingAlias()
1358 llvm::DenseMap<const Type*, std::set<const TypedefNameDecl*> > TypeAliases;

1234