reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

tools/clang/include/clang/AST/Type.h
 4432   TagDecl *getDecl() const;

References

tools/clang/include/clang/AST/Type.h
 4455     return reinterpret_cast<RecordDecl*>(TagType::getDecl());
 4478     return reinterpret_cast<EnumDecl*>(TagType::getDecl());
tools/clang/include/clang/AST/TypeLoc.h
  707   TagDecl *getDecl() const { return getTypePtr()->getDecl(); }
tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h
  790       return matchesDecl(S->getDecl(), Finder, Builder);
tools/clang/lib/AST/ASTContext.cpp
  571         if (const Decl *TD = TT->getDecl())
 1776     return TT->getDecl()->getMaxAlignment();
 2105     if (TT->getDecl()->isInvalidDecl()) {
tools/clang/lib/AST/ASTDiagnostic.cpp
  172         if (UTT->getDecl()->getTypedefNameForAnonDecl() == QTT->getDecl())
tools/clang/lib/AST/ASTImporter.cpp
 2518           FoundDecl = Tag->getDecl();
 2622           Found = Tag->getDecl();
tools/clang/lib/AST/ASTStructuralEquivalence.cpp
  752     if (!IsStructurallyEquivalent(Context, cast<TagType>(T1)->getDecl(),
  753                                   cast<TagType>(T2)->getDecl()))
tools/clang/lib/AST/Decl.cpp
 4732     auto *OwningTypedef = TT->getDecl()->getTypedefNameForAnonDecl();
 4739       return TT->getDecl();
 4748       if (auto *TD = TT->getDecl()) {
tools/clang/lib/AST/DeclBase.cpp
 1219         TagDecl *PossiblePartialDef = TagTy->getDecl();
tools/clang/lib/AST/ItaniumMangle.cpp
 2047     mangleSourceNameWithAbiTags(cast<TagType>(Ty)->getDecl());
 2941   mangleName(T->getDecl());
tools/clang/lib/AST/JSONNodeDumper.cpp
  620   JOS.attribute("decl", createBareDeclRef(TT->getDecl()));
tools/clang/lib/AST/MicrosoftMangle.cpp
 2461   mangleType(cast<TagType>(T)->getDecl());
 2465   mangleType(cast<TagType>(T)->getDecl());
tools/clang/lib/AST/ODRHash.cpp
  997     AddDecl(T->getDecl());
tools/clang/lib/AST/QualTypeNames.cpp
  243         TD = TagDeclType->getDecl();
  326     Decl = TagDeclType->getDecl();
tools/clang/lib/AST/TextNodeDumper.cpp
 1186   dumpDeclRef(T->getDecl());
tools/clang/lib/AST/Type.cpp
 1698     return TT->getDecl();
 3294   return getDecl()->isBeingDefined();
 3650     const TagDecl *Tag = cast<TagType>(T)->getDecl();
 3748     return getDeclLinkageAndVisibility(cast<TagType>(T)->getDecl());
tools/clang/lib/CodeGen/CGDebugInfo.cpp
  939   const TagDecl *TD = Ty->getDecl();
tools/clang/lib/CodeGen/CodeGenTBAA.cpp
   82     return TTy->getDecl()->hasAttr<MayAliasAttr>();
tools/clang/lib/Index/USRGeneration.cpp
  825       VisitTagDecl(TT->getDecl());
tools/clang/lib/Sema/Sema.cpp
 2281     Decl = TagT->getDecl();
tools/clang/lib/Sema/SemaCXXScopeSpec.cpp
   56       return Tag->getDecl();
  154     return Tag->getDecl();
tools/clang/lib/Sema/SemaCodeComplete.cpp
 1882       if (TagDecl *Tag = TagT->getDecl())
tools/clang/lib/Sema/SemaDecl.cpp
 1785       const TagDecl *Tag = TT->getDecl();
15105           TagDecl *Tag = TT->getDecl();
tools/clang/lib/Sema/SemaDeclAttr.cpp
 7559         D = TT->getDecl();
 8414     TagDecl *TD = TT->getDecl();
tools/clang/lib/Sema/SemaTemplateInstantiate.cpp
 1117         return Tag->getDecl();
 1156     TagDecl* TD = TT->getDecl();
tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
  753     TagDecl *oldTag = oldTagType->getDecl();
  755       TagDecl *newTag = DI->getType()->castAs<TagType>()->getDecl();
tools/clang/lib/Sema/SemaType.cpp
 1559         S.DiagnoseUseOfDecl(TT->getDecl(), DS.getTypeSpecTypeLoc());
 7833     if (!Tag->getDecl()->isCompleteDefinitionRequired()) {
 7834       Tag->getDecl()->setCompleteDefinitionRequired();
 7835       Consumer.HandleTagDeclRequiredDefinition(Tag->getDecl());
 8306       DiagnoseUseOfDecl(TT->getDecl(), E->getExprLoc());
tools/clang/lib/Serialization/ASTReader.cpp
 4832           Context.setFILEDecl(Tag->getDecl());
 4853           Context.setjmp_bufDecl(Tag->getDecl());
 4871           Context.setsigjmp_bufDecl(Tag->getDecl());
 4907           Context.setucontext_tDecl(Tag->getDecl());
tools/clang/lib/Serialization/ASTWriter.cpp
  389   Record.AddDeclRef(T->getDecl()->getCanonicalDecl());
tools/clang/tools/libclang/CIndex.cpp
 1347       return Visit(MakeCursorTypeRef(Tag->getDecl(), Range.getBegin(), TU));
tools/clang/tools/libclang/CIndexCodeCompletion.cpp
  617           D = Tag->getDecl();
tools/clang/tools/libclang/CXCursor.cpp
 1142     return MakeCursorTypeRef(Tag->getDecl(), Loc, TU);
tools/clang/tools/libclang/CXType.cpp
  505     D = cast<TagType>(TP)->getDecl();
tools/clang/unittests/AST/ASTImporterTest.cpp
 3949   auto *Fwd = cast<TagType>(FT)->getDecl();
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp
  357               const_cast<TagDecl *>(tag_type->getDecl());
  395             const_cast<TagDecl *>(tag_type->getDecl());
 2231       TagDecl *tag_decl = tag_type->getDecl();
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp
 1635       CompleteType(tag_type->getDecl());
tools/lldb/source/Symbol/ClangASTContext.cpp
 2521           llvm::dyn_cast<clang::TagDecl>(tag_type->getDecl());
 2644       clang::TagDecl *tag_decl = tag_type->getDecl();
 3585     clang::TagDecl *tag_decl = tag_type->getDecl();
 7909                 llvm::dyn_cast<clang::RecordDecl>(TagT->getDecl()))
 8772       clang::TagDecl *tag_decl = tag_type->getDecl();
 8801       clang::TagDecl *tag_decl = tag_type->getDecl();
 9724         clang::TagDecl *tag_decl = tag_type->getDecl();
tools/lldb/source/Symbol/ClangASTImporter.cpp
  357     decl_context_override.OverrideAllDeclsFromContainingFunction(t->getDecl());
  707     TagDecl *tag_decl = tag_type->getDecl();
  777     TagDecl *tag_decl = tag_type->getDecl();