diff options
author | Gabor Horvath <xazax.hun@gmail.com> | 2015-02-09 22:52:26 +0000 |
---|---|---|
committer | Gabor Horvath <xazax.hun@gmail.com> | 2015-02-09 22:52:26 +0000 |
commit | c18a11397c3c9ca9a35a2b9fd8cdd93829c6e0f2 (patch) | |
tree | 9eb0b3ad1262a7ead830561d411dea27305cb5cc /clang/test/Analysis/null-deref-path-notes.m | |
parent | b407bb2789e0c1daea1b7d7e896e6a600e408cf0 (diff) | |
download | bcm5719-llvm-c18a11397c3c9ca9a35a2b9fd8cdd93829c6e0f2.tar.gz bcm5719-llvm-c18a11397c3c9ca9a35a2b9fd8cdd93829c6e0f2.zip |
[Static Analyzer] The name of the checker that reports a bug is added
to the plist output. This check_name field does not guaranteed to be the
same as the name of the checker in the future.
Reviewer: Anna Zaks
Differential Revision: http://reviews.llvm.org/D6841
llvm-svn: 228624
Diffstat (limited to 'clang/test/Analysis/null-deref-path-notes.m')
-rw-r--r-- | clang/test/Analysis/null-deref-path-notes.m | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/test/Analysis/null-deref-path-notes.m b/clang/test/Analysis/null-deref-path-notes.m index 60576948361..da49eaaf92f 100644 --- a/clang/test/Analysis/null-deref-path-notes.m +++ b/clang/test/Analysis/null-deref-path-notes.m @@ -283,6 +283,7 @@ void repeatedStores(int coin) { // CHECK-NEXT: <key>description</key><string>Dereference of null pointer (loaded from variable 'x')</string> // CHECK-NEXT: <key>category</key><string>Logic error</string> // CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string> +// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string> // CHECK-NEXT: <key>issue_context_kind</key><string>function</string> // CHECK-NEXT: <key>issue_context</key><string>testNull</string> // CHECK-NEXT: <key>issue_hash</key><string>6</string> @@ -508,6 +509,7 @@ void repeatedStores(int coin) { // CHECK-NEXT: <key>description</key><string>Access to instance variable 'uniqueID' results in a dereference of a null pointer (loaded from variable 'self')</string> // CHECK-NEXT: <key>category</key><string>Logic error</string> // CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string> +// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string> // CHECK-NEXT: <key>issue_context_kind</key><string>Objective-C method</string> // CHECK-NEXT: <key>issue_context</key><string>initWithID:</string> // CHECK-NEXT: <key>issue_hash</key><string>6</string> @@ -782,6 +784,7 @@ void repeatedStores(int coin) { // CHECK-NEXT: <key>description</key><string>Dereference of null pointer (loaded from variable 'p')</string> // CHECK-NEXT: <key>category</key><string>Logic error</string> // CHECK-NEXT: <key>type</key><string>Dereference of null pointer</string> +// CHECK-NEXT: <key>check_name</key><string>core.NullDereference</string> // CHECK-NEXT: <key>issue_context_kind</key><string>function</string> // CHECK-NEXT: <key>issue_context</key><string>repeatedStores</string> // CHECK-NEXT: <key>issue_hash</key><string>11</string> |