Searched refs:TagDecl (Results 1 - 25 of 90) sorted by relevance

1234

/netbsd-current/external/apache2/llvm/dist/clang/include/clang/AST/
H A DMangleNumberingContext.h25 class TagDecl;
53 virtual unsigned getManglingNumber(const TagDecl *TD,
H A DASTConsumer.h25 class TagDecl;
68 /// HandleTagDeclDefinition - This callback is invoked each time a TagDecl
72 virtual void HandleTagDeclDefinition(TagDecl *D) {}
74 /// This callback is invoked the first time each TagDecl is required to
76 virtual void HandleTagDeclRequiredDefinition(const TagDecl *D) {}
H A DASTMutationListener.h37 class TagDecl;
50 /// A new TagDecl definition was completed.
51 virtual void CompletedTagDefinition(const TagDecl *D) { }
H A DPrettyPrinter.h25 class TagDecl;
H A DExternalASTMerger.h153 void CompleteType(TagDecl *Tag) override;
H A DDecl.h72 class TagDecl;
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 {
3332 TagDecl *getPreviousDeclImpl() override {
3336 TagDecl *getMostRecentDeclImp
[all...]
/netbsd-current/external/apache2/llvm/dist/clang/lib/AST/
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 DMicrosoftCXXABI.cpp62 unsigned getManglingNumber(const TagDecl *TD,
85 llvm::SmallDenseMap<TagDecl *, DeclaratorDecl *>
87 llvm::SmallDenseMap<TagDecl *, TypedefNameDecl *>
132 void addTypedefNameForUnnamedTagDecl(TagDecl *TD,
141 TypedefNameDecl *getTypedefNameForUnnamedTagDecl(const TagDecl *TD) override {
143 const_cast<TagDecl *>(TD->getCanonicalDecl()));
146 void addDeclaratorForUnnamedTagDecl(TagDecl *TD,
155 DeclaratorDecl *getDeclaratorForUnnamedTagDecl(const TagDecl *TD) override {
157 const_cast<TagDecl *>(TD->getCanonicalDecl()));
H A DItaniumCXXABI.cpp179 unsigned getManglingNumber(const TagDecl *TD, unsigned) override {
236 void addTypedefNameForUnnamedTagDecl(TagDecl *TD,
239 TypedefNameDecl *getTypedefNameForUnnamedTagDecl(const TagDecl *TD) override {
243 void addDeclaratorForUnnamedTagDecl(TagDecl *TD,
246 DeclaratorDecl *getDeclaratorForUnnamedTagDecl(const TagDecl *TD) override {
H A DExternalASTSource.cpp49 void ExternalASTSource::CompleteType(TagDecl *Tag) {}
H A DExternalASTMerger.cpp231 if (auto *ToTag = dyn_cast<TagDecl>(To)) {
308 void ExternalASTMerger::CompleteType(TagDecl *Tag) {
312 auto *SourceTag = const_cast<TagDecl *>(cast<TagDecl>(SourceDC.get()));
361 if (auto *T1 = dyn_cast<TagDecl>(D1))
362 if (auto *T2 = dyn_cast<TagDecl>(D2))
H A DQualTypeNames.cpp35 /// Create a NestedNameSpecifier for TagDecl and its enclosing
39 /// \param[in] TD - the TagDecl for which a NestedNameSpecifier is
199 } else if (const auto *TD = dyn_cast<TagDecl>(DC)) {
241 const TagDecl *TD = nullptr;
296 } else if (const auto *TD = dyn_cast<TagDecl>(Outer)) {
304 // TagDecl, which means it is a type local to a scope, and not
H A DDecl.cpp848 } else if (const auto *Tag = dyn_cast<TagDecl>(D)) {
934 isa<TagDecl>(D) ||
4245 // TagDecl Implementation
4248 TagDecl::TagDecl(Kind DK, TagKind TK, const ASTContext &C, DeclContext *DC,
4249 SourceLocation L, IdentifierInfo *Id, TagDecl *PrevDecl,
4264 SourceLocation TagDecl::getOuterLocStart() const {
4268 SourceRange TagDecl::getSourceRange() const {
4274 TagDecl *TagDecl
[all...]
H A DDeclBase.cpp134 assert(!isa<TagDecl>(this) || !cast<TagDecl>(this)->isCompleteDefinition());
374 if (!isa<TagDecl>(LDC))
486 } else if (auto *TD = dyn_cast<TagDecl>(this)) {
1260 auto *Tag = cast<TagDecl>(this);
1262 if (TagDecl *Def = Tag->getDefinition())
1267 TagDecl *PossiblePartialDef = TagTy->getDecl();
1869 if (!(isa<TagDecl>(DCAsDecl) && cast<TagDecl>(DCAsDecl)->isBeingDefined()))
/netbsd-current/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-current/external/apache2/llvm/dist/clang/lib/Index/
H A DIndexingContext.h24 class TagDecl;
99 void indexTagDecl(const TagDecl *D,
H A DIndexTypeSourceInfo.cpp60 TagDecl *Underlying = ND->getUnderlyingType()->getAsTagDecl();
109 TagDecl *D = TL.getDecl();
294 void IndexingContext::indexTagDecl(const TagDecl *D,
/netbsd-current/external/apache2/llvm/dist/clang/lib/Serialization/
H A DASTCommon.cpp298 if (const TagDecl *Def = cast<TagDecl>(DC)->getDefinition())
451 D->getLexicalDeclContext()->isDependentContext() && !isa<TagDecl>(D)) {
469 return isa<TagDecl>(D) || isa<BlockDecl>(D);
477 return isa<TagDecl>(D) || isa<FieldDecl>(D);
/netbsd-current/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DModuleBuilder.cpp118 } else if (auto TD = dyn_cast<TagDecl>(D)) {
211 /// HandleTagDeclDefinition - This callback is invoked each time a TagDecl
215 void HandleTagDeclDefinition(TagDecl *D) override {
251 void HandleTagDeclRequiredDefinition(const TagDecl *D) override {
H A DObjectFilePCHContainerOperations.cpp81 if (auto *TD = dyn_cast<TagDecl>(D))
198 void HandleTagDeclDefinition(TagDecl *D) override {
212 if (auto *D = dyn_cast<TagDecl>(DeclCtx))
223 void HandleTagDeclRequiredDefinition(const TagDecl *D) override {
H A DCodeGenTypes.h44 class TagDecl;
162 /// UpdateCompletedType - When we find the full definition for a TagDecl,
164 void UpdateCompletedType(const TagDecl *TD);
/netbsd-current/external/apache2/llvm/dist/clang/lib/Frontend/
H A DMultiplexConsumer.cpp82 void CompletedTagDefinition(const TagDecl *D) override;
122 void MultiplexASTMutationListener::CompletedTagDefinition(const TagDecl *D) {
295 void MultiplexConsumer::HandleTagDeclDefinition(TagDecl *D) {
300 void MultiplexConsumer::HandleTagDeclRequiredDefinition(const TagDecl *D) {
/netbsd-current/external/apache2/llvm/dist/clang/lib/Parse/
H A DParseDeclCXX.cpp3064 unsigned TagType, Decl *TagDecl) {
3088 ParsingClassDefinition ParsingDef(*this, TagDecl, /*NonNestedClass*/ true,
3091 Actions.ActOnTagStartSkippedDefinition(getCurScope(), TagDecl);
3119 DeclSpec::TST TagType, Decl *TagDecl) {
3158 DiagnoseUnexpectedNamespace(cast<NamedDecl>(TagDecl));
3206 AS, AccessAttrs, /*Delayed=*/true, TagType, TagDecl);
3229 unsigned TagType, Decl *TagDecl) {
3236 if (auto *TD = dyn_cast_or_null<NamedDecl>(TagDecl))
3241 PrettyDeclStackTraceEntry CrashInfo(Actions.Context, TagDecl, RecordLoc,
3257 << (isa<NamedDecl>(TagDecl)
3062 SkipCXXMemberSpecification(SourceLocation RecordLoc, SourceLocation AttrFixitLoc, unsigned TagType, Decl *TagDecl) argument
3117 ParseCXXClassMemberDeclarationWithPragmas( AccessSpecifier &AS, ParsedAttributesWithRange &AccessAttrs, DeclSpec::TST TagType, Decl *TagDecl) argument
3226 ParseCXXMemberSpecification(SourceLocation RecordLoc, SourceLocation AttrFixitLoc, ParsedAttributesWithRange &Attrs, unsigned TagType, Decl *TagDecl) argument
3279 Actions.ActOnTagStartDefinition(getCurScope(), TagDecl); local
3322 Actions.ActOnTagDefinitionError(getCurScope(), TagDecl); local
3366 Actions.ActOnTagDefinitionError(getCurScope(), TagDecl); local
3377 Actions.ActOnStartCXXMemberDeclarations(getCurScope(), TagDecl, FinalLoc, local
3410 Actions.ActOnFinishCXXMemberSpecification(getCurScope(), RecordLoc, TagDecl, local
3443 Actions.ActOnTagFinishDefinition(getCurScope(), TagDecl, T.getRange()); local
[all...]
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DTemplate.h40 class TagDecl;
599 bool SubstQualifier(const TagDecl *OldDecl,
600 TagDecl *NewDecl);
H A DMultiplexExternalSemaSource.h123 void CompleteType(TagDecl *Tag) override;

Completed in 464 milliseconds

1234