Searched refs:nullability (Results 1 – 25 of 135) sorted by relevance
123456
/external/clang/test/SemaObjCXX/ |
D | nullability-consistency.mm | 1 // RUN: %clang_cc1 -fsyntax-only -fblocks -I %S/Inputs -isystem %S/Inputs/nullability-consistency-s… 2 // RUN: %clang_cc1 -fsyntax-only -fblocks -I %S/Inputs -isystem %S/Inputs/nullability-consistency-s… 4 #include "nullability-consistency-1.h" 5 #include "nullability-consistency-3.h" 6 #include "nullability-consistency-4.h" 7 #include "nullability-consistency-5.h" 8 #include "nullability-consistency-5.h" 9 #include "nullability-consistency-6.h" 10 #include "nullability-consistency-7.h" 11 #include "nullability-consistency-8.h" [all …]
|
/external/llvm-project/clang/test/SemaObjCXX/ |
D | nullability-consistency.mm | 1 // RUN: %clang_cc1 -fsyntax-only -fblocks -I %S/Inputs -isystem %S/Inputs/nullability-consistency-s… 2 // RUN: %clang_cc1 -fsyntax-only -fblocks -I %S/Inputs -isystem %S/Inputs/nullability-consistency-s… 4 #include "nullability-consistency-1.h" 5 #include "nullability-consistency-3.h" 6 #include "nullability-consistency-4.h" 7 #include "nullability-consistency-5.h" 8 #include "nullability-consistency-5.h" 9 #include "nullability-consistency-6.h" 10 #include "nullability-consistency-7.h" 11 #include "nullability-consistency-8.h" [all …]
|
D | nullability-consistency-arrays.mm | 1 // RUN: %clang_cc1 -fsyntax-only -fblocks -I %S/Inputs -Wno-nullability-inferred-on-nested-type %s … 2 …syntax-only -fblocks -I %S/Inputs -Wno-nullability-inferred-on-nested-type %s -D ARRAYS_CHECKED=0 … 3 …ang_cc1 -fsyntax-only -fblocks -I %S/Inputs -Wno-nullability-inferred-on-nested-type %s -Wno-nulla… 4 // RUN: %clang_cc1 -fsyntax-only -fblocks -I %S/Inputs -Wno-nullability-inferred-on-nested-type -x … 5 …nly -fblocks -I %S/Inputs -Wno-nullability-inferred-on-nested-type -x objective-c %s -D ARRAYS_CHE… 6 …-fsyntax-only -fblocks -I %S/Inputs -Wno-nullability-inferred-on-nested-type -x objective-c %s -Wn… 8 #include "nullability-consistency-arrays.h"
|
/external/llvm-project/clang/test/FixIt/ |
D | nullability.mm | 4 // RUN: FileCheck %S/Inputs/nullability.h < %t.txt 5 // RUN: FileCheck %S/Inputs/nullability-objc.h < %t.txt 7 #include "nullability.h" 8 #include "nullability-objc.h" 13 // CHECK: fix-it:"{{.*}}nullability.mm":{[[@LINE-1]]:14-[[@LINE-1]]:14}:" _Nonnull " 16 // CHECK: fix-it:"{{.*}}nullability.mm":{[[@LINE-1]]:13-[[@LINE-1]]:13}:" _Nonnull" 19 // CHECK: fix-it:"{{.*}}nullability.mm":{[[@LINE-1]]:14-[[@LINE-1]]:14}:" _Nonnull " 22 // CHECK-NOT: fix-it:"{{.*}}nullability.mm":{[[@LINE+2]] 23 // CHECK-NOT: fix-it:"{{.*}}nullability.mm":{[[@LINE+2]] 31 // CHECK: fix-it:"{{.*}}nullability.mm":{[[@LINE-1]]:17-[[@LINE-1]]:17}:" _Nonnull" [all …]
|
/external/llvm-project/clang/test/Analysis/ |
D | nullability-notes.m | 2 // RUN: -analyzer-checker=nullability.NullPassedToNonnull \ 3 // RUN: -analyzer-checker=nullability.NullReturnedFromNonnull \ 4 // RUN: -analyzer-checker=nullability.NullablePassedToNonnull \ 5 // RUN: -analyzer-checker=nullability.NullableReturnedFromNonnull \ 6 // RUN: -analyzer-checker=nullability.NullableDereferenced \ 10 // RUN: -analyzer-checker=nullability.NullPassedToNonnull \ 11 // RUN: -analyzer-checker=nullability.NullReturnedFromNonnull \ 12 // RUN: -analyzer-checker=nullability.NullablePassedToNonnull \ 13 // RUN: -analyzer-checker=nullability.NullableReturnedFromNonnull \ 14 // RUN: -analyzer-checker=nullability.NullableDereferenced \ [all …]
|
D | nullability.mm | 2 // RUN: -analyzer-checker=nullability.NullPassedToNonnull \ 3 // RUN: -analyzer-checker=nullability.NullReturnedFromNonnull \ 4 // RUN: -analyzer-checker=nullability.NullablePassedToNonnull \ 5 // RUN: -analyzer-checker=nullability.NullableReturnedFromNonnull \ 6 // RUN: -analyzer-checker=nullability.NullableDereferenced \ 10 // RUN: -analyzer-checker=nullability.NullPassedToNonnull \ 11 // RUN: -analyzer-checker=nullability.NullReturnedFromNonnull \ 12 // RUN: -analyzer-checker=nullability.NullablePassedToNonnull \ 13 // RUN: -analyzer-checker=nullability.NullableReturnedFromNonnull \ 14 // RUN: -analyzer-checker=nullability.NullableDereferenced \ [all …]
|
D | incorrect-checker-names.mm | 4 // RUN: -analyzer-checker=nullability \ 7 #include "Inputs/system-header-simulator-for-nullability.h" 52 …Dummy &r = *p; // expected-warning {{Nullable pointer is dereferenced [nullability.NullableDerefer… 55 …int b = p->val; // expected-warning {{Nullable pointer is dereferenced [nullability.NullableDerefe… 58 …int stuff = *ptr; // expected-warning {{Nullable pointer is dereferenced [nullability.NullableDere… 61 … pointer is passed to a callee that requires a non-null 1st parameter [nullability.NullablePassedT… 70 …ing {{Nullable pointer is passed to a callee that requires a non-null [nullability.NullableDerefer… 72 …= *p; } break; // expected-warning {{Nullable pointer is dereferenced [nullability.NullableDerefer… 86 …ning {{Null passed to a callee that requires a non-null 1st parameter [nullability.NullPassedToNon… 91 …{{Null assigned to a pointer which is expected to have non-null value [nullability.NullPassedToNon…
|
D | trustnonnullchecker_test.mm | 1 // RUN: %clang_analyze_cc1 -fblocks -analyze -analyzer-checker=core,nullability,apiModeling -verif… 3 #include "Inputs/system-header-simulator-for-nullability-cxx.h"
|
D | nullability_nullonly.mm | 1 …: %clang_analyze_cc1 -fobjc-arc -analyzer-checker=core,nullability.NullPassedToNonnull,nullability… 2 …-arc -analyzer-checker=core,nullability.NullPassedToNonnull,nullability.NullReturnedFromNonnull -a… 4 #include "Inputs/system-header-simulator-for-nullability.h"
|
/external/apache-http/api/ |
D | lint-baseline.txt | 11 Missing nullability on method `getCause` return 13 Missing nullability on parameter `key` in method `containsKey` 15 Missing nullability on parameter `b` in method `read` 17 Missing nullability on parameter `b` in method `read` 19 Missing nullability on parameter `b` in method `read` 21 Missing nullability on parameter `b` in method `read` 23 Missing nullability on parameter `b` in method `write` 25 Missing nullability on parameter `src` in method `write` 27 Missing nullability on parameter `b` in method `read` 29 Missing nullability on parameter `b` in method `read` [all …]
|
/external/conscrypt/api/platform/ |
D | lint-baseline.txt | 7 Missing nullability on parameter `bindpoint` in method `bind` 9 Missing nullability on method `getChannel` return 11 Missing nullability on method `getInetAddress` return 13 Missing nullability on method `getInputStream` return 15 Missing nullability on method `getLocalAddress` return 17 Missing nullability on method `getLocalSocketAddress` return 19 Missing nullability on method `getOutputStream` return 21 Missing nullability on method `getRemoteSocketAddress` return
|
/external/llvm-project/clang-tools-extra/docs/clang-tidy/checks/ |
D | clang-analyzer-nullability.NullReturnedFromNonnull.rst | 1 .. title:: clang-tidy - clang-analyzer-nullability.NullReturnedFromNonnull 3 …:http-equiv=refresh: 5;URL=https://clang.llvm.org/docs/analyzer/checkers.html#nullability-nullretu… 5 clang-analyzer-nullability.NullReturnedFromNonnull 8 The clang-analyzer-nullability.NullReturnedFromNonnull check is an alias, please see 9 …Available Checkers <https://clang.llvm.org/docs/analyzer/checkers.html#nullability-nullreturnedfro…
|
D | clang-analyzer-nullability.NullPassedToNonnull.rst | 1 .. title:: clang-tidy - clang-analyzer-nullability.NullPassedToNonnull 3 …:http-equiv=refresh: 5;URL=https://clang.llvm.org/docs/analyzer/checkers.html#nullability-nullpass… 5 clang-analyzer-nullability.NullPassedToNonnull 8 The clang-analyzer-nullability.NullPassedToNonnull check is an alias, please see 9 …Available Checkers <https://clang.llvm.org/docs/analyzer/checkers.html#nullability-nullpassedtonon…
|
D | clang-analyzer-nullability.NullablePassedToNonnull.rst | 1 .. title:: clang-tidy - clang-analyzer-nullability.NullablePassedToNonnull 3 …:http-equiv=refresh: 5;URL=https://clang.llvm.org/docs/analyzer/checkers.html#nullability-nullable… 5 clang-analyzer-nullability.NullablePassedToNonnull 8 The clang-analyzer-nullability.NullablePassedToNonnull check is an alias, please see 9 …Available Checkers <https://clang.llvm.org/docs/analyzer/checkers.html#nullability-nullablepassedt…
|
D | clang-analyzer-nullability.NullableDereferenced.rst | 1 .. title:: clang-tidy - clang-analyzer-nullability.NullableDereferenced 3 …:http-equiv=refresh: 5;URL=https://clang.llvm.org/docs/analyzer/checkers.html#nullability-nullable… 5 clang-analyzer-nullability.NullableDereferenced 8 The clang-analyzer-nullability.NullableDereferenced check is an alias, please see 9 …Available Checkers <https://clang.llvm.org/docs/analyzer/checkers.html#nullability-nullablederefer…
|
D | clang-analyzer-nullability.NullableReturnedFromNonnull.rst | 1 .. title:: clang-tidy - clang-analyzer-nullability.NullableReturnedFromNonnull 3 clang-analyzer-nullability.NullableReturnedFromNonnull
|
/external/clang/test/SemaObjC/ |
D | nullability.m | 1 // RUN: %clang_cc1 -fsyntax-only -fblocks -Woverriding-method-mismatch -Wno-nullability-declspec %s… 17 // Conflicts from nullability moving into Objective-C pointer type. 32 // Context-sensitive keywords and property attributes for nullability. 37 - (nonnull NSFoo **)invalidMethod1; // expected-error{{nullability keyword 'nonnull' cannot be appl… 38 // expected-note@-1{{use nullability type specifier '_Nonnull' to affect the innermost pointer type… 39 - (nonnull NSFoo * _Nullable)conflictingMethod1; // expected-error{{nullability specifier '_Nullabl… 40 - (nonnull NSFoo * _Nonnull)redundantMethod1; // expected-warning{{duplicate nullability specifier … 43 @property(nullable,assign) NSFoo ** invalidProperty1; // expected-error{{nullability keyword 'nulla… 44 // expected-note@-1{{use nullability type specifier '_Nullable' to affect the innermost pointer typ… 45 …ied,retain) NSFoo * _Nullable conflictingProperty1; // expected-error{{nullability specifier '_Nul… [all …]
|
/external/llvm-project/clang/test/SemaObjC/ |
D | nullability.m | 1 // RUN: %clang_cc1 -fsyntax-only -fblocks -Woverriding-method-mismatch -Wno-nullability-declspec -W… 17 // Conflicts from nullability moving into Objective-C pointer type. 32 // Context-sensitive keywords and property attributes for nullability. 37 - (nonnull NSFoo **)invalidMethod1; // expected-error{{nullability keyword 'nonnull' cannot be appl… 38 // expected-note@-1{{use nullability type specifier '_Nonnull' to affect the innermost pointer type… 39 - (nonnull NSFoo * _Nullable)conflictingMethod1; // expected-error{{nullability specifier 'nonnull'… 40 - (nonnull NSFoo * _Nonnull)redundantMethod1; // expected-warning{{duplicate nullability specifier … 43 @property(nullable,assign) NSFoo ** invalidProperty1; // expected-error{{nullability keyword 'nulla… 44 // expected-note@-1{{use nullability type specifier '_Nullable' to affect the innermost pointer typ… 45 …ied,retain) NSFoo * _Nullable conflictingProperty1; // expected-error{{nullability specifier 'null… [all …]
|
D | nullable-result.m | 28 …id _Nullable_result _Nullable_result a; // expected-warning {{duplicate nullability specifier _Nul… 29 …id _Nullable _Nullable_result b; // expected-error{{nullability specifier _Nullable_result conflic… 30 …id _Nullable_result _Nonnull c; // expected-error{{nullability specifier '_Nonnull' conflicts with…
|
/external/clang/docs/analyzer/ |
D | nullability.rst | 48 …t warn about any nullability issues in that branch? Probably not, it is ok to break the nullabilit… 57 …- If the pointer is not assumed to be nil, we should be optimistic and use the nullability implied… 73 …nullability information from the arguments after inlining is not robust enough (for example there … 78 …nullability qualifiers would be needed to be tracked for each symbol. This is not a big caveat, si… 91 - Unannotated pointers are treated the same way as pointers annotated with nullability unspecified … 92 … a callback for entry points to top level functions, where the pointer nullability assumptions wou…
|
/external/llvm-project/clang/docs/analyzer/developer-docs/ |
D | nullability.rst | 52 …t warn about any nullability issues in that branch? Probably not, it is ok to break the nullabilit… 66 …* If the pointer is not assumed to be nil, we should be optimistic and use the nullability implied… 85 …nullability information from the arguments after inlining is not robust enough (for example there … 90 …nullability qualifiers would be needed to be tracked for each symbol. This is not a big caveat, si… 106 * Unannotated pointers are treated the same way as pointers annotated with nullability unspecified … 107 … a callback for entry points to top level functions, where the pointer nullability assumptions wou…
|
/external/clang/test/Analysis/ |
D | nullability_nullonly.mm | 1 … %clang_cc1 -analyze -fobjc-arc -analyzer-checker=core,nullability.NullPassedToNonnull,nullability… 2 …-arc -analyzer-checker=core,nullability.NullPassedToNonnull,nullability.NullReturnedFromNonnull -a… 4 #include "Inputs/system-header-simulator-for-nullability.h"
|
/external/clang/test/Parser/ |
D | nullability.c | 10 #if !__has_feature(nullability) 14 #if !__has_extension(nullability)
|
/external/clang/test/Sema/ |
D | non-null-warning.c | 4 #if __has_feature(nullability) 6 # error nullability feature should be defined
|
/external/llvm-project/clang/test/Sema/ |
D | non-null-warning.c | 4 #if __has_feature(nullability) 6 # error nullability feature should be defined
|
123456