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

References

tools/clang/include/clang/Analysis/AnyCall.h
  165       return cast<ObjCMethodDecl>(D)->getReturnType();
tools/clang/lib/ARCMigrate/ObjCMT.cpp
  501     QualType QT = Getter->getReturnType();
  505     QualType ResType = Context.getCanonicalType(Getter->getReturnType());
  516   QualType RT = Getter->getReturnType();
  969   if (OM->getReturnType() == Ctx.getObjCInstanceType())
 1032       if (OM->getReturnType()->isObjCIdType())
 1039   if (!OM->getReturnType()->isObjCIdType())
 1172   QualType GRT = Method->getReturnType();
 1225     QualType SRT = SetterMethod->getReturnType();
 1267   QualType RT = OM->getReturnType();
 1307       OM->getReturnType() == Ctx.getObjCInstanceType() ||
 1308       !OM->getReturnType()->isObjCIdType())
 1671     } else if (!AuditedType(MethodDecl->getReturnType()))
tools/clang/lib/AST/ASTContext.cpp
 6441                                     Decl->getReturnType(), S, Extended);
10529   if (!hasSameType(MethodDecl->getReturnType(), MethodImpl->getReturnType()))
10529   if (!hasSameType(MethodDecl->getReturnType(), MethodImpl->getReturnType()))
tools/clang/lib/AST/ASTImporter.cpp
 3895       if (!Importer.IsStructurallyEquivalent(D->getReturnType(),
 3896                                              FoundMethod->getReturnType())) {
 3898             << D->isInstanceMethod() << Name << D->getReturnType()
 3899             << FoundMethod->getReturnType();
 3957       D->getEndLoc(), D->getReturnType(), D->getReturnTypeSourceInfo()))
tools/clang/lib/AST/Comment.cpp
  256     ReturnType = MD->getReturnType();
tools/clang/lib/AST/DeclObjC.cpp
 1013     if (!isInstanceMethod() || !getReturnType()->isObjCObjectPointerType())
 1023     if (!getReturnType()->isObjCObjectPointerType())
 1040     if (isInstanceMethod() || !getReturnType()->isVoidType())
 1045     if (!isInstanceMethod() || !getReturnType()->isObjCIdType())
 1164   return getReturnType().getNonLValueExprType(Ctx)
 1171   return getReturnType().getNonLValueExprType(getASTContext())
tools/clang/lib/AST/DeclPrinter.cpp
 1268   if (!OMD->getReturnType().isNull()) {
 1270                         OMD->getReturnType());
tools/clang/lib/AST/ExprClassification.cpp
  378       Cl::Kinds kind = ClassifyUnnamed(Ctx, Method->getReturnType());
tools/clang/lib/AST/ExprObjC.cpp
  298     QualType QT = MD->getReturnType();
tools/clang/lib/AST/JSONNodeDumper.cpp
  912   JOS.attribute("returnType", createQualType(D->getReturnType()));
tools/clang/lib/AST/TextNodeDumper.cpp
 1822   dumpType(D->getReturnType());
tools/clang/lib/Analysis/RetainSummaryManager.cpp
  899     return MD->getReturnType();
 1001   if (hasAnyEnabledAttrOf<NSConsumesSelfAttr>(MD, MD->getReturnType()))
 1010   QualType RetTy = MD->getReturnType();
 1278   QualType ResultTy = MD->getReturnType();
tools/clang/lib/CodeGen/CGCall.cpp
  496       GetReturnType(MD->getReturnType()), /*instanceMethod=*/false,
 2902         RT = MD->getReturnType();
tools/clang/lib/CodeGen/CGDebugInfo.cpp
 3484     QualType ResultTy = OMethod->getReturnType();
tools/clang/lib/CodeGen/CGExpr.cpp
 4715   assert(E->getMethodDecl()->getReturnType()->isReferenceType() &&
tools/clang/lib/CodeGen/CGExprScalar.cpp
  521         E->getMethodDecl()->getReturnType()->isReferenceType())
tools/clang/lib/CodeGen/CGObjC.cpp
  111       *this, ReturnValueSlot(), BoxingMethod->getReturnType(), Sel, Receiver,
  225       *this, ReturnValueSlot(), MethodWithObjects->getReturnType(), Sel,
  577   QualType ResultType = method ? method->getReturnType() : E->getType();
  696   StartFunction(OMD, OMD->getReturnType(), Fn, FI, args,
 1073     llvm::Type *retTy = ConvertType(getterMethod->getReturnType());
 1128         getTypes().ConvertType(getterMethod->getReturnType())));
 1184             value, ConvertType(GetterMethodDecl->getReturnType()));
tools/clang/lib/CodeGen/CGObjCMac.cpp
 2159     assert(CGM.getContext().getCanonicalType(Method->getReturnType()) ==
tools/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
  126       QualType RetTy = D->getReturnType();
tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
  963       RewriteTypeIntoString(PD->getGetterMethodDecl()->getReturnType(), Getr,
 1233   RewriteTypeIntoString(OMD->getReturnType(), ResultStr, FPRetType);
 3214     QualType resultType = mDecl->getReturnType();
tools/clang/lib/Frontend/Rewrite/RewriteObjC.cpp
  810       RewriteTypeIntoString(PD->getGetterMethodDecl()->getReturnType(), Getr,
 1065   RewriteTypeIntoString(OMD->getReturnType(), ResultStr, FPRetType);
 2641     QualType resultType = mDecl->getReturnType();
tools/clang/lib/Index/IndexSymbol.cpp
   36   if (!D->getReturnType()->isVoidType())
tools/clang/lib/Sema/AnalysisBasedWarnings.cpp
  654     ReturnsVoid = MD->getReturnType()->isVoidType();
tools/clang/lib/Sema/SemaCodeComplete.cpp
  383     Type = Method->getReturnType();
 2301       ReturnType = Method->getReturnType();
 2609       T = Method->getReturnType();
 4603             M->getReturnType()->isVoidType() || M->isInstanceMethod())
 7502           !Context.hasSameUnqualifiedType(ReturnType, M->getReturnType()))
 8271       if (!Method->getReturnType()->isVoidType()) {
tools/clang/lib/Sema/SemaDecl.cpp
13930                                              MD->getReturnType(), MD);
tools/clang/lib/Sema/SemaDeclAttr.cpp
  125   return cast<ObjCMethodDecl>(D)->getReturnType();
 2569       !M->getReturnType()->isObjCObjectPointerType()) {
 2571         << M->getReturnType();
 2732     if (MD->getReturnType()->isVoidType()) {
 4970     ReturnType = MD->getReturnType();
 5103     resultType = cast<ObjCMethodDecl>(D)->getReturnType();
tools/clang/lib/Sema/SemaDeclObjC.cpp
   52       method->getReturnType()->castAs<ObjCObjectPointerType>()->getObjectType();
  143     QualType ResultType = NewMethod->getReturnType();
  239     if (!Context.hasSameType(method->getReturnType(), Context.VoidTy)) {
  243             << method->getReturnType()
  247             << method->getReturnType()
  372   QualType ResultType = MDecl->getReturnType();
 2332       !S.Context.hasSameNullabilityTypeQualifier(MethodImpl->getReturnType(),
 2333                                                  MethodDecl->getReturnType(),
 2336       *MethodImpl->getReturnType()->getNullability(S.Context);
 2338       *MethodDecl->getReturnType()->getNullability(S.Context);
 2352   if (S.Context.hasSameUnqualifiedType(MethodImpl->getReturnType(),
 2353                                        MethodDecl->getReturnType()))
 2365           MethodImpl->getReturnType()->getAs<ObjCObjectPointerType>()) {
 2367             MethodDecl->getReturnType()->getAs<ObjCObjectPointerType>()) {
 2382       << MethodImpl->getDeclName() << MethodDecl->getReturnType()
 2383       << MethodImpl->getReturnType()
 2535   if (unmatched->getReturnType()->isObjCObjectPointerType()) {
 3228   if (!matchTypes(Context, strategy, left->getReturnType(),
 3229                   right->getReturnType()))
 3433   return (chosen->getReturnType()->isIntegerType());
 4136   QualType ResultType = Method->getReturnType();
 4471         method->getReturnType(),
 4474         prevMethod->getReturnType(),
 4513     if (Method->getReturnType()->isVectorType()) {
 4515       T = Method->getReturnType();
 4534       << T << (Method->getReturnType()->isVectorType() ? /*return value*/ 1
 4767         !ObjCMethod->getReturnType()->isObjCIndependentClassType())
tools/clang/lib/Sema/SemaExpr.cpp
10155   QualType R = Method->getReturnType();
17627     assert(Method->getReturnType() == S.Context.UnknownAnyTy);
tools/clang/lib/Sema/SemaExprObjC.cpp
  156   QualType ReturnType = Method->getReturnType();
  592           BoxingMethod->getReturnType()->getNullability(Context);
 1467   if (MD->getReturnType() == instancetype)
 1503       Context.hasSameUnqualifiedType(destType, MD->getReturnType()))
 1541           Method->getReturnType().getNonReferenceType(), MsgSend->getType()))
 1544   if (!Context.hasSameUnqualifiedType(Method->getReturnType(),
 1637   VK = Expr::getValueKindForType(Method->getReturnType());
 2366   QualType Ret = ImpliedMethod->getReturnType();
 2368     QualType Ret = ImpliedMethod->getReturnType();
 2536   if (Method && !Method->getReturnType()->isVoidType() &&
 2537       RequireCompleteType(LBracLoc, Method->getReturnType(),
 3033   if (Method && !Method->getReturnType()->isVoidType() &&
 3034       RequireCompleteType(LBracLoc, Method->getReturnType(),
 3510       if (!isAnyRetainable(TargetClass) || !isCFType(method->getReturnType()))
 3995         SrcType = Getter->getReturnType();
tools/clang/lib/Sema/SemaObjCProperty.cpp
 1430                                               getterMethod->getReturnType(),
 1659   QualType GetterType = GetterMethod->getReturnType().getNonReferenceType();
 2357     if (Context.getCanonicalType(SetterMethod->getReturnType()) !=
tools/clang/lib/Sema/SemaOverload.cpp
 6377           QualType ReturnT = Methods[b]->getReturnType();
tools/clang/lib/Sema/SemaPseudoObject.cpp
  598     T = Getter->getReturnType();
  883   QualType resultType = Getter->getReturnType();
 1238     QualType R = AtIndexGetter->getReturnType();
tools/clang/lib/Sema/SemaStmt.cpp
 3603     FnRetType = MD->getReturnType();
tools/clang/lib/Serialization/ASTWriterDecl.cpp
  692   Record.AddTypeRef(D->getReturnType());
tools/clang/lib/StaticAnalyzer/Checkers/CheckObjCInstMethSignature.cpp
   45   QualType ResDerived = MethDerived->getReturnType();
   46   QualType ResAncestor = MethAncestor->getReturnType();
tools/clang/lib/StaticAnalyzer/Checkers/DynamicTypePropagation.cpp
  686   QualType StaticResultType = Method->getReturnType();
tools/clang/lib/StaticAnalyzer/Checkers/NSErrorChecker.cpp
   56   if (!D->getReturnType()->isVoidType())
tools/clang/lib/StaticAnalyzer/Checkers/NullabilityChecker.cpp
  554     RequiredRetType = MD->getReturnType();
  821   QualType RetType = Decl->getReturnType();
tools/clang/lib/StaticAnalyzer/Checkers/TrustNonnullChecker.cpp
  177     QualType DeclRetType = MD->getReturnType();
tools/clang/lib/StaticAnalyzer/Core/CallEvent.cpp
  467     return MD->getReturnType();
tools/clang/tools/libclang/CXType.cpp
  723       return MakeCXType(MD->getReturnType(), cxcursor::getCursorTU(C));
tools/lldb/source/Symbol/ClangASTContext.cpp
 9934     return CompilerType(this, objc_method->getReturnType().getAsOpaquePtr());