|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
tools/clang/include/clang/ASTMatchers/ASTMatchers.h 4131 return InnerMatcher.matches(Node.getReturnType(), Finder, Builder);
tools/clang/include/clang/Analysis/AnyCall.h 161 return cast<FunctionDecl>(D)->getReturnType();
174 return cast<FunctionDecl>(D)->getReturnType();
tools/clang/lib/ARCMigrate/ObjCMT.cpp 1538 else if (!AuditedType(FuncDecl->getReturnType()))
tools/clang/lib/AST/ASTContext.cpp 6380 getObjCEncodingForType(Decl->getReturnType(), S);
tools/clang/lib/AST/Comment.cpp 236 ReturnType = FD->getReturnType();
268 ReturnType = FD->getReturnType();
tools/clang/lib/AST/ExprConstant.cpp 5116 if (!Info.Ctx.hasSameUnqualifiedType(Callee->getReturnType(),
5117 Found->getReturnType())) {
5118 CovariantAdjustmentPath.push_back(Callee->getReturnType());
5127 Next->getReturnType(), CovariantAdjustmentPath.back()))
5128 CovariantAdjustmentPath.push_back(Next->getReturnType());
5130 if (!Info.Ctx.hasSameUnqualifiedType(Found->getReturnType(),
5132 CovariantAdjustmentPath.push_back(Found->getReturnType());
5527 if (Callee->getReturnType()->isVoidType())
tools/clang/lib/AST/Interp/ByteCodeEmitter.cpp 33 QualType Ty = F->getReturnType();
tools/clang/lib/AST/Interp/ByteCodeStmtGen.cpp 97 ReturnType = this->classify(F->getReturnType());
108 if (F->getReturnType()->isVoidType())
tools/clang/lib/AST/ODRHash.cpp 558 AddQualType(Function->getReturnType());
tools/clang/lib/AST/VTableBuilder.cpp 3070 << TI.Method->getReturnType().getCanonicalType().getAsString()
tools/clang/lib/Analysis/BodyFarm.cpp 603 QualType ResultTy = D->getReturnType();
tools/clang/lib/Analysis/RetainSummaryManager.cpp 897 return FD->getReturnType();
983 QualType RetTy = FD->getReturnType();
tools/clang/lib/CodeGen/CGCall.cpp 2235 QualType RetTy = FD->getReturnType().getUnqualifiedType();
2900 RT = FD->getReturnType();
tools/clang/lib/CodeGen/CGDebugInfo.cpp 3344 FD->getReturnType(), ArgTypes, FunctionProtoType::ExtProtoInfo(CC));
3522 EltTys.push_back(getOrCreateType(FD->getReturnType(), F));
tools/clang/lib/CodeGen/CGExprCXX.cpp 223 if (DevirtualizedMethod->getReturnType().getCanonicalType() !=
224 MD->getReturnType().getCanonicalType())
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp10263 QualType RetType = FD->getReturnType();
10442 QualType RetType = FD->getReturnType().getCanonicalType();
tools/clang/lib/CodeGen/CodeGenFunction.cpp 1088 QualType ResTy = FD->getReturnType();
1131 QualType T = FD->getReturnType();
1218 !FD->getReturnType()->isVoidType() && Builder.GetInsertBlock()) {
tools/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp 107 QualType RetTy = D->getReturnType();
tools/clang/lib/Index/USRGeneration.cpp 271 VisitType(D->getReturnType());
tools/clang/lib/Parse/ParseCXXInlineMethods.cpp 114 FnD->getAsFunction()->getReturnType()->getContainedAutoType()) &&
tools/clang/lib/Sema/AnalysisBasedWarnings.cpp 650 ReturnsVoid = FD->getReturnType()->isVoidType();
tools/clang/lib/Sema/Sema.cpp 1971 ZeroArgCallReturnTy = OverloadDecl->getReturnType();
2001 ZeroArgCallReturnTy = Fun->getReturnType();
2076 QualType OverloadResultTy = OverloadDecl->getReturnType();
tools/clang/lib/Sema/SemaChecking.cpp 7955 AT.matchesType(S.Context, Method->getReturnType())) {
tools/clang/lib/Sema/SemaCodeComplete.cpp 379 Type = Function->getReturnType();
2299 ReturnType = Function->getReturnType();
2604 T = Function->getReturnType();
tools/clang/lib/Sema/SemaCoroutine.cpp 241 if (FD->getReturnType()->isUndeducedType())
1424 QualType const FnRetType = FD.getReturnType();
tools/clang/lib/Sema/SemaDecl.cpp 3455 AutoType *OldAT = Old->getReturnType()->getContainedAutoType();
8762 NewFD->getReturnType()->isUndeducedType())
8769 NewFD->getReturnType()->isUndeducedType()) {
9031 NewFD->getReturnType()->isVariablyModifiedType()) {
9072 LangAS AddressSpace = NewFD->getReturnType().getAddressSpace();
9114 if (NewFD->getReturnType().hasNonTrivialToPrimitiveDestructCUnion() ||
9115 NewFD->getReturnType().hasNonTrivialToPrimitiveCopyCUnion())
9116 checkNonTrivialCUnion(NewFD->getReturnType(),
9453 if (!NewFD->getReturnType()->isVoidType()) {
10238 assert(!NewFD->getReturnType()->isVariablyModifiedType() &&
10525 QualType R = NewFD->getReturnType();
13442 LSI->ReturnType = CallOperator->getReturnType();
13562 QualType ResultType = FD->getReturnType();
13693 if (FD->getReturnType()->getContainedDeducedType())
13778 FD->getReturnType()->isUndeducedType()) {
13782 if (!FD->getReturnType()->getAs<AutoType>()) {
13784 << FD->getReturnType();
13829 FD->getReturnType(), FD);
13840 if (FD->getReturnType()->isRecordType() &&
tools/clang/lib/Sema/SemaDeclAttr.cpp 869 if (!FD->getReturnType()->isPointerType()) {
4227 if (!FD->getReturnType()->isVoidType() &&
4228 !FD->getReturnType()->getAs<AutoType>() &&
4229 !FD->getReturnType()->isInstantiationDependentType()) {
4977 ReturnType = FD->getReturnType();
6428 QualType RetTy = FD->getReturnType();
tools/clang/lib/Sema/SemaDeclCXX.cpp 1732 QualType RT = NewFD->getReturnType();
2243 (Dcl->getReturnType()->isVoidType() ||
2244 Dcl->getReturnType()->isDependentType());
13290 assert(!Conv->getReturnType()->isUndeducedType());
13323 Invoker->setType(Conv->getReturnType()->getPointeeType());
tools/clang/lib/Sema/SemaExpr.cpp 65 if (getLangOpts().CPlusPlus14 && FD->getReturnType()->isUndeducedType() &&
268 if (getLangOpts().CPlusPlus14 && FD->getReturnType()->isUndeducedType() &&
11585 if (FD && !IsTypeModifiable(FD->getReturnType(), IsDereference)) {
11593 << ConstFunction << FD << FD->getReturnType()
tools/clang/lib/Sema/SemaExprCXX.cpp 3553 TheCall->setType(OperatorNewOrDelete->getReturnType());
7230 QualType ResultType = Method->getReturnType();
tools/clang/lib/Sema/SemaExprObjC.cpp 3457 if (!isCFType(fn->getReturnType()))
tools/clang/lib/Sema/SemaInit.cpp 4589 cv3T3 = Function->getReturnType();
5280 Function->getReturnType()->isReferenceType() ||
6736 if (Callee->getReturnType()->isPointerType() ||
6737 isRecordWithAttr<PointerAttr>(Callee->getReturnType())) {
6747 } else if (Callee->getReturnType()->isReferenceType()) {
6769 if (FD->getReturnType()->isPointerType() ||
6770 isRecordWithAttr<PointerAttr>(FD->getReturnType())) {
6776 } else if (FD->getReturnType()->isReferenceType()) {
8097 CreatedObject = Conversion->getReturnType()->isRecordType();
9917 SubstAutoType(TSInfo->getType(), Best->Function->getReturnType());
tools/clang/lib/Sema/SemaLambda.cpp 502 LSI->ReturnType = CallOperator->getReturnType();
tools/clang/lib/Sema/SemaOverload.cpp 4833 ICS.UserDefined.ConversionFunction->getReturnType()
11273 if (S.getLangOpts().CPlusPlus14 && FD->getReturnType()->isUndeducedType() &&
12637 QualType ResultTy = FnDecl->getReturnType();
12646 if (CheckCallReturnType(FnDecl->getReturnType(), OpLoc, TheCall, FnDecl))
12872 !FnDecl->getReturnType()->isBooleanType()) {
12874 << FnDecl->getReturnType() << BinaryOperator::getOpcodeStr(Opc)
12955 QualType ResultTy = FnDecl->getReturnType();
12963 if (CheckCallReturnType(FnDecl->getReturnType(), OpLoc, TheCall,
13222 QualType ResultTy = FnDecl->getReturnType();
13230 if (CheckCallReturnType(FnDecl->getReturnType(), LLoc, TheCall, FnDecl))
13498 QualType ResultType = Method->getReturnType();
13509 if (CheckCallReturnType(Method->getReturnType(), MemExpr->getMemberLoc(),
13847 QualType ResultTy = Method->getReturnType();
13855 if (CheckCallReturnType(Method->getReturnType(), LParenLoc, TheCall, Method))
13967 QualType ResultTy = Method->getReturnType();
13973 if (CheckCallReturnType(Method->getReturnType(), OpLoc, TheCall, Method))
14043 QualType ResultTy = FD->getReturnType();
14051 if (CheckCallReturnType(FD->getReturnType(), UDSuffixLoc, UDL, FD))
tools/clang/lib/Sema/SemaStmt.cpp 2750 QualType ReturnType = FD->getReturnType();
3266 CurCap->ReturnType = FD->getReturnType();
3274 CurCap->ReturnType = FnRetType = FD->getReturnType();
3592 FnRetType = FD->getReturnType();
3642 FnRetType = FD->getReturnType();
tools/clang/lib/Sema/SemaTemplateDeduction.cpp 3453 if (S.getLangOpts().CPlusPlus14 && Fn->getReturnType()->isUndeducedType() &&
4074 Function->getReturnType()->getContainedAutoType()) {
4099 Specialization->getReturnType()->isUndeducedType() &&
4633 assert(FD->getReturnType()->isUndeducedType());
4650 if (CallOp->getReturnType()->isUndeducedType()) {
4659 assert(!CallOp->getReturnType()->isUndeducedType() &&
4665 if (FD->getReturnType()->getAs<PointerType>())
4668 assert(FD->getReturnType()->getAs<BlockPointerType>());
4681 bool StillUndeduced = FD->getReturnType()->isUndeducedType();
tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp 916 QualType ReturnType = cast<FunctionDecl>(DC)->getReturnType();
4297 !PatternDecl->getReturnType()->getContainedAutoType())
tools/clang/lib/Sema/TreeTransform.h 3244 Expr::getValueKindForType(Builtin->getReturnType()), RParenLoc);
tools/clang/lib/Serialization/ASTReader.cpp 9881 auto *DT = FD->getReturnType()->getContainedDeducedType();
9884 {FD->getCanonicalDecl(), FD->getReturnType()});
11824 if (ComputeQualTypeODRHash(FirstFunction->getReturnType()) !=
11825 ComputeQualTypeODRHash(SecondFunction->getReturnType())) {
11828 << FirstFunction->getReturnType();
11831 << SecondFunction->getReturnType();
tools/clang/lib/StaticAnalyzer/Checkers/NSErrorChecker.cpp 103 if (!D->getReturnType()->isVoidType())
tools/clang/lib/StaticAnalyzer/Checkers/NullabilityChecker.cpp 556 RequiredRetType = FD->getReturnType();
tools/clang/lib/StaticAnalyzer/Core/CallEvent.cpp 465 return FD->getReturnType();
tools/clang/lib/StaticAnalyzer/Core/IssueHash.cpp 44 Signature.append(Target->getReturnType().getAsString()).append(" ");
tools/clang/tools/extra/clang-doc/Serialize.cpp 421 if (const auto *T = getDeclForType(D->getReturnType())) {
429 I.ReturnType = TypeInfo(D->getReturnType().getAsString());
tools/clang/tools/extra/clang-tidy/cert/PostfixOperatorCheck.cpp 47 QualType ReturnType = FuncDecl->getReturnType();
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/OwningMemoryCheck.cpp 358 << Function->getReturnType() << BadReturnType->getSourceRange();
tools/clang/tools/extra/clang-tidy/google/NonConstReferences.cpp 120 isNonConstRef(Function->getReturnType()))
tools/clang/tools/extra/clang-tidy/modernize/LoopConvertCheck.cpp 789 BeginCall->getMethodDecl()->getReturnType().getCanonicalType();
tools/clang/tools/extra/clang-tidy/modernize/ReturnBracedInitListCheck.cpp 58 MatchedFunctionDecl->getReturnType().getCanonicalType();
tools/clang/tools/extra/clang-tidy/modernize/UseAutoCheck.cpp 491 ->getReturnType();
tools/clang/tools/extra/clang-tidy/modernize/UseNodiscardCheck.cpp 54 return Node.getReturnType()->isTemplateTypeParmType() ||
55 Node.getReturnType()->isInstantiationDependentType();
tools/clang/tools/extra/clang-tidy/modernize/UseTrailingReturnTypeCheck.cpp 275 if (!hasAnyNestedLocalQualifiers(F.getReturnType()))
tools/clang/tools/extra/clang-tidy/portability/SIMDIntrinsicsCheck.cpp 28 bool IsVector = Node.getReturnType()->isVectorType();
tools/clang/tools/extra/clang-tidy/readability/ConstReturnTypeCheck.cpp 30 if (!Def->getReturnType().isLocalConstQualified())
115 << Def->getReturnType();
tools/clang/tools/extra/clang-tidy/readability/IdentifierNamingCheck.cpp 826 Value->getReturnType().getTypePtr()->getAs<TypedefType>()) {
tools/clang/tools/extra/clangd/XRefs.cpp 649 FD->getReturnType().print(OS, Policy);
812 const AutoType *AT = D->getReturnType()->getContainedAutoType();
816 } else if (auto DT = dyn_cast<DecltypeType>(D->getReturnType())) {
823 } else if (!D->getReturnType().isNull()) {
824 DeducedType = D->getReturnType();
tools/lldb/source/Symbol/ClangASTContext.cpp 9931 return CompilerType(this, func_decl->getReturnType().getAsOpaquePtr());
tools/lldb/tools/lldb-instr/Instrument.cpp 208 QualType ReturnType = Decl->getReturnType();