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

References

tools/clang/include/clang/AST/ASTNodeTraverser.h
  349   void VisitTypedefDecl(const TypedefDecl *D) { Visit(D->getUnderlyingType()); }
  458     Visit(D->getUnderlyingType());
tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h
  126   return Node.getUnderlyingType();
tools/clang/lib/ARCMigrate/ObjCMT.cpp
 1068     T = TD->getDecl()->getUnderlyingType();
 1371     Ty = TD->getDecl()->getUnderlyingType();
tools/clang/lib/AST/ASTContext.cpp
  569       QualType QT = TD->getUnderlyingType();
 2155     TypeInfo Info = getTypeInfo(Typedef->getUnderlyingType().getTypePtr());
 4006     Canonical = getCanonicalType(Decl->getUnderlyingType());
 4727   QualType Canonical = getCanonicalType(Decl->getUnderlyingType());
 6070       CFConstantStringTypeDecl->getUnderlyingType()->castAs<RecordType>();
tools/clang/lib/AST/ASTImporter.cpp
 2323         QualType FromUT = D->getUnderlyingType();
 2324         QualType FoundUT = FoundTypedef->getUnderlyingType();
 2352       D->getUnderlyingType(), D->getTypeSourceInfo(), D->getBeginLoc()))
 2517         if (const auto *Tag = Typedef->getUnderlyingType()->getAs<TagType>())
 2621         if (const auto *Tag = Typedef->getUnderlyingType()->getAs<TagType>())
tools/clang/lib/AST/ASTStructuralEquivalence.cpp
 1787           !::IsStructurallyEquivalent(*this, Typedef1->getUnderlyingType(),
 1788                                       Typedef2->getUnderlyingType()))
tools/clang/lib/AST/CommentSema.cpp
  829     QualType Type = TD->getUnderlyingType();
tools/clang/lib/AST/Decl.cpp
 4747     if (auto *TT = getUnderlyingType()->getAs<TagType>()) {
tools/clang/lib/AST/DeclBase.cpp
  957     Ty = D->getUnderlyingType();
tools/clang/lib/AST/DeclObjC.cpp
 1448     typeArgs.push_back(typeParam->getUnderlyingType());
tools/clang/lib/AST/DeclPrinter.cpp
  172     return TDD->getUnderlyingType();
 1257       Out << " : " << Param->getUnderlyingType().getAsString(Policy);
tools/clang/lib/AST/FormatString.cpp
 1003     QualType T = Typedef->getUnderlyingType();
tools/clang/lib/AST/JSONNodeDumper.cpp
  697   JOS.attribute("type", createQualType(TD->getUnderlyingType()));
  702   JOS.attribute("type", createQualType(TAD->getUnderlyingType()));
  919   JOS.attribute("type", createQualType(D->getUnderlyingType()));
tools/clang/lib/AST/ODRHash.cpp
  350     AddQualType(D->getUnderlyingType());
  713     QualType UnderlyingType = D->getUnderlyingType();
 1022     QualType UnderlyingType = T->getDecl()->getUnderlyingType();
 1027         UnderlyingType = Underlying->getDecl()->getUnderlyingType();
tools/clang/lib/AST/StmtIterator.cpp
   86         FindVA(TD->getUnderlyingType().getTypePtr())) {
tools/clang/lib/AST/TextNodeDumper.cpp
 1229   dumpType(D->getUnderlyingType());
 1515   dumpType(D->getUnderlyingType());
 1845   dumpType(D->getUnderlyingType());
tools/clang/lib/AST/Type.cpp
 1217       return typeParam->getUnderlyingType();
 1223           typeParam->getUnderlyingType()->castAs<ObjCObjectPointerType>();
 1228         return typeParam->getUnderlyingType();
 3191   return getDecl()->getUnderlyingType();
tools/clang/lib/ASTMatchers/ASTMatchFinder.cpp
  370     const Type *TypeNode = DeclNode->getUnderlyingType().getTypePtr();
tools/clang/lib/Analysis/CocoaConventions.cpp
   34     RetTy = TD->getDecl()->getUnderlyingType();
tools/clang/lib/Analysis/RetainSummaryManager.cpp
  890     QT = T->getDecl()->getUnderlyingType();
tools/clang/lib/CodeGen/CGDebugInfo.cpp
 1136       getOrCreateType(Ty->getDecl()->getUnderlyingType(), Unit);
 2302       getOrCreateType(Ty->getDecl()->getUnderlyingType(), Unit),
tools/clang/lib/CodeGen/CGDecl.cpp
  153     QualType Ty = TD.getUnderlyingType();
tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
  230           if (isTopLevelBlockPointerType(TD->getUnderlyingType()))
  232           else if (TD->getUnderlyingType()->isFunctionPointerType())
  233             CheckFunctionPointerDecl(TD->getUnderlyingType(), TD);
 2214     Type = TD->getUnderlyingType();
 4873     DeclT = TDD->getUnderlyingType();
 5603         if (isTopLevelBlockPointerType(TD->getUnderlyingType()))
 5605         else if (TD->getUnderlyingType()->isFunctionPointerType())
 5606           CheckFunctionPointerDecl(TD->getUnderlyingType(), TD);
 5781         if (isTopLevelBlockPointerType(TD->getUnderlyingType()))
 5783         else if (TD->getUnderlyingType()->isFunctionPointerType())
 5784           CheckFunctionPointerDecl(TD->getUnderlyingType(), TD);
tools/clang/lib/Frontend/Rewrite/RewriteObjC.cpp
 4027     DeclT = TDD->getUnderlyingType();
 4705         if (isTopLevelBlockPointerType(TD->getUnderlyingType()))
 4707         else if (TD->getUnderlyingType()->isFunctionPointerType())
 4708           CheckFunctionPointerDecl(TD->getUnderlyingType(), TD);
 4879         if (isTopLevelBlockPointerType(TD->getUnderlyingType()))
 4881         else if (TD->getUnderlyingType()->isFunctionPointerType())
 4882           CheckFunctionPointerDecl(TD->getUnderlyingType(), TD);
tools/clang/lib/Index/IndexTypeSourceInfo.cpp
   59       TagDecl *Underlying = ND->getUnderlyingType()->getAsTagDecl();
tools/clang/lib/Sema/JumpDiagnostics.cpp
  211     if (TD->getUnderlyingType()->isVariablyModifiedType())
tools/clang/lib/Sema/SemaAttr.cpp
  139   QualType Canonical = TD->getUnderlyingType().getCanonicalType();
tools/clang/lib/Sema/SemaCXXScopeSpec.cpp
  334     if (TD->getUnderlyingType()->isRecordType())
  336     if (TD->getUnderlyingType()->isEnumeralType()) {
tools/clang/lib/Sema/SemaChecking.cpp
 8395           if (TD->getUnderlyingType() == IntendedTy)
tools/clang/lib/Sema/SemaDecl.cpp
 2151       if (S.Context.hasSameType(OldTD->getUnderlyingType(),
 2152                                 Decl->getUnderlyingType()))
 2171     OldType = OldTypedef->getUnderlyingType();
 2174   QualType NewType = New->getUnderlyingType();
 2223         QualType T = New->getUnderlyingType();
 2239       Context.setObjCClassRedefinitionType(New->getUnderlyingType());
 2246       Context.setObjCSelRedefinitionType(New->getUnderlyingType());
 2283                                     OldTD->getUnderlyingType());
 4341   if (!Context.hasSameType(NewTD->getUnderlyingType(),
15104         if (const TagType *TT = TD->getUnderlyingType()->getAs<TagType>()) {
15373           << Name << Kind << TND->getUnderlyingType();
tools/clang/lib/Sema/SemaDeclAttr.cpp
 2581     QualType T = TD->getUnderlyingType();
 2608     QualType T = TD->getUnderlyingType();
 3487   if (TD && TD->getUnderlyingType()->isUnionType())
 3488     RD = TD->getUnderlyingType()->getAsUnionType()->getDecl();
 3580     T = TD->getUnderlyingType();
 3688       if (!TND->getUnderlyingType()->isDependentType()) {
 3949     OldTy = TD->getUnderlyingType();
 5157     QualType T = TD->getUnderlyingType();
 5915   if (TD && (TD->getUnderlyingType()->isFunctionPointerType() ||
 5916     TD->getUnderlyingType()->isFunctionType()))
 7558       if (const auto *TT = TD->getUnderlyingType()->getAs<TagType>()) {
tools/clang/lib/Sema/SemaDeclCXX.cpp
 1790       if (TN->getUnderlyingType()->isVariablyModifiedType()) {
10019       return Context.hasSameType(TD1->getUnderlyingType(),
10020                                  TD2->getUnderlyingType());
11067             !Context.hasSameType(OldTD->getUnderlyingType(),
11068                                  NewTD->getUnderlyingType())) {
11072             << 2 << NewTD->getUnderlyingType() << OldTD->getUnderlyingType();
11072             << 2 << NewTD->getUnderlyingType() << OldTD->getUnderlyingType();
tools/clang/lib/Sema/SemaDeclObjC.cpp
  587         QualType T = TDecl->getUnderlyingType();
  914     if (S.Context.hasSameType(prevTypeParam->getUnderlyingType(),
  915                               newTypeParam->getUnderlyingType()))
  924         << newTypeParam->getUnderlyingType()
  927         << prevTypeParam->getUnderlyingType()
  932              prevTypeParam->getUnderlyingType().getAsString(
  941         S.Context.getTrivialTypeSourceInfo(prevTypeParam->getUnderlyingType()));
  954         = " : " + prevTypeParam->getUnderlyingType().getAsString(
  958         << prevTypeParam->getUnderlyingType()
  969       S.Context.getTrivialTypeSourceInfo(prevTypeParam->getUnderlyingType()));
 1044               Context.getTrivialTypeSourceInfo(typeParam->getUnderlyingType())));
 1117     QualType T = TDecl->getUnderlyingType();
 1152     QualType T = TDecl->getUnderlyingType();
 3050       if (!TDD || !TDD->getUnderlyingType()->isObjCObjectType()) {
 3058         if (isa<ObjCObjectType>(TDD->getUnderlyingType())) {
tools/clang/lib/Sema/SemaExprMember.cpp
  423     if ((*I)->getUnderlyingType() == VT)
tools/clang/lib/Sema/SemaExprObjC.cpp
 3647   QualType QT = TDNDecl->getUnderlyingType();
 3664     T = TDNDecl->getUnderlyingType();
 3862     T = TDNDecl->getUnderlyingType();
 3931     T = TDNDecl->getUnderlyingType();
tools/clang/lib/Sema/SemaStmtAsm.cpp
  795       QualType QT = TD->getUnderlyingType();
tools/clang/lib/Sema/SemaTemplate.cpp
 3258     CanonType = SubstType(Pattern->getUnderlyingType(),
tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
  752   if (const TagType *oldTagType = D->getUnderlyingType()->getAs<TagType>()) {
  777   if (D->getUnderlyingType()->getAs<DependentNameType>())
tools/clang/lib/Sema/SemaType.cpp
  947       QualType bound = typeParam->getUnderlyingType();
  985       QualType bound = typeParam->getUnderlyingType();
 6596         QualType underlyingType = typedefDecl->getUnderlyingType();
tools/clang/lib/Serialization/ASTReader.cpp
11327         QualType FirstType = FirstTD->getUnderlyingType();
11328         QualType SecondType = SecondTD->getUnderlyingType();
tools/clang/lib/Serialization/ASTReaderDecl.cpp
 2955       return X->getASTContext().hasSameType(TypedefX->getUnderlyingType(),
 2956                                             TypedefY->getUnderlyingType());
tools/clang/lib/Serialization/ASTWriterDecl.cpp
  377     Record.AddTypeRef(D->getUnderlyingType());
tools/clang/lib/StaticAnalyzer/Checkers/NonnullGlobalConstantsChecker.cpp
  111       Ty = TT->getDecl()->getUnderlyingType();
tools/clang/lib/Tooling/ASTDiff/ASTDiff.cpp
  430     return Value + T->getUnderlyingType().getAsString(TypePP) + ";";
tools/clang/tools/extra/clang-tidy/modernize/RedundantVoidArgCheck.cpp
  187   if (protoTypeHasNoParms(TypedefName->getUnderlyingType())) {
tools/clang/tools/extra/clang-tidy/modernize/UseUsingCheck.cpp
   95   if (MatchedDecl->getUnderlyingType()->isArrayType() || StartLoc.isMacroID())
  107             MatchedDecl->getUnderlyingType().getAsString(printPolicy));
tools/clang/tools/extra/clangd/FindTarget.cpp
  140       add(TND->getUnderlyingType(), Flags | Rel::Underlying);
tools/clang/tools/extra/clangd/SemanticHighlighting.cpp
   46     if (auto K = kindForType(TD->getUnderlyingType().getTypePtrOrNull()))
tools/clang/tools/libclang/CXType.cpp
  313       QualType T = TD->getUnderlyingType();
tools/clang/unittests/AST/ASTImporterTest.cpp
 4235   ASSERT_TRUE(ToD->getUnderlyingType()->isIncompleteType());
 4247   ASSERT_FALSE(FromD->getUnderlyingType()->isIncompleteType());
 4251   EXPECT_FALSE(ImportedD->getUnderlyingType()->isIncompleteType());
 5422     QualType ToType = ToTypedef->getUnderlyingType();
 5426     QualType FromType = FromTypedef->getUnderlyingType();
tools/lldb/source/Symbol/ClangASTContext.cpp
 2577                                      ->getUnderlyingType());
 2701                                         ->getUnderlyingType(),
 2775                                ->getUnderlyingType()
 2813                                ->getUnderlyingType()
 2888                            ->getUnderlyingType()
 3034                                 ->getUnderlyingType()
 3144                                       ->getUnderlyingType()
 3206                                        ->getUnderlyingType()
 3258                                     ->getUnderlyingType()
 3371                                ->getUnderlyingType()
 3456                                           ->getUnderlyingType()
 3512                                  ->getUnderlyingType()
 3720                                        ->getUnderlyingType()
 4141                                   ->getUnderlyingType()
 4254                                     ->getUnderlyingType()
 4587                                     ->getUnderlyingType()
 4726                                           ->getUnderlyingType()
 4926           this, typedef_type->getDecl()->getUnderlyingType().getAsOpaquePtr());
 5245                                   ->getUnderlyingType()
 5419                                   ->getUnderlyingType()
 5675                                           ->getUnderlyingType()
 5842                                    ->getUnderlyingType()
 6058                                   ->getUnderlyingType()
 6139                                         ->getUnderlyingType()
 6183                                          ->getUnderlyingType()
 6306                                          ->getUnderlyingType()
 6374                                           ->getUnderlyingType()
 6518                                      ->getUnderlyingType());
 7010                   ->getUnderlyingType()
 7381                                     ->getUnderlyingType()
 7631                                     ->getUnderlyingType()
 7667                                   ->getUnderlyingType()
 7719                                            ->getUnderlyingType()
 8738                                      ->getUnderlyingType()
 9269             ->getUnderlyingType();
 9488               ->getUnderlyingType();
tools/lldb/source/Symbol/ClangASTImporter.cpp
  454                                       ->getUnderlyingType()
  530                                    ->getUnderlyingType()