]> granicus.if.org Git - clang/commitdiff
[analyzer] Fix an outdated comment in a test. NFC.
authorArtem Dergachev <artem.dergachev@gmail.com>
Wed, 27 Sep 2017 10:59:06 +0000 (10:59 +0000)
committerArtem Dergachev <artem.dergachev@gmail.com>
Wed, 27 Sep 2017 10:59:06 +0000 (10:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@314298 91177308-0d34-0410-b5e6-96231b3b80d8

test/Analysis/null-deref-path-notes.c

index 8f9109bfdcb69e82af077dfb5e6a1633720e6ec8..a1477a6226a7f5c5667236a0c7cbed774646f7ac 100644 (file)
@@ -1,8 +1,7 @@
 // RUN: %clang_analyze_cc1 -w -x c -analyzer-checker=core -analyzer-output=text -verify %s
 
 // Avoid the crash when finding the expression for tracking the origins
-// of the null pointer for path notes. Apparently, not much actual tracking
-// needs to be done in this example.
+// of the null pointer for path notes.
 void pr34373() {
   int *a = 0; // expected-note{{'a' initialized to a null pointer value}}
   (a + 0)[0]; // expected-warning{{Array access results in a null pointer dereference}}