summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/undef-buffers.c
diff options
context:
space:
mode:
authorKristof Umann <dkszelethus@gmail.com>2019-03-08 16:00:42 +0000
committerKristof Umann <dkszelethus@gmail.com>2019-03-08 16:00:42 +0000
commit748c139adebf58b144bf4ecc2a2333d9ad66ecdc (patch)
treeb7cc366136d420ea201758a95e9db3cd1def8fac /clang/test/Analysis/undef-buffers.c
parent2827349c9d7e12fc05e6213c024d50bf59294cb1 (diff)
downloadbcm5719-llvm-748c139adebf58b144bf4ecc2a2333d9ad66ecdc.tar.gz
bcm5719-llvm-748c139adebf58b144bf4ecc2a2333d9ad66ecdc.zip
[analyzer] Emit an error rather than assert on invalid checker option input
Asserting on invalid input isn't very nice, hence the patch to emit an error instead. This is the first of many patches to overhaul the way we handle checker options. Differential Revision: https://reviews.llvm.org/D57850 llvm-svn: 355704
Diffstat (limited to 'clang/test/Analysis/undef-buffers.c')
-rw-r--r--clang/test/Analysis/undef-buffers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Analysis/undef-buffers.c b/clang/test/Analysis/undef-buffers.c
index 10a46c64f69..70db8eb6e55 100644
--- a/clang/test/Analysis/undef-buffers.c
+++ b/clang/test/Analysis/undef-buffers.c
@@ -2,7 +2,7 @@
// RUN: -analyzer-checker=core \
// RUN: -analyzer-checker=unix \
// RUN: -analyzer-checker=core.uninitialized \
-// RUN: -analyzer-config unix:Optimistic=true
+// RUN: -analyzer-config unix.DynamicMemoryModeling:Optimistic=true
typedef __typeof(sizeof(int)) size_t;
void *malloc(size_t);
OpenPOWER on IntegriCloud