diff options
author | Devin Coughlin <dcoughlin@apple.com> | 2016-03-05 01:32:43 +0000 |
---|---|---|
committer | Devin Coughlin <dcoughlin@apple.com> | 2016-03-05 01:32:43 +0000 |
commit | a1d9d75a8837d730446d78ca13580009126baebc (patch) | |
tree | b5a4a5eddb82ba492b385c41a83923cef19dcdb9 /clang/lib/Parse/ParseDecl.cpp | |
parent | 2a7676b442bcc24eaea3097930f38626c15c088f (diff) | |
download | bcm5719-llvm-a1d9d75a8837d730446d78ca13580009126baebc.tar.gz bcm5719-llvm-a1d9d75a8837d730446d78ca13580009126baebc.zip |
[analyzer] Nullability: add option to not report on calls to system headers.
Add an -analyzer-config 'nullability:NoDiagnoseCallsToSystemHeaders' option to
the nullability checker. When enabled, this option causes the analyzer to not
report about passing null/nullable values to functions and methods declared
in system headers.
This option is motivated by the observation that large projects may have many
nullability warnings. These projects may find warnings about nullability
annotations that they have explicitly added themselves higher priority to fix
than warnings on calls to system libraries.
llvm-svn: 262763
Diffstat (limited to 'clang/lib/Parse/ParseDecl.cpp')
0 files changed, 0 insertions, 0 deletions