| /freebsd/contrib/llvm-project/compiler-rt/lib/ubsan/ |
| H A D | ubsan_checks.inc | 22 "nullability-assign") 67 "nullability-return") 70 "nullability-arg")
|
| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | Sanitizers.def | 103 SANITIZER("nullability-arg", NullabilityArg) 104 SANITIZER("nullability-assign", NullabilityAssign) 105 SANITIZER("nullability-return", NullabilityReturn) 106 SANITIZER_GROUP("nullability", Nullability,
|
| H A D | DiagnosticCommonKinds.td | 152 "duplicate nullability specifier %0">, 156 "conflicting nullability specifier on return types, %0 " 161 "conflicting nullability specifier on parameter types, %0 " 166 "nullability specifier %0 conflicts with existing specifier %1">;
|
| H A D | DiagnosticGroups.td | 634 def Nullability : DiagGroup<"nullability">; 635 def NullabilityDeclSpec : DiagGroup<"nullability-declspec">; 636 def NullabilityInferredOnNestedType : DiagGroup<"nullability-inferred-on-nested-type">; 638 def NullabilityCompletenessOnArrays : DiagGroup<"nullability-completeness-on-arrays">; 639 def NullabilityCompleteness : DiagGroup<"nullability-completeness",
|
| H A D | Features.def | 138 FEATURE(nullability, true)
|
| H A D | Diagnostic.h | 1520 DiagNullabilityKind nullability);
|
| H A D | DiagnosticASTKinds.td | 986 "unsafe_unretained|nullability|null_resettable|class|direct}5' attribute" 996 "unsafe_unretained|nullability|null_resettable|class|direct}4' attribute"
|
| H A D | AttrDocs.td | 4888 with pointers in the C family of languages. The various nullability attributes 4891 pointers. Clang supports several kinds of nullability attributes: the 4893 method parameters and result types can never be null, while nullability type 4897 The nullability (type) qualifiers express whether a value of a given pointer 4900 unclear (the ``_Null_unspecified`` qualifier). Because nullability qualifiers 4920 In Objective-C, there is an alternate spelling for the nullability qualifiers 4932 As well as built-in pointer types, the nullability attributes can be attached 4939 Types should be marked nullable only where the type itself leaves nullability 4942 not a useful type. ``std::weak_ptr`` is not nullable, because its nullability 4951 The ``_Nonnull`` nullability qualifier indicates that null is not a meaningful [all …]
|
| H A D | TokenKinds.def | 731 // Type nullability.
|
| /freebsd/tools/build/cross-build/include/common/sys/ |
| H A D | cdefs.h | 207 #if !(defined(__clang__) && __has_feature(nullability))
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | DeclPrinter.cpp | 1381 if (auto nullability = AttributedType::stripOuterNullability(T)) in PrintObjCMethodType() local 1382 Out << getNullabilitySpelling(*nullability, true) << ' '; in PrintObjCMethodType() 1710 if (auto nullability = AttributedType::stripOuterNullability(T)) { in VisitObjCPropertyDecl() local 1711 if (*nullability == NullabilityKind::Unspecified && in VisitObjCPropertyDecl() 1717 << getNullabilitySpelling(*nullability, true); in VisitObjCPropertyDecl()
|
| H A D | ASTDiagnostic.cpp | 89 if (auto nullability = AttributedType::stripOuterNullability(SugarRT)) { in desugarForDiagnostic() local 90 RT = Context.getAttributedType(*nullability, RT, RT); in desugarForDiagnostic() 99 if (auto nullability = in desugarForDiagnostic() local 101 PT = Context.getAttributedType(*nullability, PT, PT); in desugarForDiagnostic()
|
| H A D | Type.cpp | 5105 if (auto nullability = attributed->getImmediateNullability()) { in stripOuterNullability() local 5107 return nullability; in stripOuterNullability()
|
| /freebsd/contrib/llvm-project/clang/include/clang/APINotes/ |
| H A D | Types.h | 614 auto nullability = NullabilityPayload >> (index * NullabilityKindSize); in getTypeInfo() local 615 return static_cast<NullabilityKind>(nullability & NullabilityKindMask); in getTypeInfo()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaExprObjC.cpp | 1439 if (auto nullability = AttributedType::stripOuterNullability(T)) { in stripObjCInstanceType() local 1441 return Context.getAttributedType(*nullability, Context.getObjCIdType(), in stripObjCInstanceType() 1474 if (auto nullability = in getBaseMessageSendResultType() local 1480 return Context.getAttributedType(*nullability, type, type); in getBaseMessageSendResultType() 1566 if (std::optional<NullabilityKind> nullability = in getMessageSendResultType() local 1568 if (*nullability == NullabilityKind::NullableResult) in getMessageSendResultType() 1569 nullability = NullabilityKind::Nullable; in getMessageSendResultType() 1570 receiverNullabilityIdx = 1 + static_cast<unsigned>(*nullability); in getMessageSendResultType() 1574 if (std::optional<NullabilityKind> nullability = in getMessageSendResultType() local 1576 if (*nullability == NullabilityKind::NullableResult) in getMessageSendResultType() [all …]
|
| H A D | SemaAPINotes.cpp | 76 static void applyNullability(Sema &S, Decl *decl, NullabilityKind nullability, in applyNullability() argument 82 switch (nullability) { in applyNullability() 106 S.ApplyNullability(decl, nullability); in applyNullability()
|
| H A D | SemaObjCProperty.cpp | 2470 if (auto nullability = AttributedType::stripOuterNullability(modifiedTy)) { in ProcessPropertyDecl() local 2471 if (*nullability == NullabilityKind::Unspecified) in ProcessPropertyDecl() 2548 if (auto nullability = AttributedType::stripOuterNullability(modifiedTy)){ in ProcessPropertyDecl() local 2549 if (*nullability == NullabilityKind::Unspecified) in ProcessPropertyDecl() 2748 if (auto nullability = PropertyTy->getNullability()) { in CheckObjCPropertyAttributes() local 2749 if (*nullability == NullabilityKind::NonNull) in CheckObjCPropertyAttributes()
|
| H A D | SemaDeclObjC.cpp | 4557 auto nullability = type->getNullability(); in mergeTypeNullabilityForRedecl() local 4561 if (nullability.has_value() == prevNullability.has_value()) { in mergeTypeNullabilityForRedecl() 4563 if (!nullability) in mergeTypeNullabilityForRedecl() 4567 if (*nullability == *prevNullability) in mergeTypeNullabilityForRedecl() 4572 << DiagNullabilityKind(*nullability, usesCSKeyword) in mergeTypeNullabilityForRedecl() 4578 if (nullability) in mergeTypeNullabilityForRedecl()
|
| H A D | SemaType.cpp | 3795 IdentifierInfo *Sema::getNullabilityKeyword(NullabilityKind nullability) { in getNullabilityKeyword() argument 3796 switch (nullability) { in getNullabilityKeyword() 7400 if (auto nullability = type->getNullability()) { in checkObjCKindOfType() local 7405 Attr *A = createNullabilityAttr(S.Context, attr, *nullability); in checkObjCKindOfType()
|
| /freebsd/contrib/llvm-project/clang/lib/Basic/ |
| H A D | Diagnostic.cpp | 51 DiagNullabilityKind nullability) { in operator <<() argument 54 getNullabilitySpelling(nullability.first, in operator <<() 55 /*isContextSensitive=*/nullability.second) + in operator <<()
|
| /freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Checkers/ |
| H A D | Checkers.td | 50 def Nullability : Package<"nullability">, 54 "Suppresses warnings for violating nullability annotations " 56 "concerned with your custom nullability annotations more " 57 "than with following nullability specifications of system " 149 "nullability of the implicit this parameter after a method call, " 360 } // end "nullability"
|
| /freebsd/sys/sys/ |
| H A D | cdefs.h | 504 #if !(defined(__clang__) && __has_feature(nullability))
|
| /freebsd/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseObjc.cpp | 367 NullabilityKind nullability, in addContextSensitiveTypeNullability() argument 372 return Pool.create(P.getNullabilityKeyword(nullability), in addContextSensitiveTypeNullability() 774 NullabilityKind nullability, in diagnoseRedundantPropertyNullability() argument 776 if (DS.getNullability() == nullability) { in diagnoseRedundantPropertyNullability() 778 << DiagNullabilityKind(nullability, true) in diagnoseRedundantPropertyNullability() 784 << DiagNullabilityKind(nullability, true) in diagnoseRedundantPropertyNullability()
|
| /freebsd/share/mk/ |
| H A D | bsd.sys.mk | 99 CXXWARNFLAGS.clang+= -Wno-nullability-completeness
|
| /freebsd/contrib/llvm-project/clang/include/clang/Parse/ |
| H A D | Parser.h | 5330 IdentifierInfo *getNullabilityKeyword(NullabilityKind nullability) { in getNullabilityKeyword() argument 5331 return Actions.getNullabilityKeyword(nullability); in getNullabilityKeyword()
|