Home
last modified time | relevance | path

Searched refs:TagDecl (Results 1 – 25 of 77) sorted by relevance

1234

/external/clang/lib/AST/
DMicrosoftCXXABI.cpp61 unsigned getManglingNumber(const TagDecl *TD, in getManglingNumber()
73 llvm::SmallDenseMap<TagDecl *, DeclaratorDecl *>
75 llvm::SmallDenseMap<TagDecl *, TypedefNameDecl *>
118 void addTypedefNameForUnnamedTagDecl(TagDecl *TD, in addTypedefNameForUnnamedTagDecl()
127 TypedefNameDecl *getTypedefNameForUnnamedTagDecl(const TagDecl *TD) override { in getTypedefNameForUnnamedTagDecl()
129 const_cast<TagDecl *>(TD->getCanonicalDecl())); in getTypedefNameForUnnamedTagDecl()
132 void addDeclaratorForUnnamedTagDecl(TagDecl *TD, in addDeclaratorForUnnamedTagDecl()
141 DeclaratorDecl *getDeclaratorForUnnamedTagDecl(const TagDecl *TD) override { in getDeclaratorForUnnamedTagDecl()
143 const_cast<TagDecl *>(TD->getCanonicalDecl())); in getDeclaratorForUnnamedTagDecl()
DCXXABI.h62 virtual void addTypedefNameForUnnamedTagDecl(TagDecl *TD,
66 getTypedefNameForUnnamedTagDecl(const TagDecl *TD) = 0;
68 virtual void addDeclaratorForUnnamedTagDecl(TagDecl *TD,
71 virtual DeclaratorDecl *getDeclaratorForUnnamedTagDecl(const TagDecl *TD) = 0;
DItaniumCXXABI.cpp92 unsigned getManglingNumber(const TagDecl *TD, unsigned) override { in getManglingNumber()
152 void addTypedefNameForUnnamedTagDecl(TagDecl *TD, in addTypedefNameForUnnamedTagDecl()
155 TypedefNameDecl *getTypedefNameForUnnamedTagDecl(const TagDecl *TD) override { in getTypedefNameForUnnamedTagDecl()
159 void addDeclaratorForUnnamedTagDecl(TagDecl *TD, in addDeclaratorForUnnamedTagDecl()
162 DeclaratorDecl *getDeclaratorForUnnamedTagDecl(const TagDecl *TD) override { in getDeclaratorForUnnamedTagDecl()
DDeclBase.cpp113 assert(!isa<TagDecl>(this) || !cast<TagDecl>(this)->isCompleteDefinition()); in setInvalidDecl()
274 if (!isa<TagDecl>(LDC)) in isLexicallyWithinFunctionOrMethod()
988 TagDecl *Tag = cast<TagDecl>(this); in getPrimaryContext()
990 if (TagDecl *Def = Tag->getDefinition()) in getPrimaryContext()
995 TagDecl *PossiblePartialDef = TagTy->getDecl(); in getPrimaryContext()
1584 if (!(isa<TagDecl>(DCAsDecl) && cast<TagDecl>(DCAsDecl)->isBeingDefined())) in makeDeclVisibleInContextWithFlags()
DDecl.cpp788 } else if (const auto *Tag = dyn_cast<TagDecl>(D)) { in getLVForNamespaceScopeDecl()
861 isa<TagDecl>(D) || in getLVForClassMember()
3412 SourceLocation TagDecl::getOuterLocStart() const { in getOuterLocStart()
3416 SourceRange TagDecl::getSourceRange() const { in getSourceRange()
3421 TagDecl *TagDecl::getCanonicalDecl() { return getFirstDecl(); } in getCanonicalDecl()
3423 void TagDecl::setTypedefNameForAnonDecl(TypedefNameDecl *TDD) { in setTypedefNameForAnonDecl()
3432 void TagDecl::startDefinition() { in startDefinition()
3443 void TagDecl::completeDefinition() { in completeDefinition()
3455 TagDecl *TagDecl::getDefinition() const { in getDefinition()
3457 return const_cast<TagDecl *>(this); in getDefinition()
[all …]
DExternalASTSource.cpp52 void ExternalASTSource::CompleteType(TagDecl *Tag) {} in CompleteType()
/external/clang/include/clang/AST/
DASTConsumer.h28 class TagDecl; variable
75 virtual void HandleTagDeclDefinition(TagDecl *D) {} in HandleTagDeclDefinition()
79 virtual void HandleTagDeclRequiredDefinition(const TagDecl *D) {} in HandleTagDeclRequiredDefinition()
DMangleNumberingContext.h27 class TagDecl; variable
55 virtual unsigned getManglingNumber(const TagDecl *TD,
DDecl.h2653 TagDecl *getAnonDeclWithTypedefName(bool AnyRedecl = false) const;
2710 class TagDecl
2711 : public TypeDecl, public DeclContext, public Redeclarable<TagDecl> {
2790 TagDecl(Kind DK, TagKind TK, const ASTContext &C, DeclContext *DC, in TagDecl() function
2791 SourceLocation L, IdentifierInfo *Id, TagDecl *PrevDecl, in TagDecl()
2803 typedef Redeclarable<TagDecl> redeclarable_base;
2804 TagDecl *getNextRedeclarationImpl() override { in getNextRedeclarationImpl()
2807 TagDecl *getPreviousDeclImpl() override { in getPreviousDeclImpl()
2810 TagDecl *getMostRecentDeclImpl() override { in getMostRecentDeclImpl()
2841 TagDecl *getCanonicalDecl() override;
[all …]
DASTMutationListener.h34 class TagDecl; variable
47 virtual void CompletedTagDefinition(const TagDecl *D) { } in CompletedTagDefinition()
DMangle.h57 llvm::DenseMap<const TagDecl*, uint64_t> AnonStructIds;
83 uint64_t getAnonymousStructId(const TagDecl *TD) { in getAnonymousStructId()
84 std::pair<llvm::DenseMap<const TagDecl *, uint64_t>::iterator, bool> in getAnonymousStructId()
DPrettyPrinter.h25 class TagDecl; variable
DASTImporter.h73 SmallVector<TagDecl *, 4> AnonTagsWithPendingTypedefs;
DExternalASTSource.h34 class TagDecl; variable
206 virtual void CompleteType(TagDecl *Tag);
/external/clang/lib/Serialization/
DASTCommon.cpp219 if (const TagDecl *Def = cast<TagDecl>(DC)->getDefinition()) in getDefinitiveDeclContext()
354 D->getLexicalDeclContext()->isDependentContext() && !isa<TagDecl>(D)) { in needsAnonymousDeclarationNumber()
367 return isa<TagDecl>(D) || isa<FieldDecl>(D); in needsAnonymousDeclarationNumber()
/external/clang/include/clang/Frontend/
DMultiplexConsumer.h42 void HandleTagDeclDefinition(TagDecl *D) override;
43 void HandleTagDeclRequiredDefinition(const TagDecl *D) override;
/external/clang/lib/CodeGen/
DModuleBuilder.cpp88 } else if (auto TD = dyn_cast<TagDecl>(D)) { in GetDeclForMangledName()
170 void HandleTagDeclDefinition(TagDecl *D) override { in HandleTagDeclDefinition()
190 void HandleTagDeclRequiredDefinition(const TagDecl *D) override { in HandleTagDeclRequiredDefinition()
DCodeGenTypes.h48 class TagDecl; variable
215 void UpdateCompletedType(const TagDecl *TD);
DObjectFilePCHContainerOperations.cpp178 void HandleTagDeclDefinition(TagDecl *D) override { in HandleTagDeclDefinition()
185 void HandleTagDeclRequiredDefinition(const TagDecl *D) override { in HandleTagDeclRequiredDefinition()
/external/clang/lib/Parse/
DParseDeclCXX.cpp2769 unsigned TagType, Decl *TagDecl) { in SkipCXXMemberSpecification() argument
2793 ParsingClassDefinition ParsingDef(*this, TagDecl, /*NonNestedClass*/ true, in SkipCXXMemberSpecification()
2796 Actions.ActOnTagStartSkippedDefinition(getCurScope(), TagDecl); in SkipCXXMemberSpecification()
2824 DeclSpec::TST TagType, Decl *TagDecl) { in ParseCXXClassMemberDeclarationWithPragmas() argument
2869 DiagnoseUnexpectedNamespace(cast<NamedDecl>(TagDecl)); in ParseCXXClassMemberDeclarationWithPragmas()
2925 unsigned TagType, Decl *TagDecl) { in ParseCXXMemberSpecification() argument
2931 PrettyDeclStackTraceEntry CrashInfo(Actions, TagDecl, RecordLoc, in ParseCXXMemberSpecification()
2947 << (isa<NamedDecl>(TagDecl) in ParseCXXMemberSpecification()
2948 ? cast<NamedDecl>(TagDecl)->getQualifiedNameAsString() in ParseCXXMemberSpecification()
2965 ParsingClassDefinition ParsingDef(*this, TagDecl, NonNestedClass, in ParseCXXMemberSpecification()
[all …]
/external/clang/tools/libclang/
DIndexTypeSourceInfo.cpp42 TagDecl *D = TL.getDecl(); in VisitTagTypeLoc()
151 void IndexingContext::indexTagDecl(const TagDecl *D) { in indexTagDecl()
/external/clang/lib/Frontend/
DMultiplexConsumer.cpp107 void CompletedTagDefinition(const TagDecl *D) override;
140 void MultiplexASTMutationListener::CompletedTagDefinition(const TagDecl *D) { in CompletedTagDefinition()
289 void MultiplexConsumer::HandleTagDeclDefinition(TagDecl *D) { in HandleTagDeclDefinition()
294 void MultiplexConsumer::HandleTagDeclRequiredDefinition(const TagDecl *D) { in HandleTagDeclRequiredDefinition()
DChainedIncludesSource.cpp54 void CompleteType(TagDecl *Tag) override;
257 void ChainedIncludesSource::CompleteType(TagDecl *Tag) { in CompleteType()
/external/clang/include/clang/Sema/
DTemplate.h498 bool SubstQualifier(const TagDecl *OldDecl,
499 TagDecl *NewDecl);
DMultiplexExternalSemaSource.h120 void CompleteType(TagDecl *Tag) override;

1234