Home
last modified time | relevance | path

Searched refs:getNullability (Results 1 – 25 of 32) sorted by relevance

12

/external/llvm-project/clang/include/clang/APINotes/
DTypes.h314 llvm::Optional<NullabilityKind> getNullability() const { in getNullability() function
334 setNullabilityAudited(*RHS.getNullability());
381 if (!getNullability())
/external/clang/lib/Sema/
DSema.cpp354 Optional<NullabilityKind> ExprNullability = SrcType->getNullability(Context); in diagnoseNullableToNonnullConversion()
358 Optional<NullabilityKind> TypeNullability = DstType->getNullability(Context); in diagnoseNullableToNonnullConversion()
DSemaDeclObjC.cpp2253 *MethodImpl->getReturnType()->getNullability(S.Context); in CheckMethodOverrideReturn()
2255 *MethodDecl->getReturnType()->getNullability(S.Context); in CheckMethodOverrideReturn()
2345 *ImplTy->getNullability(S.Context), in CheckMethodOverrideParam()
2349 *IfaceTy->getNullability(S.Context), in CheckMethodOverrideParam()
4204 auto nullability = type->getNullability(S.Context); in mergeTypeNullabilityForRedecl()
4205 auto prevNullability = prevType->getNullability(S.Context); in mergeTypeNullabilityForRedecl()
DSemaExprObjC.cpp1291 ->getNullability(Context)){ in getBaseMessageSendResultType()
1356 if (auto nullability = ReceiverType->getNullability(Context)) in getMessageSendResultType()
1360 if (auto nullability = resultType->getNullability(Context)) in getMessageSendResultType()
1390 } while (resultType->getNullability(Context)); in getMessageSendResultType()
DSemaType.cpp3603 if (T->canHaveNullability() && !T->getNullability(S.Context)) { in GetFullTypeForDeclarator()
3790 !T->getNullability(S.Context)) { in GetFullTypeForDeclarator()
5860 if (auto existingNullability = desugared->getNullability(Context)) { in checkNullabilityTypeSpecifier()
5941 if (auto nullability = type->getNullability(Context)) { in checkObjCKindOfType()
DSemaObjCProperty.cpp2471 if (auto nullability = PropertyTy->getNullability(Context)) { in CheckObjCPropertyAttributes()
/external/llvm-project/clang/lib/Sema/
DSemaExprObjC.cpp595 BoxingMethod->getReturnType()->getNullability(Context); in BuildObjCBoxedExpr()
1470 ->getNullability(Context)){ in getBaseMessageSendResultType()
1549 if (auto Nullability = resultType->getNullability(Context)) in getMessageSendResultType()
1567 ReceiverType->getNullability(Context)) { in getMessageSendResultType()
1575 resultType->getNullability(Context)) { in getMessageSendResultType()
1608 } while (resultType->getNullability(Context)); in getMessageSendResultType()
DSemaDeclObjC.cpp2346 *MethodImpl->getReturnType()->getNullability(S.Context); in CheckMethodOverrideReturn()
2348 *MethodDecl->getReturnType()->getNullability(S.Context); in CheckMethodOverrideReturn()
2438 *ImplTy->getNullability(S.Context), in CheckMethodOverrideParam()
2442 *IfaceTy->getNullability(S.Context), in CheckMethodOverrideParam()
4526 auto nullability = type->getNullability(S.Context); in mergeTypeNullabilityForRedecl()
4527 auto prevNullability = prevType->getNullability(S.Context); in mergeTypeNullabilityForRedecl()
DSemaLambda.cpp771 auto RetTyNullability = ReturnType->getNullability(Ctx); in deduceClosureReturnType()
772 auto BlockNullability = CSI.ReturnType->getNullability(Ctx); in deduceClosureReturnType()
DSema.cpp505 Optional<NullabilityKind> ExprNullability = SrcType->getNullability(Context); in diagnoseNullableToNonnullConversion()
510 Optional<NullabilityKind> TypeNullability = DstType->getNullability(Context); in diagnoseNullableToNonnullConversion()
DSemaType.cpp4490 !T->getNullability(S.Context)) { in GetFullTypeForDeclarator()
4705 !T->getNullability(S.Context)) { in GetFullTypeForDeclarator()
4729 T->isArrayType() && !T->getNullability(S.Context) && !isVaList(T) && in GetFullTypeForDeclarator()
7085 if (auto existingNullability = desugared->getNullability(S.Context)) { in checkNullabilityTypeSpecifier()
7184 if (auto nullability = type->getNullability(S.Context)) { in checkObjCKindOfType()
DSemaObjCProperty.cpp2769 if (auto nullability = PropertyTy->getNullability(Context)) { in CheckObjCPropertyAttributes()
/external/llvm-project/clang/lib/Parse/
DParseObjc.cpp745 addContextSensitiveTypeNullability(*this, FD.D, OCDS.getNullability(), in ParseObjCInterfaceDeclList()
804 if (DS.getNullability() == nullability) { in diagnoseRedundantPropertyNullability()
813 << DiagNullabilityKind(DS.getNullability(), true) in diagnoseRedundantPropertyNullability()
1274 DS.getNullability(), in ParseObjCTypeName()
/external/clang/lib/Parse/
DParseObjc.cpp760 addContextSensitiveTypeNullability(*this, FD.D, OCDS.getNullability(), in ParseObjCInterfaceDeclList()
819 if (DS.getNullability() == nullability) { in diagnoseRedundantPropertyNullability()
828 << DiagNullabilityKind(DS.getNullability(), true) in diagnoseRedundantPropertyNullability()
1289 DS.getNullability(), in ParseObjCTypeName()
/external/clang/include/clang/AST/
DASTContext.h2014 auto SubTnullability = SubT->getNullability(*this); in hasSameNullabilityTypeQualifier()
2015 auto SuperTnullability = SuperT->getNullability(*this); in hasSameNullabilityTypeQualifier()
DType.h1969 Optional<NullabilityKind> getNullability(const ASTContext &context) const;
/external/llvm-project/clang/include/clang/AST/
DASTContext.h2385 auto SubTnullability = SubT->getNullability(*this); in hasSameNullabilityTypeQualifier()
2386 auto SuperTnullability = SuperT->getNullability(*this); in hasSameNullabilityTypeQualifier()
DType.h2410 Optional<NullabilityKind> getNullability(const ASTContext &context) const;
/external/llvm-project/clang/lib/CodeGen/
DCGDecl.cpp740 auto Nullability = LHS.getType()->getNullability(getContext()); in EmitNullabilityCheck()
2581 auto Nullability = Ty->getNullability(getContext()); in EmitParmDecl()
DCodeGenFunction.cpp907 auto Nullability = FnRetTy->getNullability(getContext()); in StartFunction()
/external/llvm-project/clang/tools/libclang/
DCXType.cpp1312 if (auto nullability = T->getNullability(Ctx)) { in clang_Type_getNullability()
/external/clang/include/clang/Sema/
DDeclSpec.h836 NullabilityKind getNullability() const { in getNullability() function
/external/llvm-project/clang/include/clang/Sema/
DDeclSpec.h864 NullabilityKind getNullability() const { in getNullability() function
/external/clang/lib/AST/
DType.cpp3480 Optional<NullabilityKind> Type::getNullability(const ASTContext &context) const { in getNullability() function in Type
/external/llvm-project/clang/lib/AST/
DType.cpp4016 Type::getNullability(const ASTContext &Context) const { in getNullability() function in Type

12