Home
last modified time | relevance | path

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

123

/external/clang/lib/AST/
DMicrosoftCXXABI.cpp75 llvm::SmallDenseMap<TagDecl *, TypedefNameDecl *>
119 TypedefNameDecl *DD) override { in addTypedefNameForUnnamedTagDecl()
121 DD = cast<TypedefNameDecl>(DD->getCanonicalDecl()); in addTypedefNameForUnnamedTagDecl()
122 TypedefNameDecl *&I = UnnamedTagDeclToTypedefNameDecl[TD]; in addTypedefNameForUnnamedTagDecl()
127 TypedefNameDecl *getTypedefNameForUnnamedTagDecl(const TagDecl *TD) override { in getTypedefNameForUnnamedTagDecl()
DCXXABI.h63 TypedefNameDecl *DD) = 0;
65 virtual TypedefNameDecl *
DStmtIterator.cpp80 else if (TypedefNameDecl* TD = dyn_cast<TypedefNameDecl>(D)) { in HandleDecl()
DItaniumCXXABI.cpp153 TypedefNameDecl *DD) override {} in addTypedefNameForUnnamedTagDecl()
155 TypedefNameDecl *getTypedefNameForUnnamedTagDecl(const TagDecl *TD) override { in getTypedefNameForUnnamedTagDecl()
DASTImporter.cpp135 Decl *VisitTypedefNameDecl(TypedefNameDecl *D, bool IsAlias);
1397 } else if (TypedefNameDecl *Typedef1 = dyn_cast<TypedefNameDecl>(D1)) { in Finish()
1398 if (TypedefNameDecl *Typedef2 = dyn_cast<TypedefNameDecl>(D2)) { in Finish()
1691 TypedefNameDecl *ToDecl in VisitTypedefType()
1692 = dyn_cast_or_null<TypedefNameDecl>(Importer.Import(T->getDecl())); in VisitTypedefType()
2382 Decl *ASTNodeImporter::VisitTypedefNameDecl(TypedefNameDecl *D, bool IsAlias) { in VisitTypedefNameDecl()
2404 if (TypedefNameDecl *FoundTypedef = in VisitTypedefNameDecl()
2405 dyn_cast<TypedefNameDecl>(FoundDecls[I])) { in VisitTypedefNameDecl()
2431 TypedefNameDecl *ToTypedef; in VisitTypedefNameDecl()
2489 if (TypedefNameDecl *Typedef = dyn_cast<TypedefNameDecl>(Found)) { in VisitEnumDecl()
[all …]
DDecl.cpp826 } else if (auto *TD = dyn_cast<TypedefNameDecl>(D)) { in getLVForNamespaceScopeDecl()
1260 !cast<TypedefNameDecl>(D) in computeLVForDecl()
3423 void TagDecl::setTypedefNameForAnonDecl(TypedefNameDecl *TDD) { in setTypedefNameForAnonDecl()
3490 TypedefNameDeclOrQualifier = (TypedefNameDecl *)nullptr; in setQualifierInfo()
3940 void TypedefNameDecl::anchor() { } in anchor()
3942 TagDecl *TypedefNameDecl::getAnonDeclWithTypedefName(bool AnyRedecl) const { in getAnonDeclWithTypedefName()
/external/clang/include/clang/Sema/
DExternalSemaSource.h37 class TypedefNameDecl; variable
133 virtual void ReadExtVectorDecls(SmallVectorImpl<TypedefNameDecl *> &Decls) {} in ReadExtVectorDecls()
142 llvm::SmallSetVector<const TypedefNameDecl *, 4> &Decls) {} in ReadUnusedLocalTypedefNameCandidates() argument
DMultiplexExternalSemaSource.h31 class TypedefNameDecl; variable
266 void ReadExtVectorDecls(SmallVectorImpl<TypedefNameDecl*> &Decls) override;
275 llvm::SmallSetVector<const TypedefNameDecl *, 4> &Decls) override;
DTemplate.h506 Decl *InstantiateTypedefNameDecl(TypedefNameDecl *D, bool IsTypeAlias);
/external/clang/include/clang/AST/
DDecl.h2592 class TypedefNameDecl : public TypeDecl, public Redeclarable<TypedefNameDecl> {
2598 TypedefNameDecl(Kind DK, ASTContext &C, DeclContext *DC, in TypedefNameDecl() function
2604 typedef Redeclarable<TypedefNameDecl> redeclarable_base;
2605 TypedefNameDecl *getNextRedeclarationImpl() override { in getNextRedeclarationImpl()
2608 TypedefNameDecl *getPreviousDeclImpl() override { in getPreviousDeclImpl()
2611 TypedefNameDecl *getMostRecentDeclImpl() override { in getMostRecentDeclImpl()
2645 TypedefNameDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl()
2646 const TypedefNameDecl *getCanonicalDecl() const { return getFirstDecl(); } in getCanonicalDecl()
2664 class TypedefDecl : public TypedefNameDecl {
2667 : TypedefNameDecl(Typedef, C, DC, StartLoc, IdLoc, Id, TInfo) {} in TypedefDecl()
[all …]
DASTContext.h1202 QualType getTypedefType(const TypedefNameDecl *Decl,
2386 void addTypedefNameForUnnamedTagDecl(TagDecl *TD, TypedefNameDecl *TND);
2388 TypedefNameDecl *getTypedefNameForUnnamedTagDecl(const TagDecl *TD);
/external/clang/lib/Sema/
DMultiplexExternalSemaSource.cpp246 SmallVectorImpl<TypedefNameDecl*> &Decls) { in ReadExtVectorDecls()
252 llvm::SmallSetVector<const TypedefNameDecl *, 4> &Decls) { in ReadUnusedLocalTypedefNameCandidates() argument
DSemaDeclAttr.cpp65 return isa<DeclaratorDecl>(D) || isa<BlockDecl>(D) || isa<TypedefNameDecl>(D) || in hasDeclarator()
450 TypedefNameDecl *TN = TD->getDecl(); in checkTypedefTypeForCapability()
1068 S.ExtVectorDecls.push_back(cast<TypedefNameDecl>(D)); in handleExtVectorTypeAttr()
2207 if (isa<TypedefNameDecl>(D)) { in handleVisibilityAttr()
2288 if (TypedefNameDecl *TD = dyn_cast<TypedefNameDecl>(D)) { in handleObjCNSObject()
2317 if (TypedefNameDecl *TD = dyn_cast<TypedefNameDecl>(D)) { in handleObjCIndependentClass()
2939 TypedefNameDecl *TD = dyn_cast<TypedefNameDecl>(D); in handleTransparentUnionAttr()
3034 if (TypedefNameDecl *TD = dyn_cast<TypedefNameDecl>(D)) in AddAlignValueAttr()
3099 if (const auto *TND = dyn_cast<TypedefNameDecl>(D)) { in handleAlignedAttr()
3391 if (TypedefNameDecl *TD = dyn_cast<TypedefNameDecl>(D)) in handleModeAttr()
[all …]
DSemaCXXScopeSpec.cpp306 if (const TypedefNameDecl *TD = dyn_cast<TypedefNameDecl>(SD)) { in isAcceptableNestedNameSpecifier()
668 if (auto *TD = dyn_cast_or_null<TypedefNameDecl>(SD)) in BuildCXXNestedNameSpecifier()
DJumpDiagnostics.cpp204 if (const TypedefNameDecl *TD = dyn_cast<TypedefNameDecl>(D)) { in GetDiagForGotoScopeDecl()
DSemaStmtAsm.cpp640 else if (TypedefNameDecl *TD = dyn_cast<TypedefNameDecl>(FoundDecl)) { in LookupInlineAsmField()
DSemaDeclObjC.cpp511 if (const TypedefNameDecl *TDecl = in ActOnSuperClassOfClassInterface()
512 dyn_cast_or_null<TypedefNameDecl>(PrevDecl)) { in ActOnSuperClassOfClassInterface()
523 (void)DiagnoseUseOfDecl(const_cast<TypedefNameDecl*>(TDecl), SuperLoc); in ActOnSuperClassOfClassInterface()
539 if (!dyn_cast_or_null<TypedefNameDecl>(PrevDecl)) { in ActOnSuperClassOfClassInterface()
1041 if (const TypedefNameDecl *TDecl = dyn_cast_or_null<TypedefNameDecl>(IDecl)) { in ActOnTypedefedProtocols()
1067 if (const TypedefNameDecl *TDecl = in ActOnCompatibilityAlias()
1068 dyn_cast_or_null<TypedefNameDecl>(CDeclU)) { in ActOnCompatibilityAlias()
2938 TypedefNameDecl *TDD = dyn_cast<TypedefNameDecl>(PrevDecl); in ActOnForwardClassDeclaration()
DSemaTemplateInstantiateDecl.cpp355 Decl *TemplateDeclInstantiator::InstantiateTypedefNameDecl(TypedefNameDecl *D, in InstantiateTypedefNameDecl()
388 TypedefNameDecl *Typedef; in InstantiateTypedefNameDecl()
409 if (TypedefNameDecl *Prev = getPreviousDeclForInstantiation(D)) { in InstantiateTypedefNameDecl()
415 TypedefNameDecl *InstPrevTypedef = cast<TypedefNameDecl>(InstPrev); in InstantiateTypedefNameDecl()
458 if (getPreviousDeclForInstantiation<TypedefNameDecl>(Pattern)) { in VisitTypeAliasTemplateDecl()
822 if (TypedefNameDecl *TND = SemaRef.Context.getTypedefNameForUnnamedTagDecl(D)) in VisitEnumDecl()
1322 if (TypedefNameDecl *TND = SemaRef.Context.getTypedefNameForUnnamedTagDecl(D)) in VisitCXXRecordDecl()
/external/clang/lib/Frontend/
DASTConsumers.cpp425 TypedefNameDecl* TD = cast<TypedefNameDecl>(I); in PrintDeclContext()
/external/clang/lib/ASTMatchers/
DASTMatchFinder.cpp333 bool VisitTypedefNameDecl(TypedefNameDecl *DeclNode) { in VisitTypedefNameDecl()
708 for (const TypedefNameDecl *Alias : TypeAliases.lookup(CanonicalType)) { in typeHasMatchingAlias()
740 llvm::DenseMap<const Type*, std::set<const TypedefNameDecl*> > TypeAliases;
/external/clang/lib/StaticAnalyzer/Checkers/
DLLVMConventionsChecker.cpp59 const TypedefNameDecl *TD = TT->getDecl(); in IsStdString()
/external/clang/tools/libclang/
DIndexDecl.cpp122 bool VisitTypedefNameDecl(const TypedefNameDecl *D) { in VisitTypedefNameDecl()
DCXType.cpp243 if (const TypedefNameDecl *TD = dyn_cast_or_null<TypedefNameDecl>(D)) { in clang_getTypedefDeclUnderlyingType()
DIndexingContext.h410 bool handleTypedefName(const TypedefNameDecl *D);
/external/clang/lib/Serialization/
DASTReaderDecl.cpp248 RedeclarableResult VisitTypedefNameDecl(TypedefNameDecl *TD);
446 cast<TypedefNameDecl>(Reader.GetDecl(NamedDeclForTagDecl)); in Visit()
558 ASTDeclReader::VisitTypedefNameDecl(TypedefNameDecl *TD) { in VisitTypedefNameDecl()
2284 return mergeRedeclarable(DAlias, cast<TypedefNameDecl>(ExistingPattern), in mergeTemplatePattern()
2554 if (TypedefNameDecl *TypedefX = dyn_cast<TypedefNameDecl>(X)) in isSameEntity()
2555 if (TypedefNameDecl *TypedefY = dyn_cast<TypedefNameDecl>(Y)) in isSameEntity()
2754 if (auto *TND = dyn_cast<TypedefNameDecl>(Found)) in getDeclForMerging()

123