Home
last modified time | relevance | path

Searched refs:TagDecl (Results 1 – 25 of 85) 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.cpp114 assert(!isa<TagDecl>(this) || !cast<TagDecl>(this)->isCompleteDefinition()); in setInvalidDecl()
286 if (!isa<TagDecl>(LDC)) in isLexicallyWithinFunctionOrMethod()
1032 TagDecl *Tag = cast<TagDecl>(this); in getPrimaryContext()
1034 if (TagDecl *Def = Tag->getDefinition()) in getPrimaryContext()
1039 TagDecl *PossiblePartialDef = TagTy->getDecl(); in getPrimaryContext()
1631 if (!(isa<TagDecl>(DCAsDecl) && cast<TagDecl>(DCAsDecl)->isBeingDefined())) in makeDeclVisibleInContextWithFlags()
DDecl.cpp791 } else if (const auto *Tag = dyn_cast<TagDecl>(D)) { in getLVForNamespaceScopeDecl()
864 isa<TagDecl>(D) || in getLVForClassMember()
3523 SourceLocation TagDecl::getOuterLocStart() const { in getOuterLocStart()
3527 SourceRange TagDecl::getSourceRange() const { in getSourceRange()
3532 TagDecl *TagDecl::getCanonicalDecl() { return getFirstDecl(); } in getCanonicalDecl()
3534 void TagDecl::setTypedefNameForAnonDecl(TypedefNameDecl *TDD) { in setTypedefNameForAnonDecl()
3543 void TagDecl::startDefinition() { in startDefinition()
3554 void TagDecl::completeDefinition() { in completeDefinition()
3566 TagDecl *TagDecl::getDefinition() const { in getDefinition()
3568 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.h2670 TagDecl *getAnonDeclWithTypedefName(bool AnyRedecl = false) const;
2727 class TagDecl
2728 : public TypeDecl, public DeclContext, public Redeclarable<TagDecl> {
2807 TagDecl(Kind DK, TagKind TK, const ASTContext &C, DeclContext *DC, in TagDecl() function
2808 SourceLocation L, IdentifierInfo *Id, TagDecl *PrevDecl, in TagDecl()
2820 typedef Redeclarable<TagDecl> redeclarable_base;
2821 TagDecl *getNextRedeclarationImpl() override { in getNextRedeclarationImpl()
2824 TagDecl *getPreviousDeclImpl() override { in getPreviousDeclImpl()
2827 TagDecl *getMostRecentDeclImpl() override { in getMostRecentDeclImpl()
2858 TagDecl *getCanonicalDecl() override;
[all …]
DASTMutationListener.h36 class TagDecl; variable
49 virtual void CompletedTagDefinition(const TagDecl *D) { } in CompletedTagDefinition()
DMangle.h58 llvm::DenseMap<const TagDecl*, uint64_t> AnonStructIds;
84 uint64_t getAnonymousStructId(const TagDecl *TD) { in getAnonymousStructId()
85 std::pair<llvm::DenseMap<const TagDecl *, uint64_t>::iterator, bool> in getAnonymousStructId()
DPrettyPrinter.h25 class TagDecl; variable
/external/clang/include/clang/Frontend/
DMultiplexConsumer.h42 void HandleTagDeclDefinition(TagDecl *D) override;
43 void HandleTagDeclRequiredDefinition(const TagDecl *D) override;
/external/clang/lib/Serialization/
DASTCommon.cpp191 if (const TagDecl *Def = cast<TagDecl>(DC)->getDefinition()) in getDefinitiveDeclContext()
331 D->getLexicalDeclContext()->isDependentContext() && !isa<TagDecl>(D)) { in needsAnonymousDeclarationNumber()
344 return isa<TagDecl>(D) || isa<FieldDecl>(D); in needsAnonymousDeclarationNumber()
/external/clang/lib/CodeGen/
DObjectFilePCHContainerOperations.cpp84 if (auto *TD = dyn_cast<TagDecl>(D)) in VisitTypeDecl()
195 void HandleTagDeclDefinition(TagDecl *D) override { in HandleTagDeclDefinition()
209 if (auto *D = dyn_cast<TagDecl>(DeclCtx)) in HandleTagDeclDefinition()
220 void HandleTagDeclRequiredDefinition(const TagDecl *D) override { in HandleTagDeclRequiredDefinition()
DModuleBuilder.cpp107 } else if (auto TD = dyn_cast<TagDecl>(D)) { in GetDeclForMangledName()
204 void HandleTagDeclDefinition(TagDecl *D) override { in HandleTagDeclDefinition()
237 void HandleTagDeclRequiredDefinition(const TagDecl *D) override { in HandleTagDeclRequiredDefinition()
DCodeGenTypes.h47 class TagDecl; variable
224 void UpdateCompletedType(const TagDecl *TD);
/external/clang/lib/Index/
DIndexingContext.h23 class TagDecl; variable
84 void indexTagDecl(const TagDecl *D);
DIndexTypeSourceInfo.cpp80 TagDecl *D = TL.getDecl(); in VisitTagTypeLoc()
187 void IndexingContext::indexTagDecl(const TagDecl *D) { in indexTagDecl()
/external/clang/lib/Parse/
DParseDeclCXX.cpp2789 unsigned TagType, Decl *TagDecl) { in SkipCXXMemberSpecification() argument
2813 ParsingClassDefinition ParsingDef(*this, TagDecl, /*NonNestedClass*/ true, in SkipCXXMemberSpecification()
2816 Actions.ActOnTagStartSkippedDefinition(getCurScope(), TagDecl); in SkipCXXMemberSpecification()
2844 DeclSpec::TST TagType, Decl *TagDecl) { in ParseCXXClassMemberDeclarationWithPragmas() argument
2889 DiagnoseUnexpectedNamespace(cast<NamedDecl>(TagDecl)); in ParseCXXClassMemberDeclarationWithPragmas()
2931 TagDecl); in ParseCXXClassMemberDeclarationWithPragmas()
2946 unsigned TagType, Decl *TagDecl) { in ParseCXXMemberSpecification() argument
2952 PrettyDeclStackTraceEntry CrashInfo(Actions, TagDecl, RecordLoc, in ParseCXXMemberSpecification()
2968 << (isa<NamedDecl>(TagDecl) in ParseCXXMemberSpecification()
2969 ? cast<NamedDecl>(TagDecl)->getQualifiedNameAsString() in ParseCXXMemberSpecification()
[all …]
/external/clang/lib/Frontend/
DMultiplexConsumer.cpp107 void CompletedTagDefinition(const TagDecl *D) override;
143 void MultiplexASTMutationListener::CompletedTagDefinition(const TagDecl *D) { in CompletedTagDefinition()
302 void MultiplexConsumer::HandleTagDeclDefinition(TagDecl *D) { in HandleTagDeclDefinition()
307 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/lib/Tooling/Core/
DQualTypeNames.cpp215 } else if (const auto *TD = dyn_cast<TagDecl>(DC)) { in createOuterNNS()
257 const TagDecl *TD = nullptr; in getFullyQualifiedNestedNameSpecifier()
312 } else if (const auto *TD = dyn_cast<TagDecl>(Outer)) { in createNestedNameSpecifierForScopeOf()
/external/v8/tools/clang/plugins/
DChromeClassTester.h25 void CheckTag(clang::TagDecl*);
DFindBadConstructsConsumer.h53 bool VisitTagDecl(clang::TagDecl* tag_decl);

1234