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

Declarations

tools/clang/include/clang/AST/Type.h
  986   std::string getAsString() const;

References

gen/tools/clang/include/clang/AST/AttrImpl.inc
 4086       OS << "" << getInterface().getAsString() << "";
 4104       OS << "" << getInterface().getAsString() << "";
 4122       OS << "" << getInterface().getAsString() << "";
 8226       OS << "" << getDerefType().getAsString() << "";
 8633       OS << "" << getDerefType().getAsString() << "";
10583     OS << " __attribute__((type_tag_for_datatype(" << (getArgumentKind() ? getArgumentKind()->getName() : "") << ", " << getMatchingCType().getAsString() << ", " << getLayoutCompatible() << ", " << getMustBeNull() << ")))";
10587     OS << " [[clang::type_tag_for_datatype(" << (getArgumentKind() ? getArgumentKind()->getName() : "") << ", " << getMatchingCType().getAsString() << ", " << getLayoutCompatible() << ", " << getMustBeNull() << ")]]";
10591     OS << " [[clang::type_tag_for_datatype(" << (getArgumentKind() ? getArgumentKind()->getName() : "") << ", " << getMatchingCType().getAsString() << ", " << getLayoutCompatible() << ", " << getMustBeNull() << ")]]";
10931     OS << " __attribute__((vec_type_hint(" << getTypeHint().getAsString() << ")))";
gen/tools/clang/include/clang/AST/AttrTextNodeDump.inc
  251     if (SA->getInterfaceLoc())    OS << " " << SA->getInterface().getAsString();
  574     if (SA->getDerefTypeLoc())    OS << " " << SA->getDerefType().getAsString();
  616     if (SA->getDerefTypeLoc())    OS << " " << SA->getDerefType().getAsString();
  739     OS << " " << SA->getMatchingCType().getAsString();
  790     OS << " " << SA->getTypeHint().getAsString();
tools/clang/include/clang/AST/DataCollection.h
   49   addDataToConsumer(DataConsumer, QT.getAsString());
tools/clang/include/clang/ASTMatchers/ASTMatchers.h
 3332   return Name == Node.getAsString();
tools/clang/include/clang/StaticAnalyzer/Checkers/SValExplainer.h
  100     return "symbol of type '" + S->getType().getAsString() +
  114     return "metadata of type '" + S->getType().getAsString() + "' tied to " +
  170     OS << "element of type '" << R->getElementType().getAsString()
tools/clang/lib/AST/FormatString.cpp
  542   std::string S = getRepresentativeType(C).getAsString();
tools/clang/lib/AST/InheritViz.cpp
   44     Out << "digraph \"" << llvm::DOT::EscapeString(Type.getAsString())
   79   std::string TypeName = Type.getAsString();
   85   if (TypeName != CanonType.getAsString()) {
   86     Out << "\\n(" << CanonType.getAsString() << ")";
  142           Self.getAsString(), "dot", FD, Filename)) {
tools/clang/lib/AST/RecordLayoutBuilder.cpp
 3301   OS << C.getTypeDeclType(const_cast<RecordDecl*>(RD)).getAsString();
 3383     OS << Field.getType().getAsString() << ' ' << Field << '\n';
 3445   OS << "Type: " << getTypeDeclType(RD).getAsString() << "\n";
tools/clang/lib/AST/TextNodeDumper.cpp
  866      << Node->getTypeAsWritten().getAsString() << ">"
  884   OS << " functional cast to " << Node->getTypeAsWritten().getAsString() << " <"
tools/clang/lib/AST/VTableBuilder.cpp
 3070         << TI.Method->getReturnType().getCanonicalType().getAsString()
tools/clang/lib/Analysis/CFG.cpp
 5454       OS << ", " << CCE->getType().getAsString() << ")";
 5458          << ", " << CE->getType().getAsString()
tools/clang/lib/Analysis/Consumed.cpp
 1214           RTSAttr->getLocation(), ReturnType.getAsString());
tools/clang/lib/Analysis/RetainSummaryManager.cpp
  169   return StringRef(Ty.getAsString()).startswith("isl_");
  292   std::string RetTyName = RetTy.getAsString();
tools/clang/lib/CodeGen/CGBuiltin.cpp
 1404       CGF.Builder.CreateGlobalStringPtr(RType.getAsString() + " {\n");
 1440             .concat(FD->getType().getAsString())
tools/clang/lib/Frontend/ASTUnit.cpp
  416           CachedCompletionTypes[QualType(CanUsageType).getAsString()]
 2100             = CachedCompletionTypes.find(QualType(Expected).getAsString());
tools/clang/lib/Sema/CodeCompleteConsumer.cpp
  542     OS << "PREFERRED-TYPE: " << Context.getPreferredType().getAsString()
tools/clang/lib/Sema/SemaCast.cpp
 1480           PathDisplayStr += PE.Base->getType().getAsString() + " -> ";
 1481         PathDisplayStr += QualType(DestType).getAsString();
tools/clang/lib/Sema/SemaChecking.cpp
  534   if (NDRangeArg->getType().getUnqualifiedType().getAsString() != "ndrange_t") {
  660   if (Arg2->getType().getUnqualifiedType().getAsString() != "ndrange_t") {
tools/clang/lib/Sema/SemaDecl.cpp
 8313     auto Match = llvm::find(Names, DesugaredTy.getAsString());
tools/clang/lib/Sema/SemaDeclCXX.cpp
 2935       PathDisplayStr += Context.getTypeDeclType(Paths.getOrigin()).getAsString();
 2938         PathDisplayStr += " -> " + Element->Base->getType().getAsString();
tools/clang/lib/Sema/SemaExpr.cpp
 7216     std::string EleTyName = ResTy.getUnqualifiedType().getAsString();
tools/clang/lib/Sema/SemaExprCXX.cpp
 1763         << IsDelete << FD.getType().getAsString() << OSName
tools/clang/lib/Sema/SemaExprObjC.cpp
 3617       castCode += castType.getAsString();
 3626     castCode += castType.getAsString();
tools/clang/lib/Sema/SemaInit.cpp
 3393   OS << " '" << getType().getAsString() << "'\n";
 9474     OS << " [" << S->Type.getAsString() << ']';
tools/clang/lib/Sema/SemaOverload.cpp
10756   TypeStr += Cand->BuiltinParamTypes[0].getAsString();
10762     TypeStr += Cand->BuiltinParamTypes[1].getAsString();
tools/clang/lib/Sema/SemaTemplate.cpp
 5842     std::string Code = "static_cast<" + ParamType.getAsString() + ">(";
tools/clang/lib/StaticAnalyzer/Checkers/CStringChecker.cpp
 1030     os << "a C++ temp object of type " << TVR->getValueType().getAsString();
 1033     os << "a variable of type" << TVR->getValueType().getAsString();
 1036     os << "a field of type " << TVR->getValueType().getAsString();
 1039     os << "an instance variable of type " << TVR->getValueType().getAsString();
tools/clang/lib/StaticAnalyzer/Checkers/CheckObjCInstMethSignature.cpp
   59        << ResDerived.getAsString()
   64        << ResAncestor.getAsString()
tools/clang/lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp
  309      << "' with floating point type '" << drCond->getType().getAsString()
tools/clang/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp
  384       return (Twine("(") + S->getType().getAsString() + ")" + *Str).str();
tools/clang/lib/StaticAnalyzer/Checkers/InnerPointerChecker.cpp
  298   OS << "Pointer to inner buffer of '" << ObjTy.getAsString()
tools/clang/lib/StaticAnalyzer/Checkers/LLVMConventionsChecker.cpp
   34   return StringRef(QualType(RT, 0).getAsString()) == "class StringRef";
  276   os << " (type " << FieldChain.back()->getType().getAsString() << ")";
tools/clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
 3238           OS << "Inner buffer of '" << ObjTy.getAsString() << "' ";
tools/clang/lib/StaticAnalyzer/Checkers/MallocSizeofChecker.cpp
  228             << PointeeType.getAsString() << "', which is incompatible with "
  229             << "sizeof operand type '" << SizeofType.getAsString() << "'";
tools/clang/lib/StaticAnalyzer/Checkers/NumberObjectConversionChecker.cpp
  146   OS << "a pointer value of type '" << ObjT.getAsString() << "' to a ";
  156         "a method on '" + ObjT.getAsString() + "' to get the scalar value";
tools/clang/lib/StaticAnalyzer/Checkers/ObjCContainersASTChecker.cpp
  140         << Arg->getType().getAsString() << "'";
tools/clang/lib/StaticAnalyzer/Checkers/ObjCPropertyChecker.cpp
   52                                                      .getAsString());
tools/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.cpp
   48     Out << "Tracked " << T.getAsString() << " | ";
tools/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.cpp
   88   return QT.getAsString();
  265        << Sym->getType().getAsString() << "' with a ";
  270     os << "an object of type '" << Sym->getType().getAsString()
  279       os << "an instance of " << PT->getPointeeType().getAsString()
tools/clang/lib/StaticAnalyzer/Checkers/UndefResultChecker.cpp
  147            << B->getLHS()->getType().getAsString() << "'.";
  164            << "the return type \'" << B->getLHS()->getType().getAsString()
tools/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedObjectChecker.cpp
  506     if (R.match(FD->getType().getAsString()))
tools/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedPointee.cpp
   78     Out << '<' << CastBackType.getAsString() << ">(";
tools/clang/lib/StaticAnalyzer/Core/DynamicType.cpp
  160       Out << '\"' << DTI.getType()->getPointeeType().getAsString()
  200             << "{ \"from\": \"" << SI->from().getAsString() << "\", \"to\": \""
  201             << SI->to().getAsString() << "\", \"kind\": \""
tools/clang/lib/StaticAnalyzer/Core/IssueHash.cpp
   44     Signature.append(Target->getReturnType().getAsString()).append(" ");
   50     Signature.append(Target->getParamDecl(i)->getType().getAsString());
tools/clang/lib/StaticAnalyzer/Core/MemRegion.cpp
  487   os << "temp_object{" << getValueType().getAsString() << ", "
  505      << Index << ',' << getElementType().getAsString() << '}';
tools/clang/lib/StaticAnalyzer/Core/SVals.cpp
  367         os << (*I).getType().getAsString();
tools/clang/lib/StaticAnalyzer/Core/SymbolManager.cpp
   79   os << '(' << ToTy.getAsString() << ") (";
   85   os << "conj_$" << getSymbolID() << '{' << T.getAsString() << ", LC"
  105      << getRegion() << ',' << T.getAsString() << '}';
  112      << '<' << getType().getAsString() << ' ' << R << '>';
tools/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
  693         OS << P->getType().getAsString();
tools/clang/tools/extra/clang-doc/Serialize.cpp
  297         F->getTypeSourceInfo()->getType().getAsString(), F->getNameAsString(),
  322     I.Params.emplace_back(P->getOriginalType().getAsString(),
  338       I.Parents.emplace_back(getUSRForDecl(D), B.getType().getAsString(),
  344       I.Parents.emplace_back(B.getType().getAsString());
  352       I.VirtualParents.emplace_back(B.getType().getAsString());
  429     I.ReturnType = TypeInfo(D->getReturnType().getAsString());
  454           BI.Name = B.getType().getAsString();
tools/clang/tools/extra/clang-tidy/bugprone/NotNullTerminatedResultCheck.cpp
  386   std::string TempTyStr = Dest->getType().getAsString();
tools/clang/tools/extra/clang-tidy/cert/ProperlySeededRandomGeneratorCheck.cpp
  112       Func->getArg(0)->IgnoreCasts()->getType().getAsString());
tools/clang/tools/extra/clang-tidy/google/NonConstReferences.cpp
  134   if (StringRef(ReferencedType.getAsString()).endswith("stream"))
tools/clang/tools/extra/clang-tidy/modernize/LoopConvertUtils.cpp
  139   if (QType.getAsString() == Name) {
tools/clang/tools/extra/clang-tidy/readability/ImplicitBoolConversionCheck.cpp
  388     fixGenericExprCastFromBool(Diag, Cast, Context, DestType.getAsString());
tools/clang/tools/extra/clangd/CodeComplete.cpp
 1302           PreferredType ? Recorder->CCContext.getPreferredType().getAsString()
tools/clang/tools/extra/clangd/unittests/XRefsTests.cpp
 2208       EXPECT_EQ(DeducedType->getAsString(), T.DeducedType);
tools/clang/tools/libclang/CIndex.cpp
 3890     if (rettype.getAsString() == "CFStringRef" &&
 3918     } else if (rettype.getAsString() == "CFStringRef") {
 4508       return cxstring::createDup(B->getType().getAsString());
 4515                               getAsString());
tools/clang/unittests/Sema/CodeCompleteTest.cpp
   50     ResultCtx.PreferredType = Context.getPreferredType().getAsString();
   52         S.getASTContext().getPointerDiffType().getAsString();
tools/clang/unittests/Tooling/RecursiveASTVisitorTestTypeLocVisitor.cpp
   18     Match(TypeLocation.getType().getAsString(), TypeLocation.getBeginLoc());
tools/lldb/source/Plugins/ExpressionParser/Clang/ASTDumper.cpp
   63   m_dump = clang::QualType(type, 0).getAsString();
   66 ASTDumper::ASTDumper(clang::QualType type) { m_dump = type.getAsString(); }
   69   m_dump = clang::QualType::getFromOpaquePtr(type).getAsString();
   73   m_dump = ClangUtil::GetQualType(compiler_type).getAsString();
tools/lldb/source/Plugins/ExpressionParser/Clang/ASTResultSynthesizer.cpp
  309     std::string s = expr_qual_type.getAsString();
tools/lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp
 1262              lldb_private::ClangUtil::GetQualType(compiler_type).getAsString(),
tools/lldb/source/Symbol/ClangASTContext.cpp
 9062           std::string base_class_type_name(base_class_qual_type.getAsString());
 9129           std::string field_type_name(field_type.getAsString());
 9728         std::string clang_type_name(qual_type.getAsString());