diff options
author | Richard Trieu <rtrieu@google.com> | 2014-06-06 21:39:26 +0000 |
---|---|---|
committer | Richard Trieu <rtrieu@google.com> | 2014-06-06 21:39:26 +0000 |
commit | f7432755d0c09b8c01ced9c3b0f337a85a1ccf96 (patch) | |
tree | 98eb15262ae6867573cf0d0d7a538149d0b1494d /clang/test/Analysis/inlining/path-notes.cpp | |
parent | d0700b29195b72c3af8dc8f05dfb6ed04ca3e907 (diff) | |
download | bcm5719-llvm-f7432755d0c09b8c01ced9c3b0f337a85a1ccf96.tar.gz bcm5719-llvm-f7432755d0c09b8c01ced9c3b0f337a85a1ccf96.zip |
Add -Wtautological-undefined-compare and -Wundefined-bool-conversion warnings
to detect underfined behavior involving pointers.
llvm-svn: 210372
Diffstat (limited to 'clang/test/Analysis/inlining/path-notes.cpp')
-rw-r--r-- | clang/test/Analysis/inlining/path-notes.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Analysis/inlining/path-notes.cpp b/clang/test/Analysis/inlining/path-notes.cpp index afbdf2146b6..a1ac53c5035 100644 --- a/clang/test/Analysis/inlining/path-notes.cpp +++ b/clang/test/Analysis/inlining/path-notes.cpp @@ -1,5 +1,5 @@ -// RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-output=text -analyzer-config c++-inlining=destructors -std=c++11 -verify %s -// RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-output=plist-multi-file -analyzer-config c++-inlining=destructors -std=c++11 -analyzer-config path-diagnostics-alternate=false %s -o %t.plist +// RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-output=text -analyzer-config c++-inlining=destructors -std=c++11 -verify -Wno-tautological-undefined-compare %s +// RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-output=plist-multi-file -analyzer-config c++-inlining=destructors -std=c++11 -analyzer-config path-diagnostics-alternate=false %s -o %t.plist -Wno-tautological-undefined-compare // RUN: FileCheck --input-file=%t.plist %s class Foo { |