diff options
author | Hans Bolinder <[email protected]> | 2015-04-27 08:31:38 +0200 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2015-04-27 08:31:38 +0200 |
commit | 19c7d1f88c8d393ee6b9ba82b36389f01b5c0372 (patch) | |
tree | f434b07676f860bbf339f5d6808048246a0cdbbf /lib/dialyzer/src/dialyzer_cl_parse.erl | |
parent | 39ce3a33b8d692608850d4bd3a0bf078359b3c91 (diff) | |
parent | 51982dfa96c98b91531d0a13e1350f2fef06b845 (diff) | |
download | otp-19c7d1f88c8d393ee6b9ba82b36389f01b5c0372.tar.gz otp-19c7d1f88c8d393ee6b9ba82b36389f01b5c0372.tar.bz2 otp-19c7d1f88c8d393ee6b9ba82b36389f01b5c0372.zip |
Merge branch 'hb/dialyzer/new_options/OTP-12682'
* hb/dialyzer/new_options/OTP-12682:
dialyzer: Add new option 'unknown'
dialyzer: Add new option 'no_missing_calls'
Diffstat (limited to 'lib/dialyzer/src/dialyzer_cl_parse.erl')
-rw-r--r-- | lib/dialyzer/src/dialyzer_cl_parse.erl | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/lib/dialyzer/src/dialyzer_cl_parse.erl b/lib/dialyzer/src/dialyzer_cl_parse.erl index 04ce0e8bc3..21fc424a1b 100644 --- a/lib/dialyzer/src/dialyzer_cl_parse.erl +++ b/lib/dialyzer/src/dialyzer_cl_parse.erl @@ -2,7 +2,7 @@ %%----------------------------------------------------------------------- %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2006-2014. All Rights Reserved. +%% Copyright Ericsson AB 2006-2015. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -509,6 +509,8 @@ warning_options_msg() -> -Wno_behaviours Suppress warnings about behaviour callbacks which drift from the published recommended interfaces. + -Wno_missing_calls + Suppress warnings about calls to missing functions. -Wno_undefined_callbacks Suppress warnings about behaviours that have no -callback attributes for their callbacks. @@ -522,6 +524,13 @@ warning_options_msg() -> -Wunderspecs *** Warn about underspecified functions (those whose -spec is strictly more allowing than the success typing). + -Wunknown *** + Let warnings about unknown functions and types affect the + exit status of the command line version. The default is to ignore + warnings about unknown functions and types when setting the exit + status. When using the Dialyzer from Erlang, warnings about unknown + functions and types are returned; the default is not to return + such warnings. The following options are also available but their use is not recommended: (they are mostly for Dialyzer developers and internal debugging) |