diff options
author | Artem Dergachev <artem.dergachev@gmail.com> | 2017-09-27 10:59:06 +0000 |
---|---|---|
committer | Artem Dergachev <artem.dergachev@gmail.com> | 2017-09-27 10:59:06 +0000 |
commit | d85a994ca6145fb87d7989d88013229101328087 (patch) | |
tree | cd765c6d4db524d3dad66de5fa062a3ff1da5ea1 | |
parent | ed1ffa49a4eceb35b7463839931f03743c6194d9 (diff) | |
download | bcm5719-llvm-d85a994ca6145fb87d7989d88013229101328087.tar.gz bcm5719-llvm-d85a994ca6145fb87d7989d88013229101328087.zip |
[analyzer] Fix an outdated comment in a test. NFC.
llvm-svn: 314298
-rw-r--r-- | clang/test/Analysis/null-deref-path-notes.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/test/Analysis/null-deref-path-notes.c b/clang/test/Analysis/null-deref-path-notes.c index 8f9109bfdcb..a1477a6226a 100644 --- a/clang/test/Analysis/null-deref-path-notes.c +++ b/clang/test/Analysis/null-deref-path-notes.c @@ -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}} |