Searched refs:NullabilityKind (Results 1 – 18 of 18) sorted by relevance
/external/clang/include/clang/Basic/ |
D | Specifiers.h | 278 enum class NullabilityKind : uint8_t { enum 291 llvm::StringRef getNullabilitySpelling(NullabilityKind kind,
|
D | Diagnostic.h | 1119 typedef std::pair<NullabilityKind, bool> DiagNullabilityKind;
|
/external/clang/lib/Basic/ |
D | IdentifierTable.cpp | 651 StringRef clang::getNullabilitySpelling(NullabilityKind kind, in getNullabilitySpelling() 654 case NullabilityKind::NonNull: in getNullabilitySpelling() 657 case NullabilityKind::Nullable: in getNullabilitySpelling() 660 case NullabilityKind::Unspecified: in getNullabilitySpelling()
|
D | Diagnostic.cpp | 31 case NullabilityKind::NonNull: in operator <<() 35 case NullabilityKind::Nullable: in operator <<() 39 case NullabilityKind::Unspecified: in operator <<()
|
/external/clang/lib/Parse/ |
D | ParseObjc.cpp | 395 NullabilityKind nullability, in addContextSensitiveTypeNullability() 817 NullabilityKind nullability, in diagnoseRedundantPropertyNullability() 943 NullabilityKind::NonNull, in ParseObjCPropertyAttribute() 946 DS.setNullability(Tok.getLocation(), NullabilityKind::NonNull); in ParseObjCPropertyAttribute() 950 NullabilityKind::Nullable, in ParseObjCPropertyAttribute() 953 DS.setNullability(Tok.getLocation(), NullabilityKind::Nullable); in ParseObjCPropertyAttribute() 957 NullabilityKind::Unspecified, in ParseObjCPropertyAttribute() 960 DS.setNullability(Tok.getLocation(), NullabilityKind::Unspecified); in ParseObjCPropertyAttribute() 964 NullabilityKind::Unspecified, in ParseObjCPropertyAttribute() 967 DS.setNullability(Tok.getLocation(), NullabilityKind::Unspecified); in ParseObjCPropertyAttribute() [all …]
|
/external/clang/include/clang/AST/ |
D | ASTContext.h | 2022 *SubTnullability == NullabilityKind::Unspecified || in hasSameNullabilityTypeQualifier() 2023 *SuperTnullability == NullabilityKind::Unspecified) in hasSameNullabilityTypeQualifier() 2029 return (*SuperTnullability == NullabilityKind::NonNull && in hasSameNullabilityTypeQualifier() 2030 *SubTnullability == NullabilityKind::Nullable); in hasSameNullabilityTypeQualifier() 2035 return (*SuperTnullability == NullabilityKind::Nullable && in hasSameNullabilityTypeQualifier() 2036 *SubTnullability == NullabilityKind::NonNull); in hasSameNullabilityTypeQualifier()
|
D | Type.h | 1969 Optional<NullabilityKind> getNullability(const ASTContext &context) const; 3861 llvm::Optional<NullabilityKind> getImmediateNullability() const; 3865 static Kind getNullabilityAttrKind(NullabilityKind kind) { 3867 case NullabilityKind::NonNull: 3870 case NullabilityKind::Nullable: 3873 case NullabilityKind::Unspecified: 3888 static Optional<NullabilityKind> stripOuterNullability(QualType &T);
|
/external/clang/lib/Sema/ |
D | Sema.cpp | 354 Optional<NullabilityKind> ExprNullability = SrcType->getNullability(Context); in diagnoseNullableToNonnullConversion() 355 if (!ExprNullability || *ExprNullability != NullabilityKind::Nullable) in diagnoseNullableToNonnullConversion() 358 Optional<NullabilityKind> TypeNullability = DstType->getNullability(Context); in diagnoseNullableToNonnullConversion() 359 if (!TypeNullability || *TypeNullability != NullabilityKind::NonNull) in diagnoseNullableToNonnullConversion()
|
D | SemaType.cpp | 3218 IdentifierInfo *Sema::getNullabilityKeyword(NullabilityKind nullability) { in getNullabilityKeyword() 3220 case NullabilityKind::NonNull: in getNullabilityKeyword() 3225 case NullabilityKind::Nullable: in getNullabilityKeyword() 3230 case NullabilityKind::Unspecified: in getNullabilityKeyword() 3557 Optional<NullabilityKind> inferNullability; in GetFullTypeForDeclarator() 3647 inferNullability = NullabilityKind::Nullable; in GetFullTypeForDeclarator() 3667 inferNullability = NullabilityKind::NonNull; in GetFullTypeForDeclarator() 3678 inferNullability = NullabilityKind::Nullable; in GetFullTypeForDeclarator() 3699 inferNullability = NullabilityKind::Nullable; in GetFullTypeForDeclarator() 5812 NullabilityKind nullability, in checkNullabilityTypeSpecifier() [all …]
|
D | SemaObjCProperty.cpp | 2218 if (*nullability == NullabilityKind::Unspecified) in ProcessPropertyDecl() 2292 if (*nullability == NullabilityKind::Unspecified) in ProcessPropertyDecl() 2472 if (*nullability == NullabilityKind::NonNull) in CheckObjCPropertyAttributes()
|
D | SemaCodeComplete.cpp | 2148 case NullabilityKind::NonNull: in formatObjCParamQualifiers() 2152 case NullabilityKind::Nullable: in formatObjCParamQualifiers() 2156 case NullabilityKind::Unspecified: in formatObjCParamQualifiers()
|
D | SemaExprObjC.cpp | 1395 = static_cast<NullabilityKind>(newResultNullabilityIdx-1); in getMessageSendResultType()
|
D | SemaChecking.cpp | 1901 if (*nullability == NullabilityKind::NonNull) in CheckNonNullExpr() 1984 return *nullability == NullabilityKind::NonNull; in isNonNullType()
|
/external/clang/lib/AST/ |
D | Type.cpp | 3480 Optional<NullabilityKind> Type::getNullability(const ASTContext &context) const { in getNullability() 3609 llvm::Optional<NullabilityKind> AttributedType::getImmediateNullability() const { in getImmediateNullability() 3611 return NullabilityKind::NonNull; in getImmediateNullability() 3613 return NullabilityKind::Nullable; in getImmediateNullability() 3615 return NullabilityKind::Unspecified; in getImmediateNullability() 3619 Optional<NullabilityKind> AttributedType::stripOuterNullability(QualType &T) { in stripOuterNullability()
|
D | DeclPrinter.cpp | 1307 if (*nullability == NullabilityKind::Unspecified && in VisitObjCPropertyDecl()
|
/external/clang/include/clang/Sema/ |
D | DeclSpec.h | 836 NullabilityKind getNullability() const { in getNullability() 840 return static_cast<NullabilityKind>(Nullability); in getNullability() 850 void setNullability(SourceLocation loc, NullabilityKind kind) { in setNullability()
|
D | Sema.h | 3059 bool checkNullabilityTypeSpecifier(QualType &type, NullabilityKind nullability, 9545 IdentifierInfo *getNullabilityKeyword(NullabilityKind nullability);
|
/external/clang/include/clang/Parse/ |
D | Parser.h | 318 IdentifierInfo *getNullabilityKeyword(NullabilityKind nullability) { in getNullabilityKeyword()
|