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
@@ -2,7 +2,7 @@
2
2
  @setfilename users_guide_ja.info
3
3
  @documentlanguage ja
4
4
  @documentencoding utf-8
5
- @settitle AdLint 2.2.0 利用者ガイド
5
+ @settitle AdLint 2.4.0 利用者ガイド
6
6
 
7
7
  @copying
8
8
  Copyright (C) 2010-2012, OGIS-RI Co.,Ltd.
@@ -932,6 +932,18 @@ adlint_all.bat adlint_cinit.h adlint_pinit.h
932
932
  item: "prefix${ENV_VAR}suffix"
933
933
  @end verbatim
934
934
 
935
+ ディレクトリパス名の配列を指定する項目では、下記のように一つの環境変数の値によ
936
+ り複数のパス名を指定することもできます。
937
+
938
+ @verbatim
939
+ % export ENV_VAR="/usr/local/include:/usr/include"
940
+ @end verbatim
941
+
942
+ @verbatim
943
+ include_path:
944
+ - $ENV_VAR
945
+ @end verbatim
946
+
935
947
 
936
948
  @node Global Traits
937
949
  @subsection グローバル特性
@@ -1002,6 +1014,15 @@ exam_packages:
1002
1014
  @tab
1003
1015
  プロジェクト名を設定します。
1004
1016
  @item 2
1017
+ @cindex project_traits:project_root
1018
+ @anchor{project_traits:project_root}
1019
+ @tab
1020
+ @code{project_root}
1021
+ @tab
1022
+ 文字列
1023
+ @tab
1024
+ 解析対象プロジェクトのルートディレクトリを設定します。
1025
+ @item 3
1005
1026
  @cindex project_traits:include_path
1006
1027
  @anchor{project_traits:include_path}
1007
1028
  @tab
@@ -1010,7 +1031,8 @@ exam_packages:
1010
1031
  文字列の配列
1011
1032
  @tab
1012
1033
  プロジェクト固有のインクルードパスを設定します。
1013
- @item 3
1034
+ 各エントリの文字列は、@code{`:'} を区切り文字として複数のパス名を設定できます。
1035
+ @item 4
1014
1036
  @cindex project_traits:initial_header
1015
1037
  @anchor{project_traits:initial_header}
1016
1038
  @tab
@@ -1020,7 +1042,7 @@ exam_packages:
1020
1042
  @tab
1021
1043
  解析対象ソースファイルの先頭に自動でインクルードされるヘッダファイルを指定しま
1022
1044
  す。このファイルには、プロジェクト固有のマクロ定義などを記述します。
1023
- @item 4
1045
+ @item 5
1024
1046
  @cindex project_traits:coding_style:indent_style
1025
1047
  @anchor{project_traits:coding_style:indent_style}
1026
1048
  @tab
@@ -1069,7 +1091,7 @@ foo(int i)
1069
1091
  @}
1070
1092
  @end example
1071
1093
  となります。
1072
- @item 5
1094
+ @item 6
1073
1095
  @cindex project_traits:coding_style:tab_width
1074
1096
  @anchor{project_traits:coding_style:tab_width}
1075
1097
  @tab
@@ -1078,7 +1100,7 @@ foo(int i)
1078
1100
  整数値
1079
1101
  @tab
1080
1102
  タブ文字の見た目上の桁数を設定します。
1081
- @item 6
1103
+ @item 7
1082
1104
  @cindex project_traits:coding_style:indent_width
1083
1105
  @anchor{project_traits:coding_style:indent_width}
1084
1106
  @tab
@@ -1087,7 +1109,7 @@ foo(int i)
1087
1109
  整数値
1088
1110
  @tab
1089
1111
  インデントの見た目上の桁数を設定します。
1090
- @item 7
1112
+ @item 8
1091
1113
  @cindex project_traits:file_encoding
1092
1114
  @anchor{project_traits:file_encoding}
1093
1115
  @tab
@@ -1318,6 +1340,7 @@ foo(int i)
1318
1340
  文字列の配列
1319
1341
  @tab
1320
1342
  コンパイラ固有のインクルードパスを設定します。
1343
+ 各エントリの文字列は、@code{`:'} を区切り文字として複数のパス名を設定できます。
1321
1344
  @item 24
1322
1345
  @cindex compiler_traits:arithmetic:logical_right_shift
1323
1346
  @anchor{compiler_traits:arithmetic:logical_right_shift}
@@ -1434,16 +1457,14 @@ extension_substitution:
1434
1457
  レコードに、ソースコード検査パッケージ名、カテゴリ、深刻度のフィールドを追加し
1435
1458
  ます。
1436
1459
  @item 3
1437
- @cindex message_traits:warn_only_files_in
1438
- @anchor{message_traits:warn_only_files_in}
1460
+ @cindex message_traits:
1461
+ @anchor{message_traits:warn_files_in}
1439
1462
  @tab
1440
- @code{warn_only_files_in}
1463
+ @code{warn_files_in}
1441
1464
  @tab
1442
- 文字列
1465
+ 文字列の配列
1443
1466
  @tab
1444
- @b{AdLint 2.0.0 では、この項目による設定は未サポートです。}
1445
-
1446
- 解析対象プロジェクトのルートとなるディレクトリパス名を指定します。
1467
+ @b{AdLint 2.4.0 では、この項目による設定は未サポートです。}
1447
1468
 
1448
1469
  ディレクトリパス名を指定した場合は、そのディレクトリ配下のソースコードについて
1449
1470
  のみ、警告メッセージを出力します。
@@ -1451,6 +1472,18 @@ extension_substitution:
1451
1472
  象ソースコードがインクルードする全てのファイルについて、警告メッセージを出力し
1452
1473
  ます。
1453
1474
  @item 4
1475
+ @cindex message_traits:
1476
+ @anchor{message_traits:warn_files_not_in}
1477
+ @tab
1478
+ @code{warn_files_not_in}
1479
+ @tab
1480
+ 文字列の配列
1481
+ @tab
1482
+ @b{AdLint 2.4.0 では、この項目による設定は未サポートです。}
1483
+
1484
+ ディレクトリパス名を指定した場合は、そのディレクトリ配下のソースコードについて
1485
+ は、警告メッセージを抑止します。
1486
+ @item 5
1454
1487
  @cindex message_traits:individual_selection
1455
1488
  @anchor{message_traits:individual_selection}
1456
1489
  @tab
@@ -1458,12 +1491,12 @@ extension_substitution:
1458
1491
  @tab
1459
1492
  真偽値
1460
1493
  @tab
1461
- @b{AdLint 2.0.0 では、この項目による設定は未サポートです。}
1494
+ @b{AdLint 2.4.0 では、この項目による設定は未サポートです。}
1462
1495
 
1463
1496
  解析対象ソースコード内の注釈によるコードチェックの選択機能を有効化します。
1464
1497
 
1465
1498
  @code{true} の場合、注釈によるコードチェックの選択が可能になります。
1466
- @item 5
1499
+ @item 6
1467
1500
  @cindex message_traits:exclusion:categories
1468
1501
  @anchor{message_traits:exclusion:categories}
1469
1502
  @tab
@@ -1471,12 +1504,12 @@ extension_substitution:
1471
1504
  @tab
1472
1505
  文字列の配列
1473
1506
  @tab
1474
- @b{AdLint 2.0.0 では、この項目による設定は未サポートです。}
1507
+ @b{AdLint 2.4.0 では、この項目による設定は未サポートです。}
1475
1508
 
1476
1509
  @ref{global_traits:exam_packages, exam_packages} で指定したソースコード検査パッ
1477
1510
  ケージ中のコードチェック機能で、実行を除外するものをメッセージのカテゴリにより
1478
1511
  指定します。
1479
- @item 6
1512
+ @item 7
1480
1513
  @cindex message_traits:exclusion:severities
1481
1514
  @anchor{message_traits:exclusion:severities}
1482
1515
  @tab
@@ -1484,12 +1517,12 @@ extension_substitution:
1484
1517
  @tab
1485
1518
  正規表現を表す文字列
1486
1519
  @tab
1487
- @b{AdLint 2.0.0 では、この項目による設定は未サポートです。}
1520
+ @b{AdLint 2.4.0 では、この項目による設定は未サポートです。}
1488
1521
 
1489
1522
  @ref{global_traits:exam_packages, exam_packages} で指定したソースコード検査パッ
1490
1523
  ケージ中のコードチェック機能で、実行を除外するものをメッセージの深刻度により指
1491
1524
  定します。
1492
- @item 7
1525
+ @item 8
1493
1526
  @cindex message_traits:exclusion:messages
1494
1527
  @anchor{message_traits:exclusion:messages}
1495
1528
  @tab
@@ -1497,7 +1530,7 @@ extension_substitution:
1497
1530
  @tab
1498
1531
  メッセージ ID と文字列のマップ
1499
1532
  @tab
1500
- @b{AdLint 2.0.0 では、この項目による設定は未サポートです。}
1533
+ @b{AdLint 2.4.0 では、この項目による設定は未サポートです。}
1501
1534
 
1502
1535
  @ref{global_traits:exam_packages, exam_packages} で指定したソースコード検査パッ
1503
1536
  ケージ中のコードチェック機能で、実行を除外するものをメッセージ ID により指定し
@@ -1506,7 +1539,7 @@ extension_substitution:
1506
1539
  メッセージ ID は、ソースコード検査パッケージをまたいでユニークではない場合があ
1507
1540
  るため、文字列として該当するメッセージ ID が含まれるソースコード検査パッケージ
1508
1541
  名も指定してください。
1509
- @item 8
1542
+ @item 9
1510
1543
  @cindex message_traits:inclusion:messages
1511
1544
  @anchor{message_traits:inclusion:messages}
1512
1545
  @tab
@@ -1514,7 +1547,7 @@ extension_substitution:
1514
1547
  @tab
1515
1548
  メッセージ ID と文字列のマップ
1516
1549
  @tab
1517
- @b{AdLint 2.0.0 では、この項目による設定は未サポートです。}
1550
+ @b{AdLint 2.4.0 では、この項目による設定は未サポートです。}
1518
1551
 
1519
1552
  @code{exclusion} セクションの設定内容により除外しましたが、メッセージ ID 指定で
1520
1553
  特定のコードチェック機能を含める場合に指定します。
@@ -1522,7 +1555,7 @@ extension_substitution:
1522
1555
  例えば、@ref{message_traits:exclusion:categories, exclusion:categories} でカテ
1523
1556
  ゴリ指定により除外したコードチェック機能群のうち、特定のもののみを実行したい場
1524
1557
  合を想定した項目です。
1525
- @item 9
1558
+ @item 10
1526
1559
  @cindex message_traits:change_list
1527
1560
  @anchor{message_traits:change_list}
1528
1561
  @tab
@@ -29218,7 +29251,7 @@ double d = (double) MACRO(-, 123); /* W0691 */
29218
29251
 
29219
29252
  @subsection 内容
29220
29253
 
29221
- このような記述は、言語制約違反になりますので、移植性を低下させます。
29254
+ このような記述は ISO C99 のみで使用可能なので、移植性を低下させます。
29222
29255
 
29223
29256
  @subsection サンプルコード
29224
29257
 
@@ -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: "bison-2.5"
41
41
 
42
+ # Project root directory.
43
+ project_root: "../bison-2.5"
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. If omitted, all files (such as
233
- # system headers or 3rd-party library headers) will be warned.
234
- warn_only_files_in: "../bison-2.5"
235
+ # Warn only files in the specified directory.
236
+ # If omitted, all files including system headers will be warned.
237
+ warn_files_in:
238
+ - "../bison-2.5"
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.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: "bison-2.5"
41
41
 
42
+ # Project root directory.
43
+ project_root: "../../bison-2.5"
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. If omitted, all files (such as
246
- # system headers or 3rd-party library headers) will be warned.
247
- warn_only_files_in: "../../bison-2.5"
248
+ # Warn only files in the specified directory.
249
+ # If omitted, all files including system headers will be warned.
250
+ warn_files_in:
251
+ - "../../bison-2.5"
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.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: "bison-2.5"
41
41
 
42
+ # Project root directory.
43
+ project_root: "../../bison-2.5"
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. If omitted, all files (such as
247
- # system headers or 3rd-party library headers) will be warned.
248
- warn_only_files_in: "../../bison-2.5"
249
+ # Warn only files in the specified directory.
250
+ # If omitted, all files including system headers will be warned.
251
+ warn_files_in:
252
+ - "../../bison-2.5"
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.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: "ctags-5.8"
41
41
 
42
+ # Project root directory.
43
+ project_root: "../ctags-5.8"
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. If omitted, all files (such as
246
- # system headers or 3rd-party library headers) will be warned.
247
- warn_only_files_in: "../ctags-5.8"
248
+ # Warn only files in the specified directory.
249
+ # If omitted, all files including system headers will be warned.
250
+ warn_files_in:
251
+ - "../ctags-5.8"
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.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: "flex-2.5.35"
41
41
 
42
+ # Project root directory.
43
+ project_root: "../flex-2.5.35"
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. If omitted, all files (such as
246
- # system headers or 3rd-party library headers) will be warned.
247
- warn_only_files_in: "../flex-2.5.35"
248
+ # Warn only files in the specified directory.
249
+ # If omitted, all files including system headers will be warned.
250
+ warn_files_in:
251
+ - "../flex-2.5.35"
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.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:
@@ -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. If omitted, all files (such as
233
- # system headers or 3rd-party library headers) will be warned.
234
- warn_only_files_in: "../ruby-1.9.3-p0"
235
+ # Warn only files in the specified directory.
236
+ # If omitted, all files including system headers will be warned.
237
+ warn_files_in:
238
+ - "../ruby-1.9.3-p0"
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.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:
@@ -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. If omitted, all files (such as
248
- # system headers or 3rd-party library headers) will be warned.
249
- warn_only_files_in: "../../ruby-1.9.3-p0"
250
+ # Warn only files in the specified directory.
251
+ # If omitted, all files including system headers will be warned.
252
+ warn_files_in:
253
+ - "../../ruby-1.9.3-p0"
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.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:
@@ -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. If omitted, all files (such as
248
- # system headers or 3rd-party library headers) will be warned.
249
- warn_only_files_in: "../../ruby-1.9.3-p0"
250
+ # Warn only files in the specified directory.
251
+ # If omitted, all files including system headers will be warned.
252
+ warn_files_in:
253
+ - "../../ruby-1.9.3-p0"
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.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:
@@ -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. If omitted, all files (such as
248
- # system headers or 3rd-party library headers) will be warned.
249
- warn_only_files_in: "../../ruby-1.9.3-p0"
250
+ # Warn only files in the specified directory.
251
+ # If omitted, all files including system headers will be warned.
252
+ warn_files_in:
253
+ - "../../ruby-1.9.3-p0"
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.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