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

References

tools/clang/include/clang/AST/RecursiveASTVisitor.h
  831     return getDerived().TraverseType(Arg.getAsType());
  868       return getDerived().TraverseType(Arg.getAsType());
tools/clang/include/clang/ASTMatchers/ASTMatchers.h
  933   return InnerMatcher.matches(Node.getAsType(), Finder, Builder);
tools/clang/lib/AST/ASTContext.cpp
 4090     assert(P.getAsType().isCanonical() && "Pack contains non-canonical type");
 5466       return TemplateArgument(getCanonicalType(Arg.getAsType()));
tools/clang/lib/AST/ASTDiagnostic.cpp
  117             Args.push_back(Desugar(Context, Arg.getAsType(), DesugarArgument));
 1408       return Iter->getAsType();
 1410       return Iter.getDesugaredTA().getAsType();
tools/clang/lib/AST/ASTImporter.cpp
  742     ExpectedType ToTypeOrErr = import(From.getAsType());
tools/clang/lib/AST/ASTStructuralEquivalence.cpp
  318     return IsStructurallyEquivalent(Context, Arg1.getAsType(), Arg2.getAsType());
  318     return IsStructurallyEquivalent(Context, Arg1.getAsType(), Arg2.getAsType());
tools/clang/lib/AST/Decl.cpp
  330       LV.merge(getLVForType(*Arg.getAsType(), computation));
tools/clang/lib/AST/DeclPrinter.cpp
 1095         if (auto T = A.getAsType()->getAs<TemplateTypeParmType>()) {
tools/clang/lib/AST/ExprConstant.cpp
 1024           return {Call->Index, TAL[0].getAsType()};
tools/clang/lib/AST/ItaniumMangle.cpp
 4547     mangleType(A.getAsType());
 4745   if (!isCharType(TemplateArgs[0].getAsType()))
 4761   if (!isCharType(TemplateArgs[0].getAsType()))
 4764   if (!isCharSpecialization(TemplateArgs[1].getAsType(), "char_traits"))
 4810       if (!isCharType(TemplateArgs[0].getAsType()))
 4813       if (!isCharSpecialization(TemplateArgs[1].getAsType(), "char_traits"))
 4816       if (!isCharSpecialization(TemplateArgs[2].getAsType(), "allocator"))
tools/clang/lib/AST/JSONNodeDumper.cpp
 1455   JOS.attribute("type", createQualType(TA.getAsType()));
tools/clang/lib/AST/MicrosoftMangle.cpp
 1453     QualType T = TA.getAsType();
tools/clang/lib/AST/ODRHash.cpp
  165       AddQualType(TA.getAsType());
tools/clang/lib/AST/QualTypeNames.cpp
  105     QualType SubTy = Arg.getAsType();
tools/clang/lib/AST/StmtProfile.cpp
 2039     VisitType(Arg.getAsType());
tools/clang/lib/AST/TemplateBase.cpp
  120     return getAsType()->isDependentType() ||
  121            isa<PackExpansionType>(getAsType());
  161     return getAsType()->isInstantiationDependentType();
  208     return isa<PackExpansionType>(getAsType());
  227     if (getAsType()->containsUnexpandedParameterPack())
  293     getAsType().Profile(ID);
  373     return getAsType()->castAs<PackExpansionType>()->getPattern();
  403     getAsType().print(Out, SubPolicy);
  518     return DB << Arg.getAsType();
tools/clang/lib/AST/TextNodeDumper.cpp
  590   dumpType(TA.getAsType());
tools/clang/lib/AST/Type.cpp
 3410     ID.AddPointer(P.getAsType().getAsOpaquePtr());
 3468         Arg.getAsType()->isVariablyModifiedType())
tools/clang/lib/AST/TypeLoc.cpp
  546                           Context.getTrivialTypeSourceInfo(Args[i].getAsType(),
tools/clang/lib/CodeGen/CGDebugInfo.cpp
 1756       llvm::DIType *TTy = getOrCreateType(TA.getAsType(), Unit);
tools/clang/lib/Index/USRGeneration.cpp
  972     VisitType(Arg.getAsType());
tools/clang/lib/Sema/SemaChecking.cpp
 9263   QualType ArgType = TA.getAsType();
tools/clang/lib/Sema/SemaCodeComplete.cpp
 4274     return Argument.getAsType()->getAs<FunctionProtoType>();
tools/clang/lib/Sema/SemaDeclCXX.cpp
 9701     *Element = Arguments[0].getAsType();
tools/clang/lib/Sema/SemaExprCXX.cpp
  616         getUuidAttrOfType(SemaRef, TA.getAsType(), UuidAttrs);
tools/clang/lib/Sema/SemaLookup.cpp
 2679       addAssociatedClassesAndNamespaces(Result, Arg.getAsType());
tools/clang/lib/Sema/SemaOverload.cpp
10274     QualType Param = DeductionFailure.getFirstArg()->getAsType();
10287     QualType Arg = DeductionFailure.getSecondArg()->getAsType();
tools/clang/lib/Sema/SemaTemplate.cpp
 3002     if (!Converted[1].getAsType()->isIntegralType(Context)) {
 3056     return Nth->getAsType();
 3659     QualType Type = Arg.getAsType();
 3661         Arg.getAsType()->getAs<TemplateTypeParmType>();
 4495     ArgType = Arg.getAsType();
 5048       QualType T = Arg.getArgument().getAsType();
tools/clang/lib/Sema/SemaTemplateDeduction.cpp
  243         Context.hasSameType(X.getAsType(), Y.getAsType()))
  243         Context.hasSameType(X.getAsType(), Y.getAsType()))
 2136                                                 Param.getAsType(),
 2137                                                 Arg.getAsType(),
 2386       return Context.getCanonicalType(X.getAsType()) ==
 2387              Context.getCanonicalType(Y.getAsType());
 2451         Arg, Context.getTrivialTypeSourceInfo(Arg.getAsType(), Loc));
 4558   QualType DeducedType = Deduced[0].getAsType();
 4572   QualType DeducedA = InitList ? Deduced[0].getAsType() : Result;
 5639     MarkUsedTemplateParameters(Ctx, TemplateArg.getAsType(), OnlyDeduced,
tools/clang/lib/Sema/SemaTemplateInstantiate.cpp
 1112       QualType T = Arg.getAsType();
 1564     QualType Replacement = Arg.getAsType();
 1606   QualType Result = Arg.getAsType();
tools/clang/lib/Sema/SemaTemplateVariadic.cpp
 1036       ExpansionTSInfo = Context.getTrivialTypeSourceInfo(Argument.getAsType(),
 1095     if (auto *Subst = Arg.getAsType()->getAs<SubstTemplateTypeParmPackType>())
tools/clang/lib/Sema/TreeTransform.h
 3944                SemaRef.Context.getTrivialTypeSourceInfo(Arg.getAsType(), Loc));
 3998       DI = InventTypeSourceInfo(Input.getArgument().getAsType());
tools/clang/lib/Serialization/ASTWriter.cpp
 6034     AddTypeRef(Arg.getAsType());
tools/clang/lib/StaticAnalyzer/Checkers/CastValueChecker.cpp
  222   QualType CastToTy = FD->getTemplateSpecializationArgs()->get(0).getAsType();
tools/clang/lib/StaticAnalyzer/Checkers/IteratorChecker.cpp
  532       const auto TAType = TArgs->get(I).getAsType();
tools/clang/tools/extra/clang-tidy/boost/UseToStringCheck.cpp
   46       Result.Nodes.getNodeAs<TemplateArgument>("char_type")->getAsType();
tools/clang/tools/extra/clang-tidy/misc/UniqueptrResetReleaseCheck.cpp
   53   return DeleterArgument.getAsType().getTypePtr();
tools/clang/tools/extra/clang-tidy/misc/UnusedUsingDeclsCheck.cpp
  135       if (auto *RD = Used->getAsType()->getAsCXXRecordDecl())
tools/clang/tools/extra/clang-tidy/modernize/UseTransparentFunctorsCheck.cpp
  107     QualType ParentArgType = Arg.getAsType();
  110             Functor->getAsType()->getAsCXXRecordDecl())
tools/clang/tools/extra/clang-tidy/mpi/TypeMismatchCheck.cpp
  191       Template->getArg(0).getAsType().getTypePtr()->getAs<BuiltinType>();
tools/clang/tools/extra/clang-tidy/performance/InefficientAlgorithmCheck.cpp
   86       IneffCont->getTemplateArgs()[0].getAsType().getCanonicalType();
   97                                       .getAsType()
tools/clang/tools/extra/clangd/unittests/ParsedASTTests.cpp
   62         SpecializationArgs += Arg.getAsType().getAsString(Policy);
tools/clang/tools/libclang/CXCursor.cpp
 1328   return cxtype::MakeCXType(TA.getAsType(), getCursorTU(C));
tools/clang/tools/libclang/CXType.cpp
  194     return A.getAsType();
tools/lldb/source/Symbol/ClangASTContext.cpp
 7794   return CompilerType(this, template_arg.getAsType().getAsOpaquePtr());
tools/lldb/source/Symbol/CxxModuleHandler.cpp
  230       llvm::Expected<QualType> type = m_importer->Import(arg.getAsType());