adlint 2.2.0 → 2.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/AUTHORS +0 -1
- data/ChangeLog +185 -1
- data/MANIFEST +3 -0
- data/NEWS +28 -5
- data/bin/adlintize +70 -7
- data/etc/conf.d/fallback/traits.erb +12 -3
- data/etc/conf.d/i686-cygwin/traits-gcc_4.3.4.erb +12 -3
- data/etc/conf.d/i686-devkit/traits-gcc_4.5.2.erb +12 -3
- data/etc/conf.d/i686-linux/traits-gcc_4.5.1.erb +12 -3
- data/etc/conf.d/i686-mingw/traits-gcc_4.6.1.erb +12 -3
- data/etc/conf.d/x86_64-ubuntu_12.04/traits-gcc_4.6.3.erb +12 -4
- data/etc/mesg.d/c_builtin/en_US/messages.yml +1 -1
- data/etc/mesg.d/c_builtin/ja_JP/messages.yml +1 -1
- data/etc/mesg.d/core/en_US/messages.yml +1 -1
- data/etc/mesg.d/core/ja_JP/messages.yml +1 -1
- data/features/code_check/W0070.feature +51 -0
- data/features/code_check/W0071.feature +51 -0
- data/features/code_check/W0425.feature +279 -0
- data/features/code_check/W0692.feature +14 -1
- data/features/code_check/W0834.feature +7 -5
- data/features/code_check/W1073.feature +0 -1
- data/features/code_check/W1074.feature +6 -0
- data/features/code_check/W9003.feature +54 -0
- data/features/support/env.rb +15 -3
- data/lib/adlint/c/expr.rb +30 -6
- data/lib/adlint/c/interp.rb +4 -0
- data/lib/adlint/cpp/eval.rb +24 -14
- data/lib/adlint/cpp/macro.rb +52 -40
- data/lib/adlint/exam/c_builtin/c_check.rb +76 -42
- data/lib/adlint/exam/c_builtin/cpp_check.rb +4 -2
- data/lib/adlint/traits.rb +37 -23
- data/lib/adlint/util.rb +6 -0
- data/lib/adlint/version.rb +3 -3
- data/share/doc/developers_guide_ja.html +3 -3
- data/share/doc/developers_guide_ja.texi +1 -1
- data/share/doc/users_guide_en.html +1679 -1651
- data/share/doc/users_guide_en.texi +56 -24
- data/share/doc/users_guide_ja.html +1697 -1669
- data/share/doc/users_guide_ja.texi +57 -24
- data/share/sample/bison-2.5/adlint/adlint_traits.yml +13 -4
- data/share/sample/bison-2.5/adlint/lib/adlint_traits.yml +13 -4
- data/share/sample/bison-2.5/adlint/src/adlint_traits.yml +13 -4
- data/share/sample/ctags-5.8/adlint/adlint_traits.yml +13 -4
- data/share/sample/flex-2.5.35/adlint/adlint_traits.yml +13 -4
- data/share/sample/ruby-1.9.3-p0/adlint/adlint_traits.yml +13 -4
- data/share/sample/ruby-1.9.3-p0/adlint/core/adlint_traits.yml +13 -4
- data/share/sample/ruby-1.9.3-p0/adlint/enc/adlint_traits.yml +13 -4
- data/share/sample/ruby-1.9.3-p0/adlint/enc-trans/adlint_traits.yml +13 -4
- data/share/sample/ruby-1.9.3-p0/adlint/ext-bigdecimal/adlint_traits.yml +13 -4
- data/share/sample/ruby-1.9.3-p0/adlint/ext-continuation/adlint_traits.yml +13 -4
- data/share/sample/ruby-1.9.3-p0/adlint/ext-coverage/adlint_traits.yml +13 -4
- data/share/sample/ruby-1.9.3-p0/adlint/ext-curses/adlint_traits.yml +13 -4
- data/share/sample/ruby-1.9.3-p0/adlint/ext-date/adlint_traits.yml +13 -4
- data/share/sample/ruby-1.9.3-p0/adlint/ext-dbm/adlint_traits.yml +13 -4
- data/share/sample/ruby-1.9.3-p0/adlint/ext-digest/adlint_traits.yml +13 -4
- data/share/sample/ruby-1.9.3-p0/adlint/ext-digest-bubblebabble/adlint_traits.yml +13 -4
- data/share/sample/ruby-1.9.3-p0/adlint/ext-digest-md5/adlint_traits.yml +13 -4
- data/share/sample/ruby-1.9.3-p0/adlint/ext-digest-rmd160/adlint_traits.yml +13 -4
- data/share/sample/ruby-1.9.3-p0/adlint/ext-digest-sha1/adlint_traits.yml +13 -4
- data/share/sample/ruby-1.9.3-p0/adlint/ext-digest-sha2/adlint_traits.yml +13 -4
- data/share/sample/ruby-1.9.3-p0/adlint/ext-dl/adlint_traits.yml +13 -4
- data/share/sample/ruby-1.9.3-p0/adlint/ext-dl-callback/adlint_traits.yml +13 -4
- data/share/sample/ruby-1.9.3-p0/adlint/ext-etc/adlint_traits.yml +13 -4
- data/share/sample/ruby-1.9.3-p0/adlint/ext-fcntl/adlint_traits.yml +13 -4
- data/share/sample/ruby-1.9.3-p0/adlint/ext-fiber/adlint_traits.yml +13 -4
- data/share/sample/ruby-1.9.3-p0/adlint/ext-fiddle/adlint_traits.yml +13 -4
- data/share/sample/ruby-1.9.3-p0/adlint/ext-gdbm/adlint_traits.yml +13 -4
- data/share/sample/ruby-1.9.3-p0/adlint/ext-iconv/adlint_traits.yml +13 -4
- data/share/sample/ruby-1.9.3-p0/adlint/ext-io-console/adlint_traits.yml +13 -4
- data/share/sample/ruby-1.9.3-p0/adlint/ext-io-nonblock/adlint_traits.yml +13 -4
- data/share/sample/ruby-1.9.3-p0/adlint/ext-io-wait/adlint_traits.yml +13 -4
- data/share/sample/ruby-1.9.3-p0/adlint/ext-json-generator/adlint_traits.yml +13 -4
- data/share/sample/ruby-1.9.3-p0/adlint/ext-json-parser/adlint_traits.yml +13 -4
- data/share/sample/ruby-1.9.3-p0/adlint/ext-mathn-complex/adlint_traits.yml +13 -4
- data/share/sample/ruby-1.9.3-p0/adlint/ext-mathn-rational/adlint_traits.yml +13 -4
- data/share/sample/ruby-1.9.3-p0/adlint/ext-nkf/adlint_traits.yml +13 -4
- data/share/sample/ruby-1.9.3-p0/adlint/ext-openssl/adlint_traits.yml +13 -4
- data/share/sample/ruby-1.9.3-p0/adlint/ext-pathname/adlint_traits.yml +13 -4
- data/share/sample/ruby-1.9.3-p0/adlint/ext-psych/adlint_traits.yml +13 -4
- data/share/sample/ruby-1.9.3-p0/adlint/ext-pty/adlint_traits.yml +13 -4
- data/share/sample/ruby-1.9.3-p0/adlint/ext-racc-cparse/adlint_traits.yml +13 -4
- data/share/sample/ruby-1.9.3-p0/adlint/ext-readline/adlint_traits.yml +13 -4
- data/share/sample/ruby-1.9.3-p0/adlint/ext-ripper/adlint_traits.yml +13 -4
- data/share/sample/ruby-1.9.3-p0/adlint/ext-sdbm/adlint_traits.yml +13 -4
- data/share/sample/ruby-1.9.3-p0/adlint/ext-socket/adlint_traits.yml +13 -4
- data/share/sample/ruby-1.9.3-p0/adlint/ext-stringio/adlint_traits.yml +13 -4
- data/share/sample/ruby-1.9.3-p0/adlint/ext-strscan/adlint_traits.yml +13 -4
- data/share/sample/ruby-1.9.3-p0/adlint/ext-syck/adlint_traits.yml +13 -4
- data/share/sample/ruby-1.9.3-p0/adlint/ext-syslog/adlint_traits.yml +13 -4
- data/share/sample/ruby-1.9.3-p0/adlint/ext-zlib/adlint_traits.yml +13 -4
- data/share/sample/screen-4.0.3/adlint/adlint_traits.yml +13 -4
- data/share/sample/vim-7.3/adlint/vim/adlint_traits.yml +13 -4
- data/share/sample/vim-7.3/adlint/xxd/adlint_traits.yml +13 -4
- data/share/sample/zsh-4.3.15/adlint/adlint_traits.yml +13 -4
- data/share/sample/zsh-4.3.15/adlint/builtins/adlint_traits.yml +13 -4
- data/share/sample/zsh-4.3.15/adlint/core/adlint_traits.yml +13 -4
- data/share/sample/zsh-4.3.15/adlint/modules/adlint_traits.yml +13 -4
- data/share/sample/zsh-4.3.15/adlint/zle/adlint_traits.yml +13 -4
- data/spec/conf.d/default_traits.yml +12 -4
- metadata +5 -2
@@ -21,7 +21,7 @@
|
|
21
21
|
|
22
22
|
# Schema version of the traits file.
|
23
23
|
# DO NOT EDIT MANUALLY!
|
24
|
-
version: "2.
|
24
|
+
version: "2.4.0"
|
25
25
|
|
26
26
|
# List of names of source code examination packages.
|
27
27
|
#
|
@@ -39,6 +39,9 @@ project_traits:
|
|
39
39
|
# Project name.
|
40
40
|
project_name: "ruby-1.9.3-p0"
|
41
41
|
|
42
|
+
# Project root directory.
|
43
|
+
project_root: "../../ruby-1.9.3-p0"
|
44
|
+
|
42
45
|
# Project specific additional include paths.
|
43
46
|
# Ex.
|
44
47
|
# include_path:
|
@@ -245,9 +248,15 @@ message_traits:
|
|
245
248
|
# Output messages with category and severity information?
|
246
249
|
message_with_class: false
|
247
250
|
|
248
|
-
# Warn only files in the specified directory.
|
249
|
-
#
|
250
|
-
|
251
|
+
# Warn only files in the specified directory.
|
252
|
+
# If omitted, all files including system headers will be warned.
|
253
|
+
warn_files_in:
|
254
|
+
- "../../ruby-1.9.3-p0"
|
255
|
+
|
256
|
+
# Don't warn files in the specified directory.
|
257
|
+
# You can specify 3rd-party library header directories imported in the
|
258
|
+
# project to suppress warnings about unconcerned headers.
|
259
|
+
warn_files_not_in:
|
251
260
|
|
252
261
|
# Enable translation-unit specific code check selection?
|
253
262
|
individual_selection: true
|
@@ -21,7 +21,7 @@
|
|
21
21
|
|
22
22
|
# Schema version of the traits file.
|
23
23
|
# DO NOT EDIT MANUALLY!
|
24
|
-
version: "2.
|
24
|
+
version: "2.4.0"
|
25
25
|
|
26
26
|
# List of names of source code examination packages.
|
27
27
|
#
|
@@ -39,6 +39,9 @@ project_traits:
|
|
39
39
|
# Project name.
|
40
40
|
project_name: "ruby-1.9.3-p0"
|
41
41
|
|
42
|
+
# Project root directory.
|
43
|
+
project_root: "../../ruby-1.9.3-p0"
|
44
|
+
|
42
45
|
# Project specific additional include paths.
|
43
46
|
# Ex.
|
44
47
|
# include_path:
|
@@ -245,9 +248,15 @@ message_traits:
|
|
245
248
|
# Output messages with category and severity information?
|
246
249
|
message_with_class: false
|
247
250
|
|
248
|
-
# Warn only files in the specified directory.
|
249
|
-
#
|
250
|
-
|
251
|
+
# Warn only files in the specified directory.
|
252
|
+
# If omitted, all files including system headers will be warned.
|
253
|
+
warn_files_in:
|
254
|
+
- "../../ruby-1.9.3-p0"
|
255
|
+
|
256
|
+
# Don't warn files in the specified directory.
|
257
|
+
# You can specify 3rd-party library header directories imported in the
|
258
|
+
# project to suppress warnings about unconcerned headers.
|
259
|
+
warn_files_not_in:
|
251
260
|
|
252
261
|
# Enable translation-unit specific code check selection?
|
253
262
|
individual_selection: true
|
@@ -21,7 +21,7 @@
|
|
21
21
|
|
22
22
|
# Schema version of the traits file.
|
23
23
|
# DO NOT EDIT MANUALLY!
|
24
|
-
version: "2.
|
24
|
+
version: "2.4.0"
|
25
25
|
|
26
26
|
# List of names of source code examination packages.
|
27
27
|
#
|
@@ -39,6 +39,9 @@ project_traits:
|
|
39
39
|
# Project name.
|
40
40
|
project_name: "ruby-1.9.3-p0"
|
41
41
|
|
42
|
+
# Project root directory.
|
43
|
+
project_root: "../../ruby-1.9.3-p0"
|
44
|
+
|
42
45
|
# Project specific additional include paths.
|
43
46
|
# Ex.
|
44
47
|
# include_path:
|
@@ -245,9 +248,15 @@ message_traits:
|
|
245
248
|
# Output messages with category and severity information?
|
246
249
|
message_with_class: false
|
247
250
|
|
248
|
-
# Warn only files in the specified directory.
|
249
|
-
#
|
250
|
-
|
251
|
+
# Warn only files in the specified directory.
|
252
|
+
# If omitted, all files including system headers will be warned.
|
253
|
+
warn_files_in:
|
254
|
+
- "../../ruby-1.9.3-p0"
|
255
|
+
|
256
|
+
# Don't warn files in the specified directory.
|
257
|
+
# You can specify 3rd-party library header directories imported in the
|
258
|
+
# project to suppress warnings about unconcerned headers.
|
259
|
+
warn_files_not_in:
|
251
260
|
|
252
261
|
# Enable translation-unit specific code check selection?
|
253
262
|
individual_selection: true
|
@@ -21,7 +21,7 @@
|
|
21
21
|
|
22
22
|
# Schema version of the traits file.
|
23
23
|
# DO NOT EDIT MANUALLY!
|
24
|
-
version: "2.
|
24
|
+
version: "2.4.0"
|
25
25
|
|
26
26
|
# List of names of source code examination packages.
|
27
27
|
#
|
@@ -39,6 +39,9 @@ project_traits:
|
|
39
39
|
# Project name.
|
40
40
|
project_name: "ruby-1.9.3-p0"
|
41
41
|
|
42
|
+
# Project root directory.
|
43
|
+
project_root: "../../ruby-1.9.3-p0"
|
44
|
+
|
42
45
|
# Project specific additional include paths.
|
43
46
|
# Ex.
|
44
47
|
# include_path:
|
@@ -245,9 +248,15 @@ message_traits:
|
|
245
248
|
# Output messages with category and severity information?
|
246
249
|
message_with_class: false
|
247
250
|
|
248
|
-
# Warn only files in the specified directory.
|
249
|
-
#
|
250
|
-
|
251
|
+
# Warn only files in the specified directory.
|
252
|
+
# If omitted, all files including system headers will be warned.
|
253
|
+
warn_files_in:
|
254
|
+
- "../../ruby-1.9.3-p0"
|
255
|
+
|
256
|
+
# Don't warn files in the specified directory.
|
257
|
+
# You can specify 3rd-party library header directories imported in the
|
258
|
+
# project to suppress warnings about unconcerned headers.
|
259
|
+
warn_files_not_in:
|
251
260
|
|
252
261
|
# Enable translation-unit specific code check selection?
|
253
262
|
individual_selection: true
|
@@ -21,7 +21,7 @@
|
|
21
21
|
|
22
22
|
# Schema version of the traits file.
|
23
23
|
# DO NOT EDIT MANUALLY!
|
24
|
-
version: "2.
|
24
|
+
version: "2.4.0"
|
25
25
|
|
26
26
|
# List of names of source code examination packages.
|
27
27
|
#
|
@@ -39,6 +39,9 @@ project_traits:
|
|
39
39
|
# Project name.
|
40
40
|
project_name: "ruby-1.9.3-p0"
|
41
41
|
|
42
|
+
# Project root directory.
|
43
|
+
project_root: "../../ruby-1.9.3-p0"
|
44
|
+
|
42
45
|
# Project specific additional include paths.
|
43
46
|
# Ex.
|
44
47
|
# include_path:
|
@@ -245,9 +248,15 @@ message_traits:
|
|
245
248
|
# Output messages with category and severity information?
|
246
249
|
message_with_class: false
|
247
250
|
|
248
|
-
# Warn only files in the specified directory.
|
249
|
-
#
|
250
|
-
|
251
|
+
# Warn only files in the specified directory.
|
252
|
+
# If omitted, all files including system headers will be warned.
|
253
|
+
warn_files_in:
|
254
|
+
- "../../ruby-1.9.3-p0"
|
255
|
+
|
256
|
+
# Don't warn files in the specified directory.
|
257
|
+
# You can specify 3rd-party library header directories imported in the
|
258
|
+
# project to suppress warnings about unconcerned headers.
|
259
|
+
warn_files_not_in:
|
251
260
|
|
252
261
|
# Enable translation-unit specific code check selection?
|
253
262
|
individual_selection: true
|
@@ -21,7 +21,7 @@
|
|
21
21
|
|
22
22
|
# Schema version of the traits file.
|
23
23
|
# DO NOT EDIT MANUALLY!
|
24
|
-
version: "2.
|
24
|
+
version: "2.4.0"
|
25
25
|
|
26
26
|
# List of names of source code examination packages.
|
27
27
|
#
|
@@ -39,6 +39,9 @@ project_traits:
|
|
39
39
|
# Project name.
|
40
40
|
project_name: "screen-4.0.3"
|
41
41
|
|
42
|
+
# Project root directory.
|
43
|
+
project_root: "../screen-4.0.3"
|
44
|
+
|
42
45
|
# Project specific additional include paths.
|
43
46
|
# Ex.
|
44
47
|
# include_path:
|
@@ -242,9 +245,15 @@ message_traits:
|
|
242
245
|
# Output messages with category and severity information?
|
243
246
|
message_with_class: false
|
244
247
|
|
245
|
-
# Warn only files in the specified directory.
|
246
|
-
#
|
247
|
-
|
248
|
+
# Warn only files in the specified directory.
|
249
|
+
# If omitted, all files including system headers will be warned.
|
250
|
+
warn_files_in:
|
251
|
+
- "../screen-4.0.3"
|
252
|
+
|
253
|
+
# Don't warn files in the specified directory.
|
254
|
+
# You can specify 3rd-party library header directories imported in the
|
255
|
+
# project to suppress warnings about unconcerned headers.
|
256
|
+
warn_files_not_in:
|
248
257
|
|
249
258
|
# Enable translation-unit specific code check selection?
|
250
259
|
individual_selection: true
|
@@ -21,7 +21,7 @@
|
|
21
21
|
|
22
22
|
# Schema version of the traits file.
|
23
23
|
# DO NOT EDIT MANUALLY!
|
24
|
-
version: "2.
|
24
|
+
version: "2.4.0"
|
25
25
|
|
26
26
|
# List of names of source code examination packages.
|
27
27
|
#
|
@@ -39,6 +39,9 @@ project_traits:
|
|
39
39
|
# Project name.
|
40
40
|
project_name: "vim-7.3"
|
41
41
|
|
42
|
+
# Project root directory.
|
43
|
+
project_root: "../../vim73"
|
44
|
+
|
42
45
|
# Project specific additional include paths.
|
43
46
|
# Ex.
|
44
47
|
# include_path:
|
@@ -254,9 +257,15 @@ message_traits:
|
|
254
257
|
# Output messages with category and severity information?
|
255
258
|
message_with_class: false
|
256
259
|
|
257
|
-
# Warn only files in the specified directory.
|
258
|
-
#
|
259
|
-
|
260
|
+
# Warn only files in the specified directory.
|
261
|
+
# If omitted, all files including system headers will be warned.
|
262
|
+
warn_files_in:
|
263
|
+
- "../../vim73"
|
264
|
+
|
265
|
+
# Don't warn files in the specified directory.
|
266
|
+
# You can specify 3rd-party library header directories imported in the
|
267
|
+
# project to suppress warnings about unconcerned headers.
|
268
|
+
warn_files_not_in:
|
260
269
|
|
261
270
|
# Enable translation-unit specific code check selection?
|
262
271
|
individual_selection: true
|
@@ -21,7 +21,7 @@
|
|
21
21
|
|
22
22
|
# Schema version of the traits file.
|
23
23
|
# DO NOT EDIT MANUALLY!
|
24
|
-
version: "2.
|
24
|
+
version: "2.4.0"
|
25
25
|
|
26
26
|
# List of names of source code examination packages.
|
27
27
|
#
|
@@ -39,6 +39,9 @@ project_traits:
|
|
39
39
|
# Project name.
|
40
40
|
project_name: "xxd-7.3"
|
41
41
|
|
42
|
+
# Project root directory.
|
43
|
+
project_root: "../../vim73"
|
44
|
+
|
42
45
|
# Project specific additional include paths.
|
43
46
|
# Ex.
|
44
47
|
# include_path:
|
@@ -241,9 +244,15 @@ message_traits:
|
|
241
244
|
# Output messages with category and severity information?
|
242
245
|
message_with_class: false
|
243
246
|
|
244
|
-
# Warn only files in the specified directory.
|
245
|
-
#
|
246
|
-
|
247
|
+
# Warn only files in the specified directory.
|
248
|
+
# If omitted, all files including system headers will be warned.
|
249
|
+
warn_files_in:
|
250
|
+
- "../../vim73"
|
251
|
+
|
252
|
+
# Don't warn files in the specified directory.
|
253
|
+
# You can specify 3rd-party library header directories imported in the
|
254
|
+
# project to suppress warnings about unconcerned headers.
|
255
|
+
warn_files_not_in:
|
247
256
|
|
248
257
|
# Enable translation-unit specific code check selection?
|
249
258
|
individual_selection: true
|
@@ -21,7 +21,7 @@
|
|
21
21
|
|
22
22
|
# Schema version of the traits file.
|
23
23
|
# DO NOT EDIT MANUALLY!
|
24
|
-
version: "2.
|
24
|
+
version: "2.4.0"
|
25
25
|
|
26
26
|
# List of names of source code examination packages.
|
27
27
|
#
|
@@ -39,6 +39,9 @@ project_traits:
|
|
39
39
|
# Project name.
|
40
40
|
project_name: "zsh-4.3.15"
|
41
41
|
|
42
|
+
# Project root directory.
|
43
|
+
project_root: "../zsh-4.3.15"
|
44
|
+
|
42
45
|
# Project specific additional include paths.
|
43
46
|
# Ex.
|
44
47
|
# include_path:
|
@@ -229,9 +232,15 @@ message_traits:
|
|
229
232
|
# Output messages with category and severity information?
|
230
233
|
message_with_class: false
|
231
234
|
|
232
|
-
# Warn only files in the specified directory.
|
233
|
-
#
|
234
|
-
|
235
|
+
# Warn only files in the specified directory.
|
236
|
+
# If omitted, all files including system headers will be warned.
|
237
|
+
warn_files_in:
|
238
|
+
- "../zsh-4.3.15"
|
239
|
+
|
240
|
+
# Don't warn files in the specified directory.
|
241
|
+
# You can specify 3rd-party library header directories imported in the
|
242
|
+
# project to suppress warnings about unconcerned headers.
|
243
|
+
warn_files_not_in:
|
235
244
|
|
236
245
|
# Enable translation-unit specific code check selection?
|
237
246
|
individual_selection: true
|
@@ -21,7 +21,7 @@
|
|
21
21
|
|
22
22
|
# Schema version of the traits file.
|
23
23
|
# DO NOT EDIT MANUALLY!
|
24
|
-
version: "2.
|
24
|
+
version: "2.4.0"
|
25
25
|
|
26
26
|
# List of names of source code examination packages.
|
27
27
|
#
|
@@ -39,6 +39,9 @@ project_traits:
|
|
39
39
|
# Project name.
|
40
40
|
project_name: "zsh-4.3.15"
|
41
41
|
|
42
|
+
# Project root directory.
|
43
|
+
project_root: "../../zsh-4.3.15"
|
44
|
+
|
42
45
|
# Project specific additional include paths.
|
43
46
|
# Ex.
|
44
47
|
# include_path:
|
@@ -244,9 +247,15 @@ message_traits:
|
|
244
247
|
# Output messages with category and severity information?
|
245
248
|
message_with_class: false
|
246
249
|
|
247
|
-
# Warn only files in the specified directory.
|
248
|
-
#
|
249
|
-
|
250
|
+
# Warn only files in the specified directory.
|
251
|
+
# If omitted, all files including system headers will be warned.
|
252
|
+
warn_files_in:
|
253
|
+
- "../../zsh-4.3.15"
|
254
|
+
|
255
|
+
# Don't warn files in the specified directory.
|
256
|
+
# You can specify 3rd-party library header directories imported in the
|
257
|
+
# project to suppress warnings about unconcerned headers.
|
258
|
+
warn_files_not_in:
|
250
259
|
|
251
260
|
# Enable translation-unit specific code check selection?
|
252
261
|
individual_selection: true
|
@@ -21,7 +21,7 @@
|
|
21
21
|
|
22
22
|
# Schema version of the traits file.
|
23
23
|
# DO NOT EDIT MANUALLY!
|
24
|
-
version: "2.
|
24
|
+
version: "2.4.0"
|
25
25
|
|
26
26
|
# List of names of source code examination packages.
|
27
27
|
#
|
@@ -39,6 +39,9 @@ project_traits:
|
|
39
39
|
# Project name.
|
40
40
|
project_name: "zsh-4.3.15"
|
41
41
|
|
42
|
+
# Project root directory.
|
43
|
+
project_root: "../../zsh-4.3.15"
|
44
|
+
|
42
45
|
# Project specific additional include paths.
|
43
46
|
# Ex.
|
44
47
|
# include_path:
|
@@ -243,9 +246,15 @@ message_traits:
|
|
243
246
|
# Output messages with category and severity information?
|
244
247
|
message_with_class: false
|
245
248
|
|
246
|
-
# Warn only files in the specified directory.
|
247
|
-
#
|
248
|
-
|
249
|
+
# Warn only files in the specified directory.
|
250
|
+
# If omitted, all files including system headers will be warned.
|
251
|
+
warn_files_in:
|
252
|
+
- "../../zsh-4.3.15"
|
253
|
+
|
254
|
+
# Don't warn files in the specified directory.
|
255
|
+
# You can specify 3rd-party library header directories imported in the
|
256
|
+
# project to suppress warnings about unconcerned headers.
|
257
|
+
warn_files_not_in:
|
249
258
|
|
250
259
|
# Enable translation-unit specific code check selection?
|
251
260
|
individual_selection: true
|
@@ -21,7 +21,7 @@
|
|
21
21
|
|
22
22
|
# Schema version of the traits file.
|
23
23
|
# DO NOT EDIT MANUALLY!
|
24
|
-
version: "2.
|
24
|
+
version: "2.4.0"
|
25
25
|
|
26
26
|
# List of names of source code examination packages.
|
27
27
|
#
|
@@ -39,6 +39,9 @@ project_traits:
|
|
39
39
|
# Project name.
|
40
40
|
project_name: "zsh-4.3.15"
|
41
41
|
|
42
|
+
# Project root directory.
|
43
|
+
project_root: "../../zsh-4.3.15"
|
44
|
+
|
42
45
|
# Project specific additional include paths.
|
43
46
|
# Ex.
|
44
47
|
# include_path:
|
@@ -244,9 +247,15 @@ message_traits:
|
|
244
247
|
# Output messages with category and severity information?
|
245
248
|
message_with_class: false
|
246
249
|
|
247
|
-
# Warn only files in the specified directory.
|
248
|
-
#
|
249
|
-
|
250
|
+
# Warn only files in the specified directory.
|
251
|
+
# If omitted, all files including system headers will be warned.
|
252
|
+
warn_files_in:
|
253
|
+
- "../../zsh-4.3.15"
|
254
|
+
|
255
|
+
# Don't warn files in the specified directory.
|
256
|
+
# You can specify 3rd-party library header directories imported in the
|
257
|
+
# project to suppress warnings about unconcerned headers.
|
258
|
+
warn_files_not_in:
|
250
259
|
|
251
260
|
# Enable translation-unit specific code check selection?
|
252
261
|
individual_selection: true
|
@@ -21,7 +21,7 @@
|
|
21
21
|
|
22
22
|
# Schema version of the traits file.
|
23
23
|
# DO NOT EDIT MANUALLY!
|
24
|
-
version: "2.
|
24
|
+
version: "2.4.0"
|
25
25
|
|
26
26
|
# List of names of source code examination packages.
|
27
27
|
#
|
@@ -39,6 +39,9 @@ project_traits:
|
|
39
39
|
# Project name.
|
40
40
|
project_name: "zsh-4.3.15"
|
41
41
|
|
42
|
+
# Project root directory.
|
43
|
+
project_root: "../../zsh-4.3.15"
|
44
|
+
|
42
45
|
# Project specific additional include paths.
|
43
46
|
# Ex.
|
44
47
|
# include_path:
|
@@ -243,9 +246,15 @@ message_traits:
|
|
243
246
|
# Output messages with category and severity information?
|
244
247
|
message_with_class: false
|
245
248
|
|
246
|
-
# Warn only files in the specified directory.
|
247
|
-
#
|
248
|
-
|
249
|
+
# Warn only files in the specified directory.
|
250
|
+
# If omitted, all files including system headers will be warned.
|
251
|
+
warn_files_in:
|
252
|
+
- "../../zsh-4.3.15"
|
253
|
+
|
254
|
+
# Don't warn files in the specified directory.
|
255
|
+
# You can specify 3rd-party library header directories imported in the
|
256
|
+
# project to suppress warnings about unconcerned headers.
|
257
|
+
warn_files_not_in:
|
249
258
|
|
250
259
|
# Enable translation-unit specific code check selection?
|
251
260
|
individual_selection: true
|
@@ -8,7 +8,7 @@
|
|
8
8
|
|
9
9
|
# Schema version of the traits file.
|
10
10
|
# DO NOT EDIT MANUALLY!
|
11
|
-
version: "2.
|
11
|
+
version: "2.4.0"
|
12
12
|
|
13
13
|
# List of names of source code examination packages.
|
14
14
|
#
|
@@ -26,6 +26,9 @@ project_traits:
|
|
26
26
|
# Project name.
|
27
27
|
project_name: "spec"
|
28
28
|
|
29
|
+
# Project root directory.
|
30
|
+
project_root: "."
|
31
|
+
|
29
32
|
# Project specific additional include paths.
|
30
33
|
# Ex.
|
31
34
|
# include_path:
|
@@ -220,9 +223,14 @@ message_traits:
|
|
220
223
|
# Output messages with category and severity information?
|
221
224
|
message_with_class: false
|
222
225
|
|
223
|
-
# Warn only files in the specified directory.
|
224
|
-
#
|
225
|
-
|
226
|
+
# Warn only files in the specified directory.
|
227
|
+
# If omitted, all files including system headers will be warned.
|
228
|
+
warn_files_in:
|
229
|
+
|
230
|
+
# Don't warn files in the specified directory.
|
231
|
+
# You can specify 3rd-party library header directories imported in the
|
232
|
+
# project to suppress warnings about unconcerned headers.
|
233
|
+
warn_files_not_in:
|
226
234
|
|
227
235
|
# Enable translation-unit specific code check selection?
|
228
236
|
individual_selection: true
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: adlint
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.4.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-09-
|
12
|
+
date: 2012-09-21 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: ! 'AdLint is a source code static analyzer.
|
15
15
|
|
@@ -76,6 +76,8 @@ files:
|
|
76
76
|
- features/code_check/W0017.feature
|
77
77
|
- features/code_check/W0025.feature
|
78
78
|
- features/code_check/W0026.feature
|
79
|
+
- features/code_check/W0070.feature
|
80
|
+
- features/code_check/W0071.feature
|
79
81
|
- features/code_check/W0093.feature
|
80
82
|
- features/code_check/W0104.feature
|
81
83
|
- features/code_check/W0109.feature
|
@@ -215,6 +217,7 @@ files:
|
|
215
217
|
- features/code_check/W0252.feature
|
216
218
|
- features/code_check/W0253.feature
|
217
219
|
- features/code_check/W0254.feature
|
220
|
+
- features/code_check/W0425.feature
|
218
221
|
- features/code_check/W0431.feature
|
219
222
|
- features/code_check/W0432.feature
|
220
223
|
- features/code_check/W0477.feature
|