adlint 2.2.0 → 2.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (100) hide show
  1. data/AUTHORS +0 -1
  2. data/ChangeLog +185 -1
  3. data/MANIFEST +3 -0
  4. data/NEWS +28 -5
  5. data/bin/adlintize +70 -7
  6. data/etc/conf.d/fallback/traits.erb +12 -3
  7. data/etc/conf.d/i686-cygwin/traits-gcc_4.3.4.erb +12 -3
  8. data/etc/conf.d/i686-devkit/traits-gcc_4.5.2.erb +12 -3
  9. data/etc/conf.d/i686-linux/traits-gcc_4.5.1.erb +12 -3
  10. data/etc/conf.d/i686-mingw/traits-gcc_4.6.1.erb +12 -3
  11. data/etc/conf.d/x86_64-ubuntu_12.04/traits-gcc_4.6.3.erb +12 -4
  12. data/etc/mesg.d/c_builtin/en_US/messages.yml +1 -1
  13. data/etc/mesg.d/c_builtin/ja_JP/messages.yml +1 -1
  14. data/etc/mesg.d/core/en_US/messages.yml +1 -1
  15. data/etc/mesg.d/core/ja_JP/messages.yml +1 -1
  16. data/features/code_check/W0070.feature +51 -0
  17. data/features/code_check/W0071.feature +51 -0
  18. data/features/code_check/W0425.feature +279 -0
  19. data/features/code_check/W0692.feature +14 -1
  20. data/features/code_check/W0834.feature +7 -5
  21. data/features/code_check/W1073.feature +0 -1
  22. data/features/code_check/W1074.feature +6 -0
  23. data/features/code_check/W9003.feature +54 -0
  24. data/features/support/env.rb +15 -3
  25. data/lib/adlint/c/expr.rb +30 -6
  26. data/lib/adlint/c/interp.rb +4 -0
  27. data/lib/adlint/cpp/eval.rb +24 -14
  28. data/lib/adlint/cpp/macro.rb +52 -40
  29. data/lib/adlint/exam/c_builtin/c_check.rb +76 -42
  30. data/lib/adlint/exam/c_builtin/cpp_check.rb +4 -2
  31. data/lib/adlint/traits.rb +37 -23
  32. data/lib/adlint/util.rb +6 -0
  33. data/lib/adlint/version.rb +3 -3
  34. data/share/doc/developers_guide_ja.html +3 -3
  35. data/share/doc/developers_guide_ja.texi +1 -1
  36. data/share/doc/users_guide_en.html +1679 -1651
  37. data/share/doc/users_guide_en.texi +56 -24
  38. data/share/doc/users_guide_ja.html +1697 -1669
  39. data/share/doc/users_guide_ja.texi +57 -24
  40. data/share/sample/bison-2.5/adlint/adlint_traits.yml +13 -4
  41. data/share/sample/bison-2.5/adlint/lib/adlint_traits.yml +13 -4
  42. data/share/sample/bison-2.5/adlint/src/adlint_traits.yml +13 -4
  43. data/share/sample/ctags-5.8/adlint/adlint_traits.yml +13 -4
  44. data/share/sample/flex-2.5.35/adlint/adlint_traits.yml +13 -4
  45. data/share/sample/ruby-1.9.3-p0/adlint/adlint_traits.yml +13 -4
  46. data/share/sample/ruby-1.9.3-p0/adlint/core/adlint_traits.yml +13 -4
  47. data/share/sample/ruby-1.9.3-p0/adlint/enc/adlint_traits.yml +13 -4
  48. data/share/sample/ruby-1.9.3-p0/adlint/enc-trans/adlint_traits.yml +13 -4
  49. data/share/sample/ruby-1.9.3-p0/adlint/ext-bigdecimal/adlint_traits.yml +13 -4
  50. data/share/sample/ruby-1.9.3-p0/adlint/ext-continuation/adlint_traits.yml +13 -4
  51. data/share/sample/ruby-1.9.3-p0/adlint/ext-coverage/adlint_traits.yml +13 -4
  52. data/share/sample/ruby-1.9.3-p0/adlint/ext-curses/adlint_traits.yml +13 -4
  53. data/share/sample/ruby-1.9.3-p0/adlint/ext-date/adlint_traits.yml +13 -4
  54. data/share/sample/ruby-1.9.3-p0/adlint/ext-dbm/adlint_traits.yml +13 -4
  55. data/share/sample/ruby-1.9.3-p0/adlint/ext-digest/adlint_traits.yml +13 -4
  56. data/share/sample/ruby-1.9.3-p0/adlint/ext-digest-bubblebabble/adlint_traits.yml +13 -4
  57. data/share/sample/ruby-1.9.3-p0/adlint/ext-digest-md5/adlint_traits.yml +13 -4
  58. data/share/sample/ruby-1.9.3-p0/adlint/ext-digest-rmd160/adlint_traits.yml +13 -4
  59. data/share/sample/ruby-1.9.3-p0/adlint/ext-digest-sha1/adlint_traits.yml +13 -4
  60. data/share/sample/ruby-1.9.3-p0/adlint/ext-digest-sha2/adlint_traits.yml +13 -4
  61. data/share/sample/ruby-1.9.3-p0/adlint/ext-dl/adlint_traits.yml +13 -4
  62. data/share/sample/ruby-1.9.3-p0/adlint/ext-dl-callback/adlint_traits.yml +13 -4
  63. data/share/sample/ruby-1.9.3-p0/adlint/ext-etc/adlint_traits.yml +13 -4
  64. data/share/sample/ruby-1.9.3-p0/adlint/ext-fcntl/adlint_traits.yml +13 -4
  65. data/share/sample/ruby-1.9.3-p0/adlint/ext-fiber/adlint_traits.yml +13 -4
  66. data/share/sample/ruby-1.9.3-p0/adlint/ext-fiddle/adlint_traits.yml +13 -4
  67. data/share/sample/ruby-1.9.3-p0/adlint/ext-gdbm/adlint_traits.yml +13 -4
  68. data/share/sample/ruby-1.9.3-p0/adlint/ext-iconv/adlint_traits.yml +13 -4
  69. data/share/sample/ruby-1.9.3-p0/adlint/ext-io-console/adlint_traits.yml +13 -4
  70. data/share/sample/ruby-1.9.3-p0/adlint/ext-io-nonblock/adlint_traits.yml +13 -4
  71. data/share/sample/ruby-1.9.3-p0/adlint/ext-io-wait/adlint_traits.yml +13 -4
  72. data/share/sample/ruby-1.9.3-p0/adlint/ext-json-generator/adlint_traits.yml +13 -4
  73. data/share/sample/ruby-1.9.3-p0/adlint/ext-json-parser/adlint_traits.yml +13 -4
  74. data/share/sample/ruby-1.9.3-p0/adlint/ext-mathn-complex/adlint_traits.yml +13 -4
  75. data/share/sample/ruby-1.9.3-p0/adlint/ext-mathn-rational/adlint_traits.yml +13 -4
  76. data/share/sample/ruby-1.9.3-p0/adlint/ext-nkf/adlint_traits.yml +13 -4
  77. data/share/sample/ruby-1.9.3-p0/adlint/ext-openssl/adlint_traits.yml +13 -4
  78. data/share/sample/ruby-1.9.3-p0/adlint/ext-pathname/adlint_traits.yml +13 -4
  79. data/share/sample/ruby-1.9.3-p0/adlint/ext-psych/adlint_traits.yml +13 -4
  80. data/share/sample/ruby-1.9.3-p0/adlint/ext-pty/adlint_traits.yml +13 -4
  81. data/share/sample/ruby-1.9.3-p0/adlint/ext-racc-cparse/adlint_traits.yml +13 -4
  82. data/share/sample/ruby-1.9.3-p0/adlint/ext-readline/adlint_traits.yml +13 -4
  83. data/share/sample/ruby-1.9.3-p0/adlint/ext-ripper/adlint_traits.yml +13 -4
  84. data/share/sample/ruby-1.9.3-p0/adlint/ext-sdbm/adlint_traits.yml +13 -4
  85. data/share/sample/ruby-1.9.3-p0/adlint/ext-socket/adlint_traits.yml +13 -4
  86. data/share/sample/ruby-1.9.3-p0/adlint/ext-stringio/adlint_traits.yml +13 -4
  87. data/share/sample/ruby-1.9.3-p0/adlint/ext-strscan/adlint_traits.yml +13 -4
  88. data/share/sample/ruby-1.9.3-p0/adlint/ext-syck/adlint_traits.yml +13 -4
  89. data/share/sample/ruby-1.9.3-p0/adlint/ext-syslog/adlint_traits.yml +13 -4
  90. data/share/sample/ruby-1.9.3-p0/adlint/ext-zlib/adlint_traits.yml +13 -4
  91. data/share/sample/screen-4.0.3/adlint/adlint_traits.yml +13 -4
  92. data/share/sample/vim-7.3/adlint/vim/adlint_traits.yml +13 -4
  93. data/share/sample/vim-7.3/adlint/xxd/adlint_traits.yml +13 -4
  94. data/share/sample/zsh-4.3.15/adlint/adlint_traits.yml +13 -4
  95. data/share/sample/zsh-4.3.15/adlint/builtins/adlint_traits.yml +13 -4
  96. data/share/sample/zsh-4.3.15/adlint/core/adlint_traits.yml +13 -4
  97. data/share/sample/zsh-4.3.15/adlint/modules/adlint_traits.yml +13 -4
  98. data/share/sample/zsh-4.3.15/adlint/zle/adlint_traits.yml +13 -4
  99. data/spec/conf.d/default_traits.yml +12 -4
  100. 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.0.0"
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. If omitted, all files (such as
249
- # system headers or 3rd-party library headers) will be warned.
250
- warn_only_files_in: "../../ruby-1.9.3-p0"
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.0.0"
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. If omitted, all files (such as
249
- # system headers or 3rd-party library headers) will be warned.
250
- warn_only_files_in: "../../ruby-1.9.3-p0"
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.0.0"
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. If omitted, all files (such as
249
- # system headers or 3rd-party library headers) will be warned.
250
- warn_only_files_in: "../../ruby-1.9.3-p0"
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.0.0"
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. If omitted, all files (such as
249
- # system headers or 3rd-party library headers) will be warned.
250
- warn_only_files_in: "../../ruby-1.9.3-p0"
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.0.0"
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. If omitted, all files (such as
249
- # system headers or 3rd-party library headers) will be warned.
250
- warn_only_files_in: "../../ruby-1.9.3-p0"
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.0.0"
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. If omitted, all files (such as
249
- # system headers or 3rd-party library headers) will be warned.
250
- warn_only_files_in: "../../ruby-1.9.3-p0"
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.0.0"
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. If omitted, all files (such as
249
- # system headers or 3rd-party library headers) will be warned.
250
- warn_only_files_in: "../../ruby-1.9.3-p0"
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.0.0"
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. If omitted, all files (such as
249
- # system headers or 3rd-party library headers) will be warned.
250
- warn_only_files_in: "../../ruby-1.9.3-p0"
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.0.0"
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. If omitted, all files (such as
249
- # system headers or 3rd-party library headers) will be warned.
250
- warn_only_files_in: "../../ruby-1.9.3-p0"
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.0.0"
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. If omitted, all files (such as
249
- # system headers or 3rd-party library headers) will be warned.
250
- warn_only_files_in: "../../ruby-1.9.3-p0"
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.0.0"
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. If omitted, all files (such as
249
- # system headers or 3rd-party library headers) will be warned.
250
- warn_only_files_in: "../../ruby-1.9.3-p0"
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.0.0"
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. If omitted, all files (such as
249
- # system headers or 3rd-party library headers) will be warned.
250
- warn_only_files_in: "../../ruby-1.9.3-p0"
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.0.0"
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. If omitted, all files (such as
249
- # system headers or 3rd-party library headers) will be warned.
250
- warn_only_files_in: "../../ruby-1.9.3-p0"
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.0.0"
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. If omitted, all files (such as
249
- # system headers or 3rd-party library headers) will be warned.
250
- warn_only_files_in: "../../ruby-1.9.3-p0"
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.0.0"
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. If omitted, all files (such as
249
- # system headers or 3rd-party library headers) will be warned.
250
- warn_only_files_in: "../../ruby-1.9.3-p0"
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.0.0"
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. If omitted, all files (such as
249
- # system headers or 3rd-party library headers) will be warned.
250
- warn_only_files_in: "../../ruby-1.9.3-p0"
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.0.0"
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. If omitted, all files (such as
249
- # system headers or 3rd-party library headers) will be warned.
250
- warn_only_files_in: "../../ruby-1.9.3-p0"
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