diff options
author | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2010-10-23 00:13:24 +0200 |
---|---|---|
committer | Björn Gustavsson <bjorn@erlang.org> | 2010-10-26 15:19:25 +0200 |
commit | 1b0f5a265af959a8e45eb33912bc268c47cd9b0e (patch) | |
tree | 8681977311f3e84a74fbf347263a1d0d08fef80d | |
parent | 735dc6c4f7ef51f3ef64ad60382f8a09ca6b9451 (diff) | |
download | otp-1b0f5a265af959a8e45eb33912bc268c47cd9b0e.tar.gz otp-1b0f5a265af959a8e45eb33912bc268c47cd9b0e.tar.bz2 otp-1b0f5a265af959a8e45eb33912bc268c47cd9b0e.zip |
Add missing Dialyzer warning options to doc
-Wno_opaque, -Wrace_conditions and -Wbehaviours are only documented
in the Dialyzer command line help text. Add them to the documentation.
-rw-r--r-- | lib/dialyzer/doc/src/dialyzer.xml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/dialyzer/doc/src/dialyzer.xml b/lib/dialyzer/doc/src/dialyzer.xml index 1ec2ce830a..b977a44913 100644 --- a/lib/dialyzer/doc/src/dialyzer.xml +++ b/lib/dialyzer/doc/src/dialyzer.xml @@ -158,9 +158,16 @@ <tag><c><![CDATA[-Wno_match]]></c></tag> <item>Suppress warnings for patterns that are unused or cannot match.</item> + <tag><c><![CDATA[-Wno_opaque]]></c></tag> + <item>Suppress warnings for violations of opaqueness of data types.</item> <tag><c><![CDATA[-Werror_handling]]></c>***</tag> <item>Include warnings for functions that only return by means of an exception.</item> + <tag><c><![CDATA[-Wrace_conditions]]></c>***</tag> + <item>Include warnings for possible race conditions.</item> + <tag><c><![CDATA[-Wbehaviours]]></c>***</tag> + <item>Include warnings about behaviour callbacks which drift from the + published recommended interfaces.</item> <tag><c><![CDATA[-Wunmatched_returns]]></c>***</tag> <item>Include warnings for function calls which ignore a structured return value or do not match against one of many possible return value(s).</item> @@ -215,8 +222,11 @@ WarnOpts : no_return | no_improper_lists | no_fun_app | no_match + | no_opaque | no_fail_call | error_handling + | race_conditions + | behaviours | unmatched_returns | overspecs | underspecs |