Home
last modified time | relevance | path

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

12

/external/clang/lib/AST/
DStmtIterator.cpp101 else if (TypedefNameDecl* TD = dyn_cast<TypedefNameDecl>(D)) { in HandleDecl()
DASTImporter.cpp101 Decl *VisitTypedefNameDecl(TypedefNameDecl *D, bool IsAlias);
1235 } else if (TypedefNameDecl *Typedef1 = dyn_cast<TypedefNameDecl>(D1)) { in Finish()
1236 if (TypedefNameDecl *Typedef2 = dyn_cast<TypedefNameDecl>(D2)) { in Finish()
1550 TypedefNameDecl *ToDecl in VisitTypedefType()
1551 = dyn_cast_or_null<TypedefNameDecl>(Importer.Import(T->getDecl())); in VisitTypedefType()
2020 Decl *ASTNodeImporter::VisitTypedefNameDecl(TypedefNameDecl *D, bool IsAlias) { in VisitTypedefNameDecl()
2039 if (TypedefNameDecl *FoundTypedef = in VisitTypedefNameDecl()
2040 dyn_cast<TypedefNameDecl>(*Lookup.first)) { in VisitTypedefNameDecl()
2066 TypedefNameDecl *ToTypedef; in VisitTypedefNameDecl()
2120 if (TypedefNameDecl *Typedef = dyn_cast<TypedefNameDecl>(Found)) { in VisitEnumDecl()
[all …]
DDumpXML.cpp548 visitRedeclarableAttrs<TypedefNameDecl>(D); in visitTypedefDeclAttrs()
556 visitRedeclarableAttrs<TypedefNameDecl>(D); in visitTypeAliasDeclAttrs()
DDeclPrinter.cpp114 if (TypedefNameDecl* TDD = dyn_cast<TypedefNameDecl>(D)) in getDeclType()
DTypePrinter.cpp608 if (TypedefNameDecl *Typedef = Tag->getTypedefNameForAnonDecl()) in AppendScope()
645 else if (TypedefNameDecl *Typedef = D->getTypedefNameForAnonDecl()) { in printTag()
DCXXInheritance.cpp418 if (isa<TypedefNameDecl>(*Path.Decls.first) || in FindNestedNameSpecifierMember()
DMicrosoftMangle.cpp317 if (const TypedefNameDecl *D = TD->getTypedefNameForAnonDecl()) { in mangleUnqualifiedName()
/external/clang/include/clang/AST/
DDecl.h2210 class TypedefNameDecl : public TypeDecl, public Redeclarable<TypedefNameDecl> {
2215 TypedefNameDecl(Kind DK, DeclContext *DC, SourceLocation StartLoc, in TypedefNameDecl() function
2220 typedef Redeclarable<TypedefNameDecl> redeclarable_base;
2221 virtual TypedefNameDecl *getNextRedeclaration() { in getNextRedeclaration()
2239 TypedefNameDecl *getCanonicalDecl() { in getCanonicalDecl()
2242 const TypedefNameDecl *getCanonicalDecl() const { in getCanonicalDecl()
2255 static bool classof(const TypedefNameDecl *D) { return true; } in classof()
2263 class TypedefDecl : public TypedefNameDecl {
2266 : TypedefNameDecl(Typedef, DC, StartLoc, IdLoc, Id, TInfo) {} in TypedefDecl()
2283 class TypeAliasDecl : public TypedefNameDecl {
[all …]
DASTContext.h74 class TypedefNameDecl; variable
704 QualType getTypedefType(const TypedefNameDecl *Decl,
DType.h71 class TypedefNameDecl;
2921 TypedefNameDecl *Decl;
2923 TypedefType(TypeClass tc, const TypedefNameDecl *D, QualType can)
2928 Decl(const_cast<TypedefNameDecl*>(D)) {
2934 TypedefNameDecl *getDecl() const { return Decl; }
/external/clang/lib/Sema/
DTargetAttributesSema.cpp139 TypedefNameDecl *TD = dyn_cast<TypedefNameDecl>(D); in HandleX86ForceAlignArgPointerAttr()
DSemaDeclAttr.cpp59 else if (const TypedefNameDecl* decl = dyn_cast<TypedefNameDecl>(D)) in getFunctionType()
106 return isa<DeclaratorDecl>(D) || isa<BlockDecl>(D) || isa<TypedefNameDecl>(D) || in hasDeclarator()
217 TypedefNameDecl *tDecl = dyn_cast<TypedefNameDecl>(D); in handleExtVectorTypeAttr()
1262 if (TypedefNameDecl *TD = dyn_cast<TypedefNameDecl>(D)) { in handleObjCNSObject()
1961 TypedefNameDecl *TD = dyn_cast<TypedefNameDecl>(D); in handleTransparentUnionAttr()
2150 if (TypedefNameDecl *TD = dyn_cast<TypedefNameDecl>(D)) in handleModeAttr()
2249 if (TypedefNameDecl *TD = dyn_cast<TypedefNameDecl>(D)) { in handleModeAttr()
DSemaDeclObjC.cpp477 if (const TypedefNameDecl *TDecl = in ActOnStartClassInterface()
478 dyn_cast_or_null<TypedefNameDecl>(PrevDecl)) { in ActOnStartClassInterface()
497 if (!dyn_cast_or_null<TypedefNameDecl>(PrevDecl)) { in ActOnStartClassInterface()
549 if (const TypedefNameDecl *TDecl = in ActOnCompatiblityAlias()
550 dyn_cast_or_null<TypedefNameDecl>(CDeclU)) { in ActOnCompatiblityAlias()
1631 TypedefNameDecl *TDD = dyn_cast<TypedefNameDecl>(PrevDecl); in ActOnForwardClassDeclaration()
DSemaCXXScopeSpec.cpp277 else if (TypedefNameDecl *TD = dyn_cast<TypedefNameDecl>(SD)) { in isAcceptableNestedNameSpecifier()
DSemaDecl.cpp1297 void Sema::MergeTypedefNameDecl(TypedefNameDecl *New, LookupResult &OldDecls) { in MergeTypedefNameDecl()
1357 if (TypedefNameDecl *OldTypedef = dyn_cast<TypedefNameDecl>(Old)) in MergeTypedefNameDecl()
1382 if (TypedefNameDecl *Typedef = dyn_cast<TypedefNameDecl>(Old)) in MergeTypedefNameDecl()
1417 if (!isa<TypedefNameDecl>(Old)) in MergeTypedefNameDecl()
3384 Sema::CheckTypedefForVariablyModifiedType(Scope *S, TypedefNameDecl *NewTD) { in CheckTypedefForVariablyModifiedType()
3422 Sema::ActOnTypedefNameDecl(Scope *S, DeclContext *DC, TypedefNameDecl *NewTD, in ActOnTypedefNameDecl()
7145 if (TypedefNameDecl *TD = dyn_cast<TypedefNameDecl>(PrevDecl)) { in ActOnTag()
7328 } else if (TypedefNameDecl *TND = dyn_cast<TypedefNameDecl>(PrevDecl)) { in ActOnTag()
DSemaAccess.cpp1021 else if (TypedefNameDecl *TND = dyn_cast<TypedefNameDecl>(D)) in DiagnoseAccessPath()
DSemaTemplateInstantiateDecl.cpp131 Decl *TemplateDeclInstantiator::InstantiateTypedefNameDecl(TypedefNameDecl *D, in InstantiateTypedefNameDecl()
148 TypedefNameDecl *Typedef; in InstantiateTypedefNameDecl()
169 if (TypedefNameDecl *Prev = D->getPreviousDeclaration()) { in InstantiateTypedefNameDecl()
175 Typedef->setPreviousDeclaration(cast<TypedefNameDecl>(InstPrev)); in InstantiateTypedefNameDecl()
/external/clang/lib/Frontend/
DASTConsumers.cpp340 TypedefNameDecl* TD = cast<TypedefNameDecl>(*I); in PrintDeclContext()
/external/clang/lib/StaticAnalyzer/Checkers/
DLLVMConventionsChecker.cpp59 const TypedefNameDecl *TD = TT->getDecl(); in IsStdString()
DIteratorsChecker.cpp179 const TypedefNameDecl *td = tdt->getDecl(); in getTemplateKind()
/external/clang/include/clang/Sema/
DTemplate.h418 Decl *InstantiateTypedefNameDecl(TypedefNameDecl *D, bool IsTypeAlias);
/external/clang/lib/CodeGen/
DCodeGenTypes.cpp64 } else if (const TypedefNameDecl *TDD = RD->getTypedefNameForAnonDecl()) { in addRecordTypeName()
DCGDecl.cpp97 const TypedefNameDecl &TD = cast<TypedefNameDecl>(D); in EmitDecl()
/external/clang/tools/libclang/
DCIndexUSRs.cpp434 if (const TypedefNameDecl *TD = D->getTypedefNameForAnonDecl()) { in VisitTagDecl()
/external/clang/lib/Rewrite/
DRewriteObjC.cpp4955 else if (TypedefNameDecl *TDD = dyn_cast<TypedefNameDecl>(ND)) in RewriteBlockPointerDecl()
5738 if (TypedefNameDecl *TD = dyn_cast<TypedefNameDecl>(SD)) { in RewriteFunctionBodyOrGlobalInitializer()
5908 if (TypedefNameDecl *TD = dyn_cast<TypedefNameDecl>(D)) { in HandleDeclInMainFile()

12