Home
last modified time | relevance | path

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

1234

/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DMicrosoftCXXABI.cpp62 unsigned getManglingNumber(const TagDecl *TD, in getManglingNumber()
85 llvm::SmallDenseMap<TagDecl *, DeclaratorDecl *>
87 llvm::SmallDenseMap<TagDecl *, TypedefNameDecl *>
132 void addTypedefNameForUnnamedTagDecl(TagDecl *TD, in addTypedefNameForUnnamedTagDecl()
141 TypedefNameDecl *getTypedefNameForUnnamedTagDecl(const TagDecl *TD) override { in getTypedefNameForUnnamedTagDecl()
143 const_cast<TagDecl *>(TD->getCanonicalDecl())); in getTypedefNameForUnnamedTagDecl()
146 void addDeclaratorForUnnamedTagDecl(TagDecl *TD, in addDeclaratorForUnnamedTagDecl()
155 DeclaratorDecl *getDeclaratorForUnnamedTagDecl(const TagDecl *TD) override { in getDeclaratorForUnnamedTagDecl()
157 const_cast<TagDecl *>(TD->getCanonicalDecl())); in getDeclaratorForUnnamedTagDecl()
H A DCXXABI.h64 virtual void addTypedefNameForUnnamedTagDecl(TagDecl *TD,
68 getTypedefNameForUnnamedTagDecl(const TagDecl *TD) = 0;
70 virtual void addDeclaratorForUnnamedTagDecl(TagDecl *TD,
73 virtual DeclaratorDecl *getDeclaratorForUnnamedTagDecl(const TagDecl *TD) = 0;
H A DItaniumCXXABI.cpp179 unsigned getManglingNumber(const TagDecl *TD, unsigned) override { in getManglingNumber()
236 void addTypedefNameForUnnamedTagDecl(TagDecl *TD, in addTypedefNameForUnnamedTagDecl()
239 TypedefNameDecl *getTypedefNameForUnnamedTagDecl(const TagDecl *TD) override { in getTypedefNameForUnnamedTagDecl()
243 void addDeclaratorForUnnamedTagDecl(TagDecl *TD, in addDeclaratorForUnnamedTagDecl()
246 DeclaratorDecl *getDeclaratorForUnnamedTagDecl(const TagDecl *TD) override { in getDeclaratorForUnnamedTagDecl()
H A DExternalASTMerger.cpp231 if (auto *ToTag = dyn_cast<TagDecl>(To)) { in Imported()
308 void ExternalASTMerger::CompleteType(TagDecl *Tag) { in CompleteType()
312 auto *SourceTag = const_cast<TagDecl *>(cast<TagDecl>(SourceDC.get())); in CompleteType()
361 if (auto *T1 = dyn_cast<TagDecl>(D1)) in IsSameDC()
362 if (auto *T2 = dyn_cast<TagDecl>(D2)) in IsSameDC()
H A DDeclBase.cpp134 assert(!isa<TagDecl>(this) || !cast<TagDecl>(this)->isCompleteDefinition()); in setInvalidDecl()
374 if (!isa<TagDecl>(LDC)) in isInLocalScopeForInstantiation()
486 } else if (auto *TD = dyn_cast<TagDecl>(this)) { in getExternalSourceSymbolAttr()
1260 auto *Tag = cast<TagDecl>(this); in getPrimaryContext()
1262 if (TagDecl *Def = Tag->getDefinition()) in getPrimaryContext()
1267 TagDecl *PossiblePartialDef = TagTy->getDecl(); in getPrimaryContext()
1869 if (!(isa<TagDecl>(DCAsDecl) && cast<TagDecl>(DCAsDecl)->isBeingDefined())) in makeDeclVisibleInContextWithFlags()
H A DDecl.cpp848 } else if (const auto *Tag = dyn_cast<TagDecl>(D)) { in getLVForNamespaceScopeDecl()
934 isa<TagDecl>(D) || in getLVForClassMember()
4248 TagDecl::TagDecl(Kind DK, TagKind TK, const ASTContext &C, DeclContext *DC, in TagDecl() function in TagDecl
4249 SourceLocation L, IdentifierInfo *Id, TagDecl *PrevDecl, in TagDecl()
4264 SourceLocation TagDecl::getOuterLocStart() const { in getOuterLocStart()
4268 SourceRange TagDecl::getSourceRange() const { in getSourceRange()
4274 TagDecl *TagDecl::getCanonicalDecl() { return getFirstDecl(); } in getCanonicalDecl()
4276 void TagDecl::setTypedefNameForAnonDecl(TypedefNameDecl *TDD) { in setTypedefNameForAnonDecl()
4285 void TagDecl::startDefinition() { in startDefinition()
4296 void TagDecl::completeDefinition() { in completeDefinition()
[all …]
H A DQualTypeNames.cpp199 } else if (const auto *TD = dyn_cast<TagDecl>(DC)) { in createOuterNNS()
241 const TagDecl *TD = nullptr; in getFullyQualifiedNestedNameSpecifier()
296 } else if (const auto *TD = dyn_cast<TagDecl>(Outer)) { in createNestedNameSpecifierForScopeOf()
H A DExternalASTSource.cpp49 void ExternalASTSource::CompleteType(TagDecl *Tag) {} in CompleteType()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DASTConsumer.h25 class TagDecl; variable
72 virtual void HandleTagDeclDefinition(TagDecl *D) {} in HandleTagDeclDefinition()
76 virtual void HandleTagDeclRequiredDefinition(const TagDecl *D) {} in HandleTagDeclRequiredDefinition()
H A DMangleNumberingContext.h25 class TagDecl; variable
53 virtual unsigned getManglingNumber(const TagDecl *TD,
H A DDecl.h72 class TagDecl; variable
3221 TagDecl *getAnonDeclWithTypedefName(bool AnyRedecl = false) const;
3289 class TagDecl : public TypeDecl,
3291 public Redeclarable<TagDecl> {
3322 TagDecl(Kind DK, TagKind TK, const ASTContext &C, DeclContext *DC,
3323 SourceLocation L, IdentifierInfo *Id, TagDecl *PrevDecl,
3326 using redeclarable_base = Redeclarable<TagDecl>;
3328 TagDecl *getNextRedeclarationImpl() override { in getNextRedeclarationImpl()
3332 TagDecl *getPreviousDeclImpl() override { in getPreviousDeclImpl()
3336 TagDecl *getMostRecentDeclImpl() override { in getMostRecentDeclImpl()
[all …]
H A DASTMutationListener.h37 class TagDecl; variable
51 virtual void CompletedTagDefinition(const TagDecl *D) { } in CompletedTagDefinition()
H A DPrettyPrinter.h25 class TagDecl; variable
H A DExternalASTSource.h53 class TagDecl; variable
205 virtual void CompleteType(TagDecl *Tag);
H A DExternalASTMerger.h153 void CompleteType(TagDecl *Tag) override;
/netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/
H A DASTCommon.cpp298 if (const TagDecl *Def = cast<TagDecl>(DC)->getDefinition()) in getDefinitiveDeclContext()
451 D->getLexicalDeclContext()->isDependentContext() && !isa<TagDecl>(D)) { in needsAnonymousDeclarationNumber()
469 return isa<TagDecl>(D) || isa<BlockDecl>(D); in needsAnonymousDeclarationNumber()
477 return isa<TagDecl>(D) || isa<FieldDecl>(D); in needsAnonymousDeclarationNumber()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Frontend/
H A DMultiplexConsumer.h62 void HandleTagDeclDefinition(TagDecl *D) override;
63 void HandleTagDeclRequiredDefinition(const TagDecl *D) override;
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DObjectFilePCHContainerOperations.cpp81 if (auto *TD = dyn_cast<TagDecl>(D)) in VisitTypeDecl()
198 void HandleTagDeclDefinition(TagDecl *D) override { in HandleTagDeclDefinition()
212 if (auto *D = dyn_cast<TagDecl>(DeclCtx)) in HandleTagDeclDefinition()
223 void HandleTagDeclRequiredDefinition(const TagDecl *D) override { in HandleTagDeclRequiredDefinition()
H A DModuleBuilder.cpp118 } else if (auto TD = dyn_cast<TagDecl>(D)) { in GetDeclForMangledName()
215 void HandleTagDeclDefinition(TagDecl *D) override { in HandleTagDeclDefinition()
251 void HandleTagDeclRequiredDefinition(const TagDecl *D) override { in HandleTagDeclRequiredDefinition()
H A DCodeGenTypes.h44 class TagDecl; variable
164 void UpdateCompletedType(const TagDecl *TD);
/netbsd-src/external/apache2/llvm/dist/clang/lib/Parse/
H A DParseDeclCXX.cpp3064 unsigned TagType, Decl *TagDecl) { in SkipCXXMemberSpecification() argument
3088 ParsingClassDefinition ParsingDef(*this, TagDecl, /*NonNestedClass*/ true, in SkipCXXMemberSpecification()
3091 Actions.ActOnTagStartSkippedDefinition(getCurScope(), TagDecl); in SkipCXXMemberSpecification()
3119 DeclSpec::TST TagType, Decl *TagDecl) { in ParseCXXClassMemberDeclarationWithPragmas() argument
3158 DiagnoseUnexpectedNamespace(cast<NamedDecl>(TagDecl)); in ParseCXXClassMemberDeclarationWithPragmas()
3206 AS, AccessAttrs, /*Delayed=*/true, TagType, TagDecl); in ParseCXXClassMemberDeclarationWithPragmas()
3229 unsigned TagType, Decl *TagDecl) { in ParseCXXMemberSpecification() argument
3236 if (auto *TD = dyn_cast_or_null<NamedDecl>(TagDecl)) in ParseCXXMemberSpecification()
3241 PrettyDeclStackTraceEntry CrashInfo(Actions.Context, TagDecl, RecordLoc, in ParseCXXMemberSpecification()
3257 << (isa<NamedDecl>(TagDecl) in ParseCXXMemberSpecification()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Index/
H A DIndexingContext.h24 class TagDecl; variable
99 void indexTagDecl(const TagDecl *D,
H A DIndexTypeSourceInfo.cpp60 TagDecl *Underlying = ND->getUnderlyingType()->getAsTagDecl(); in VisitTypedefTypeLoc()
109 TagDecl *D = TL.getDecl(); in VisitTagTypeLoc()
294 void IndexingContext::indexTagDecl(const TagDecl *D, in indexTagDecl()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/
H A DMultiplexConsumer.cpp82 void CompletedTagDefinition(const TagDecl *D) override;
122 void MultiplexASTMutationListener::CompletedTagDefinition(const TagDecl *D) { in CompletedTagDefinition()
295 void MultiplexConsumer::HandleTagDeclDefinition(TagDecl *D) { in HandleTagDeclDefinition()
300 void MultiplexConsumer::HandleTagDeclRequiredDefinition(const TagDecl *D) { in HandleTagDeclRequiredDefinition()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DTemplate.h40 class TagDecl; variable
599 bool SubstQualifier(const TagDecl *OldDecl,
600 TagDecl *NewDecl);

1234