adlint 1.2.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/AUTHORS +1 -1
- data/ChangeLog +272 -0
- data/MANIFEST +4 -0
- data/NEWS +39 -4
- data/etc/mesg.d/en_US/messages.yml +2 -2
- data/etc/mesg.d/ja_JP/messages.yml +2 -2
- data/lib/adlint/c.rb +1 -0
- data/lib/adlint/c/expr.rb +20 -26
- data/lib/adlint/c/interp.rb +137 -45
- data/lib/adlint/c/mediator.rb +4 -0
- data/lib/adlint/c/message.rb +479 -16
- data/lib/adlint/c/message_shima.rb +151 -0
- data/lib/adlint/c/phase.rb +23 -0
- data/lib/adlint/c/resolver.rb +1 -0
- data/lib/adlint/c/syntax.rb +93 -89
- data/lib/adlint/c/type.rb +70 -0
- data/lib/adlint/cpp/eval.rb +12 -1
- data/lib/adlint/cpp/message_shima.rb +51 -0
- data/lib/adlint/cpp/phase.rb +3 -0
- data/lib/adlint/version.rb +2 -2
- data/share/demo/Makefile +3 -0
- data/share/demo/bad_enum/bad_enum.c +27 -0
- data/share/demo/bad_macro/bad_macro.c +4 -0
- data/share/demo/bad_return/bad_return.c +83 -0
- data/share/demo/incomplete_type/incomplete_type.c +3 -0
- data/share/demo/overflow/overflow.c +59 -5
- data/share/demo/union_type/union_type.c +13 -0
- data/share/demo/unnamed_member/unnamed_member.c +13 -0
- data/share/demo/various_fundef/various_fundef.c +43 -0
- data/share/demo/wrap_around/wrap_around.c +95 -21
- 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 +222 -149
- data/share/doc/users_guide_en.texi +194 -120
- data/share/doc/users_guide_ja.html +224 -167
- data/share/doc/users_guide_ja.texi +194 -137
- metadata +6 -2
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: 1.
|
4
|
+
version: 1.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-03-
|
12
|
+
date: 2012-03-29 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: ! 'AdLint is a source code static analyzer.
|
15
15
|
|
@@ -78,6 +78,7 @@ files:
|
|
78
78
|
- lib/adlint/c/lexer.rb
|
79
79
|
- lib/adlint/c/mediator.rb
|
80
80
|
- lib/adlint/c/message.rb
|
81
|
+
- lib/adlint/c/message_shima.rb
|
81
82
|
- lib/adlint/c/metric.rb
|
82
83
|
- lib/adlint/c/object.rb
|
83
84
|
- lib/adlint/c/parser.y
|
@@ -142,10 +143,12 @@ files:
|
|
142
143
|
- share/demo/bad_comment/bad_comment.c
|
143
144
|
- share/demo/bad_const/bad_const.c
|
144
145
|
- share/demo/bad_conv/bad_conv.c
|
146
|
+
- share/demo/bad_enum/bad_enum.c
|
145
147
|
- share/demo/bad_indent/bad_indent.c
|
146
148
|
- share/demo/bad_init/bad_init.c
|
147
149
|
- share/demo/bad_line/bad_line.c
|
148
150
|
- share/demo/bad_macro/bad_macro.c
|
151
|
+
- share/demo/bad_return/bad_return.c
|
149
152
|
- share/demo/bitwise_expr/bitwise_expr.c
|
150
153
|
- share/demo/call_by_value/call_by_value.c
|
151
154
|
- share/demo/cross_ref/cross_ref.c
|
@@ -227,6 +230,7 @@ files:
|
|
227
230
|
- share/demo/unmatch_decl/unmatch_decl_2.h
|
228
231
|
- share/demo/unmatch_decl/unmatch_decl_3.c
|
229
232
|
- share/demo/unmatch_paren_macro/unmatch_paren_macro.c
|
233
|
+
- share/demo/unnamed_member/unnamed_member.c
|
230
234
|
- share/demo/unreachable/unreachable.c
|
231
235
|
- share/demo/useless_exp_funs/useless_exp_funs_1.c
|
232
236
|
- share/demo/useless_exp_funs/useless_exp_funs_1.h
|