1 // RUN: %clang_analyze_cc1 -analyzer-checker=core \
2 // RUN: -analyzer-disable-all-checks -verify %s
4 // RUN: %clang_analyze_cc1 -analyzer-disable-all-checks -analyzer-checker=core \
7 // RUN: %clang_analyze_cc1 -analyzer-disable-all-checks -verify %s
9 // RUN: not %clang_analyze_cc1 -analyzer-checker=core \
10 // RUN: -analyzer-disable-checker non.existant.Checker -verify %s 2>&1 \
11 // RUN: | FileCheck %s
13 // expected-no-diagnostics
15 // CHECK: no analyzer checkers or packages are associated with 'non.existant.Checker'
16 // CHECK: use -analyzer-disable-all-checks to disable all static analyzer checkers
19 return 5/x
; // no warning