adlint 3.2.0 → 3.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/AUTHORS +1 -2
- data/ChangeLog +196 -5236
- data/INSTALL +1 -1
- data/MANIFEST +4 -2
- data/NEWS +30 -13
- data/README +2 -2
- data/Rakefile +2 -2
- data/TODO +1 -1
- data/bin/adlint +2 -2
- data/bin/adlint_chk +2 -2
- data/bin/adlint_cma +2 -2
- data/bin/adlint_sma +2 -2
- data/bin/adlintize +2 -2
- data/etc/conf.d/fallback/cinit.erb +1 -1
- data/etc/conf.d/fallback/traits.erb +1 -1
- data/etc/conf.d/i686-cygwin/cinit-gcc_4.3.4.erb +1 -1
- data/etc/conf.d/i686-cygwin/traits-gcc_4.3.4.erb +1 -1
- data/etc/conf.d/i686-devkit/cinit-gcc_4.5.2.erb +1 -1
- data/etc/conf.d/i686-devkit/traits-gcc_4.5.2.erb +1 -1
- data/etc/conf.d/i686-linux/cinit-gcc_4.5.1.erb +1 -1
- data/etc/conf.d/i686-linux/traits-gcc_4.5.1.erb +1 -1
- data/etc/conf.d/i686-mingw/cinit-gcc_4.6.1.erb +1 -1
- data/etc/conf.d/i686-mingw/traits-gcc_4.6.1.erb +1 -1
- data/etc/conf.d/noarch/GNUmakefile.erb +1 -1
- data/etc/conf.d/noarch/adlint_all_bat.erb +1 -1
- data/etc/conf.d/noarch/adlint_all_sh.erb +1 -1
- data/etc/conf.d/noarch/pinit.erb +1 -1
- data/etc/conf.d/x86_64-centos_6.4/cinit-gcc_4.4.7.erb +150 -0
- data/etc/conf.d/x86_64-centos_6.4/traits-gcc_4.4.7.erb +290 -0
- data/etc/conf.d/x86_64-ubuntu_12.04/cinit-gcc_4.6.3.erb +1 -1
- data/etc/conf.d/x86_64-ubuntu_12.04/traits-gcc_4.6.3.erb +1 -1
- data/etc/mesg.d/c_builtin/en_US/messages.yml +2 -2
- data/etc/mesg.d/c_builtin/ja_JP/messages.yml +3 -3
- data/etc/mesg.d/core/en_US/messages.yml +6 -2
- data/etc/mesg.d/core/ja_JP/messages.yml +6 -2
- data/features/code_check/E0008.feature +122 -0
- data/features/code_check/E0016.feature +49 -0
- data/features/code_check/E0018.feature +99 -0
- data/features/code_check/W0460.feature +8 -8
- data/lib/adlint.rb +2 -2
- data/lib/adlint/analyzer.rb +2 -2
- data/lib/adlint/annot.rb +2 -2
- data/lib/adlint/cc1.rb +2 -2
- data/lib/adlint/cc1/branch.rb +2 -2
- data/lib/adlint/cc1/builtin.rb +2 -2
- data/lib/adlint/cc1/const.rb +2 -2
- data/lib/adlint/cc1/conv.rb +2 -2
- data/lib/adlint/cc1/ctrlexpr.rb +2 -2
- data/lib/adlint/cc1/domain.rb +2 -2
- data/lib/adlint/cc1/enum.rb +2 -2
- data/lib/adlint/cc1/environ.rb +2 -2
- data/lib/adlint/cc1/expr.rb +110 -48
- data/lib/adlint/cc1/format.rb +2 -2
- data/lib/adlint/cc1/interp.rb +46 -12
- data/lib/adlint/cc1/lexer.rb +44 -11
- data/lib/adlint/cc1/mediator.rb +16 -2
- data/lib/adlint/cc1/object.rb +2 -2
- data/lib/adlint/cc1/operator.rb +2 -2
- data/lib/adlint/cc1/option.rb +3 -3
- data/lib/adlint/cc1/parser.rb +1011 -999
- data/lib/adlint/cc1/parser.y +20 -11
- data/lib/adlint/cc1/phase.rb +2 -2
- data/lib/adlint/cc1/resolver.rb +2 -2
- data/lib/adlint/cc1/scanner.rb +2 -2
- data/lib/adlint/cc1/scope.rb +2 -2
- data/lib/adlint/cc1/seqp.rb +2 -2
- data/lib/adlint/cc1/syntax.rb +42 -10
- data/lib/adlint/cc1/trace.rb +2 -2
- data/lib/adlint/cc1/type.rb +72 -2
- data/lib/adlint/cc1/util.rb +2 -2
- data/lib/adlint/cc1/value.rb +9 -3
- data/lib/adlint/code.rb +2 -2
- data/lib/adlint/cpp.rb +2 -2
- data/lib/adlint/cpp/asm.rb +2 -2
- data/lib/adlint/cpp/constexpr.rb +1 -1
- data/lib/adlint/cpp/constexpr.y +2 -2
- data/lib/adlint/cpp/eval.rb +2 -2
- data/lib/adlint/cpp/lexer.rb +13 -3
- data/lib/adlint/cpp/macro.rb +2 -2
- data/lib/adlint/cpp/phase.rb +2 -2
- data/lib/adlint/cpp/scanner.rb +2 -2
- data/lib/adlint/cpp/source.rb +2 -2
- data/lib/adlint/cpp/subst.rb +6 -2
- data/lib/adlint/cpp/syntax.rb +2 -2
- data/lib/adlint/cpp/util.rb +2 -2
- data/lib/adlint/driver.rb +2 -2
- data/lib/adlint/error.rb +2 -2
- data/lib/adlint/exam.rb +20 -8
- data/lib/adlint/exam/c_builtin.rb +4 -6
- data/lib/adlint/exam/c_builtin/cc1_check.rb +1380 -461
- data/lib/adlint/exam/c_builtin/cc1_code.rb +25 -25
- data/lib/adlint/exam/c_builtin/cc1_metric.rb +180 -209
- data/lib/adlint/exam/c_builtin/cpp_check.rb +211 -50
- data/lib/adlint/exam/c_builtin/cpp_code.rb +19 -19
- data/lib/adlint/exam/c_builtin/ld_check.rb +2 -2
- data/lib/adlint/exam/c_builtin/ld_metric.rb +2 -2
- data/lib/adlint/lang.rb +2 -2
- data/lib/adlint/ld.rb +2 -2
- data/lib/adlint/ld/object.rb +3 -3
- data/lib/adlint/ld/phase.rb +2 -2
- data/lib/adlint/ld/typedef.rb +2 -2
- data/lib/adlint/ld/util.rb +2 -2
- data/lib/adlint/lexer.rb +2 -2
- data/lib/adlint/location.rb +2 -2
- data/lib/adlint/memo.rb +2 -2
- data/lib/adlint/message.rb +2 -2
- data/lib/adlint/metric.rb +2 -2
- data/lib/adlint/monitor.rb +2 -2
- data/lib/adlint/phase.rb +2 -2
- data/lib/adlint/prelude.rb +2 -2
- data/lib/adlint/report.rb +4 -4
- data/lib/adlint/source.rb +2 -2
- data/lib/adlint/supp.rb +2 -2
- data/lib/adlint/symbol.rb +2 -2
- data/lib/adlint/token.rb +2 -2
- data/lib/adlint/traits.rb +2 -2
- data/lib/adlint/util.rb +2 -2
- data/lib/adlint/version.rb +6 -6
- data/share/HEADER +2 -2
- data/share/doc/developers_guide_ja.html +20 -9
- data/share/doc/developers_guide_ja.texi +18 -7
- data/share/doc/samples/GNUmakefile +1 -1
- data/share/doc/samples/adlint_traits.yml +1 -1
- data/share/doc/users_guide_en.html +6177 -6138
- data/share/doc/users_guide_en.texi +35 -5
- data/share/doc/users_guide_ja.html +6192 -6153
- data/share/doc/users_guide_ja.texi +35 -5
- data/share/sample/bison-2.5/adlint/GNUmakefile +1 -1
- data/share/sample/bison-2.5/adlint/adlint_traits.yml +1 -1
- data/share/sample/bison-2.5/adlint/lib/GNUmakefile +1 -1
- data/share/sample/bison-2.5/adlint/lib/adlint_cinit.h +1 -1
- data/share/sample/bison-2.5/adlint/lib/adlint_pinit.h +1 -1
- data/share/sample/bison-2.5/adlint/lib/adlint_traits.yml +1 -1
- data/share/sample/bison-2.5/adlint/src/GNUmakefile +1 -1
- data/share/sample/bison-2.5/adlint/src/adlint_cinit.h +1 -1
- data/share/sample/bison-2.5/adlint/src/adlint_pinit.h +1 -1
- data/share/sample/bison-2.5/adlint/src/adlint_traits.yml +1 -1
- data/share/sample/ctags-5.8/adlint/GNUmakefile +1 -1
- data/share/sample/ctags-5.8/adlint/adlint_cinit.h +1 -1
- data/share/sample/ctags-5.8/adlint/adlint_pinit.h +1 -1
- data/share/sample/ctags-5.8/adlint/adlint_traits.yml +1 -1
- data/share/sample/flex-2.5.35/adlint/GNUmakefile +1 -1
- data/share/sample/flex-2.5.35/adlint/adlint_cinit.h +1 -1
- data/share/sample/flex-2.5.35/adlint/adlint_pinit.h +1 -1
- data/share/sample/flex-2.5.35/adlint/adlint_traits.yml +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/GNUmakefile +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/adlint_traits.yml +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/core/GNUmakefile +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/core/adlint_cinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/core/adlint_pinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/core/adlint_traits.yml +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/enc-trans/GNUmakefile +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/enc-trans/adlint_cinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/enc-trans/adlint_pinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/enc-trans/adlint_traits.yml +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/enc/GNUmakefile +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/enc/adlint_cinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/enc/adlint_pinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/enc/adlint_traits.yml +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-bigdecimal/GNUmakefile +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-bigdecimal/adlint_cinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-bigdecimal/adlint_pinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-bigdecimal/adlint_traits.yml +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-continuation/GNUmakefile +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-continuation/adlint_cinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-continuation/adlint_pinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-continuation/adlint_traits.yml +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-coverage/GNUmakefile +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-coverage/adlint_cinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-coverage/adlint_pinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-coverage/adlint_traits.yml +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-curses/GNUmakefile +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-curses/adlint_cinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-curses/adlint_pinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-curses/adlint_traits.yml +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-date/GNUmakefile +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-date/adlint_cinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-date/adlint_pinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-date/adlint_traits.yml +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-dbm/GNUmakefile +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-dbm/adlint_cinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-dbm/adlint_pinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-dbm/adlint_traits.yml +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-digest-bubblebabble/GNUmakefile +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-digest-bubblebabble/adlint_cinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-digest-bubblebabble/adlint_pinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-digest-bubblebabble/adlint_traits.yml +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-digest-md5/GNUmakefile +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-digest-md5/adlint_cinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-digest-md5/adlint_pinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-digest-md5/adlint_traits.yml +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-digest-rmd160/GNUmakefile +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-digest-rmd160/adlint_cinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-digest-rmd160/adlint_pinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-digest-rmd160/adlint_traits.yml +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-digest-sha1/GNUmakefile +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-digest-sha1/adlint_cinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-digest-sha1/adlint_pinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-digest-sha1/adlint_traits.yml +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-digest-sha2/GNUmakefile +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-digest-sha2/adlint_cinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-digest-sha2/adlint_pinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-digest-sha2/adlint_traits.yml +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-digest/GNUmakefile +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-digest/adlint_cinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-digest/adlint_pinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-digest/adlint_traits.yml +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-dl-callback/GNUmakefile +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-dl-callback/adlint_cinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-dl-callback/adlint_pinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-dl-callback/adlint_traits.yml +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-dl/GNUmakefile +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-dl/adlint_cinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-dl/adlint_pinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-dl/adlint_traits.yml +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-etc/GNUmakefile +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-etc/adlint_cinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-etc/adlint_pinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-etc/adlint_traits.yml +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-fcntl/GNUmakefile +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-fcntl/adlint_cinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-fcntl/adlint_pinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-fcntl/adlint_traits.yml +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-fiber/GNUmakefile +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-fiber/adlint_cinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-fiber/adlint_pinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-fiber/adlint_traits.yml +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-fiddle/GNUmakefile +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-fiddle/adlint_cinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-fiddle/adlint_pinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-fiddle/adlint_traits.yml +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-gdbm/GNUmakefile +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-gdbm/adlint_cinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-gdbm/adlint_pinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-gdbm/adlint_traits.yml +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-iconv/GNUmakefile +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-iconv/adlint_cinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-iconv/adlint_pinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-iconv/adlint_traits.yml +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-io-console/GNUmakefile +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-io-console/adlint_cinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-io-console/adlint_pinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-io-console/adlint_traits.yml +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-io-nonblock/GNUmakefile +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-io-nonblock/adlint_cinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-io-nonblock/adlint_pinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-io-nonblock/adlint_traits.yml +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-io-wait/GNUmakefile +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-io-wait/adlint_cinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-io-wait/adlint_pinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-io-wait/adlint_traits.yml +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-json-generator/GNUmakefile +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-json-generator/adlint_cinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-json-generator/adlint_pinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-json-generator/adlint_traits.yml +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-json-parser/GNUmakefile +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-json-parser/adlint_cinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-json-parser/adlint_pinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-json-parser/adlint_traits.yml +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-mathn-complex/GNUmakefile +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-mathn-complex/adlint_cinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-mathn-complex/adlint_pinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-mathn-complex/adlint_traits.yml +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-mathn-rational/GNUmakefile +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-mathn-rational/adlint_cinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-mathn-rational/adlint_pinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-mathn-rational/adlint_traits.yml +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-nkf/GNUmakefile +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-nkf/adlint_cinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-nkf/adlint_pinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-nkf/adlint_traits.yml +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-openssl/GNUmakefile +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-openssl/adlint_cinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-openssl/adlint_pinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-openssl/adlint_traits.yml +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-pathname/GNUmakefile +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-pathname/adlint_cinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-pathname/adlint_pinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-pathname/adlint_traits.yml +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-psych/GNUmakefile +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-psych/adlint_cinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-psych/adlint_pinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-psych/adlint_traits.yml +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-pty/GNUmakefile +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-pty/adlint_cinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-pty/adlint_pinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-pty/adlint_traits.yml +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-racc-cparse/GNUmakefile +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-racc-cparse/adlint_cinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-racc-cparse/adlint_pinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-racc-cparse/adlint_traits.yml +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-readline/GNUmakefile +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-readline/adlint_cinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-readline/adlint_pinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-readline/adlint_traits.yml +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-ripper/GNUmakefile +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-ripper/adlint_cinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-ripper/adlint_pinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-ripper/adlint_traits.yml +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-sdbm/GNUmakefile +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-sdbm/adlint_cinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-sdbm/adlint_pinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-sdbm/adlint_traits.yml +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-socket/GNUmakefile +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-socket/adlint_cinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-socket/adlint_pinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-socket/adlint_traits.yml +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-stringio/GNUmakefile +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-stringio/adlint_cinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-stringio/adlint_pinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-stringio/adlint_traits.yml +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-strscan/GNUmakefile +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-strscan/adlint_cinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-strscan/adlint_pinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-strscan/adlint_traits.yml +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-syck/GNUmakefile +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-syck/adlint_cinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-syck/adlint_pinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-syck/adlint_traits.yml +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-syslog/GNUmakefile +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-syslog/adlint_cinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-syslog/adlint_pinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-syslog/adlint_traits.yml +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-zlib/GNUmakefile +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-zlib/adlint_cinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-zlib/adlint_pinit.h +1 -1
- data/share/sample/ruby-1.9.3-p0/adlint/ext-zlib/adlint_traits.yml +1 -1
- data/share/sample/screen-4.0.3/adlint/GNUmakefile +1 -1
- data/share/sample/screen-4.0.3/adlint/adlint_cinit.h +1 -1
- data/share/sample/screen-4.0.3/adlint/adlint_pinit.h +1 -1
- data/share/sample/screen-4.0.3/adlint/adlint_traits.yml +1 -1
- data/share/sample/vim-7.3/adlint/vim/GNUmakefile +1 -1
- data/share/sample/vim-7.3/adlint/vim/adlint_cinit.h +1 -1
- data/share/sample/vim-7.3/adlint/vim/adlint_pinit.h +1 -1
- data/share/sample/vim-7.3/adlint/vim/adlint_traits.yml +1 -1
- data/share/sample/vim-7.3/adlint/xxd/GNUmakefile +1 -1
- data/share/sample/vim-7.3/adlint/xxd/adlint_cinit.h +1 -1
- data/share/sample/vim-7.3/adlint/xxd/adlint_pinit.h +1 -1
- data/share/sample/vim-7.3/adlint/xxd/adlint_traits.yml +1 -1
- data/share/sample/zsh-4.3.15/adlint/GNUmakefile +1 -1
- data/share/sample/zsh-4.3.15/adlint/adlint_traits.yml +1 -1
- data/share/sample/zsh-4.3.15/adlint/builtins/GNUmakefile +1 -1
- data/share/sample/zsh-4.3.15/adlint/builtins/adlint_cinit.h +1 -1
- data/share/sample/zsh-4.3.15/adlint/builtins/adlint_pinit.h +1 -1
- data/share/sample/zsh-4.3.15/adlint/builtins/adlint_traits.yml +1 -1
- data/share/sample/zsh-4.3.15/adlint/core/GNUmakefile +1 -1
- data/share/sample/zsh-4.3.15/adlint/core/adlint_cinit.h +1 -1
- data/share/sample/zsh-4.3.15/adlint/core/adlint_pinit.h +1 -1
- data/share/sample/zsh-4.3.15/adlint/core/adlint_traits.yml +1 -1
- data/share/sample/zsh-4.3.15/adlint/modules/GNUmakefile +1 -1
- data/share/sample/zsh-4.3.15/adlint/modules/adlint_cinit.h +1 -1
- data/share/sample/zsh-4.3.15/adlint/modules/adlint_pinit.h +1 -1
- data/share/sample/zsh-4.3.15/adlint/modules/adlint_traits.yml +1 -1
- data/share/sample/zsh-4.3.15/adlint/zle/GNUmakefile +1 -1
- data/share/sample/zsh-4.3.15/adlint/zle/adlint_cinit.h +1 -1
- data/share/sample/zsh-4.3.15/adlint/zle/adlint_pinit.h +1 -1
- data/share/sample/zsh-4.3.15/adlint/zle/adlint_traits.yml +1 -1
- data/spec/adlint/cc1/ctrlexpr_spec.rb +3 -3
- data/spec/adlint/cc1/domain_spec.rb +2 -2
- data/spec/adlint/cc1/operator_spec.rb +2 -2
- data/spec/adlint/cc1/syntax_spec.rb +4 -4
- data/spec/adlint/cc1/type_spec.rb +2 -2
- data/spec/adlint/location_spec.rb +2 -2
- data/spec/conf.d/default_traits.yml +1 -1
- data/spec/conf.d/empty_cinit.h +1 -1
- data/spec/conf.d/empty_pinit.h +1 -1
- data/spec/spec_helper.rb +2 -2
- metadata +29 -28
- data/lib/adlint/exam/c_builtin/cc1_check_shima.rb +0 -963
- data/lib/adlint/exam/c_builtin/cpp_check_shima.rb +0 -204
data/INSTALL
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
/ | / _ |/ / / / | / /__ __/ Source Code Static Analyzer
|
4
4
|
/ /| | / / / / / / / |/ / / / AdLint - Advanced Lint
|
5
5
|
/ __ |/ /_/ / /___/ / /| / / /
|
6
|
-
/_/ |_|_____/_____/_/_/ |_/ /_/ Copyright (C) 2010-
|
6
|
+
/_/ |_|_____/_____/_/_/ |_/ /_/ Copyright (C) 2010-2014, OGIS-RI Co.,Ltd.
|
7
7
|
|
8
8
|
This file is part of AdLint.
|
9
9
|
|
data/MANIFEST
CHANGED
@@ -26,6 +26,8 @@ etc/conf.d/noarch/GNUmakefile.erb
|
|
26
26
|
etc/conf.d/noarch/adlint_all_bat.erb
|
27
27
|
etc/conf.d/noarch/adlint_all_sh.erb
|
28
28
|
etc/conf.d/noarch/pinit.erb
|
29
|
+
etc/conf.d/x86_64-centos_6.4/cinit-gcc_4.4.7.erb
|
30
|
+
etc/conf.d/x86_64-centos_6.4/traits-gcc_4.4.7.erb
|
29
31
|
etc/conf.d/x86_64-ubuntu_12.04/cinit-gcc_4.6.3.erb
|
30
32
|
etc/conf.d/x86_64-ubuntu_12.04/traits-gcc_4.6.3.erb
|
31
33
|
etc/mesg.d/c_builtin/en_US/messages.yml
|
@@ -34,6 +36,8 @@ etc/mesg.d/core/en_US/messages.yml
|
|
34
36
|
etc/mesg.d/core/ja_JP/messages.yml
|
35
37
|
features/code_check/E0008.feature
|
36
38
|
features/code_check/E0013.feature
|
39
|
+
features/code_check/E0016.feature
|
40
|
+
features/code_check/E0018.feature
|
37
41
|
features/code_check/W0001.feature
|
38
42
|
features/code_check/W0002.feature
|
39
43
|
features/code_check/W0003.feature
|
@@ -410,11 +414,9 @@ lib/adlint/error.rb
|
|
410
414
|
lib/adlint/exam.rb
|
411
415
|
lib/adlint/exam/c_builtin.rb
|
412
416
|
lib/adlint/exam/c_builtin/cc1_check.rb
|
413
|
-
lib/adlint/exam/c_builtin/cc1_check_shima.rb
|
414
417
|
lib/adlint/exam/c_builtin/cc1_code.rb
|
415
418
|
lib/adlint/exam/c_builtin/cc1_metric.rb
|
416
419
|
lib/adlint/exam/c_builtin/cpp_check.rb
|
417
|
-
lib/adlint/exam/c_builtin/cpp_check_shima.rb
|
418
420
|
lib/adlint/exam/c_builtin/cpp_code.rb
|
419
421
|
lib/adlint/exam/c_builtin/ld_check.rb
|
420
422
|
lib/adlint/exam/c_builtin/ld_metric.rb
|
data/NEWS
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
/ | / _ |/ / / / | / /__ __/ Source Code Static Analyzer
|
4
4
|
/ /| | / / / / / / / |/ / / / AdLint - Advanced Lint
|
5
5
|
/ __ |/ /_/ / /___/ / /| / / /
|
6
|
-
/_/ |_|_____/_____/_/_/ |_/ /_/ Copyright (C) 2010-
|
6
|
+
/_/ |_|_____/_____/_/_/ |_/ /_/ Copyright (C) 2010-2014, OGIS-RI Co.,Ltd.
|
7
7
|
|
8
8
|
This file is part of AdLint.
|
9
9
|
|
@@ -21,6 +21,24 @@
|
|
21
21
|
|
22
22
|
++
|
23
23
|
|
24
|
+
=== \AdLint 3.2.6 is released (2014-01-09)
|
25
|
+
|
26
|
+
==== Changes since the 3.2.0 release
|
27
|
+
|
28
|
+
* Add patch of identifier to typedef-name translation mode in order not to
|
29
|
+
abend when multiple typedefed types of struct/union/enum is redeclared in a
|
30
|
+
single typedef declaration again
|
31
|
+
* Fix typo in C0001 message text
|
32
|
+
* Fix pattern matchig algorithm of the token substitution feature so that the
|
33
|
+
pattern \`{ __adlint__any }' can match with both \`{}' and \`{ ... }'
|
34
|
+
* Fix group skip logic of the preprocessor in order to treat string-literals
|
35
|
+
and character-constants in the skipping group correctly
|
36
|
+
* Revise the parser generation rule in order to accept extra semicolons in the
|
37
|
+
global scope
|
38
|
+
|
39
|
+
See the file {ChangeLog}[https://github.com/yanoh/adlint/blob/master/ChangeLog]
|
40
|
+
for more details.
|
41
|
+
|
24
42
|
=== \AdLint 3.2.0 is released (2013-08-28)
|
25
43
|
|
26
44
|
==== Changes since the 3.0.10 release
|
@@ -28,9 +46,6 @@
|
|
28
46
|
* Support experimental context-tracing feature so that the warning message can
|
29
47
|
be complemented with the context messages
|
30
48
|
|
31
|
-
See the file {ChangeLog}[https://github.com/yanoh/adlint/blob/master/ChangeLog]
|
32
|
-
for more details.
|
33
|
-
|
34
49
|
=== \AdLint 3.0.10 is released (2013-06-28)
|
35
50
|
|
36
51
|
==== Changes since the 3.0.8 release
|
@@ -68,7 +83,7 @@ for more details.
|
|
68
83
|
* Fix bad variable defining behavor in order to correctly evaluate
|
69
84
|
sizeof-expression that refers defining variable in the initializer
|
70
85
|
* Revise specification of W0642 code check in order to warn about all the
|
71
|
-
illegal address derivation from the object declared as
|
86
|
+
illegal address derivation from the object declared as \`register'
|
72
87
|
* Fix abend problem in parsing unnamed bit-field declaration
|
73
88
|
* Fix W0786 code check in order not to warn when a typedefed type which is same
|
74
89
|
as signed or unsigned int is specified as a base of the bit-field
|
@@ -77,7 +92,8 @@ for more details.
|
|
77
92
|
initialization
|
78
93
|
* Fix incomplete object cross-reference graph and function call graph in order
|
79
94
|
to correctly warn about useless objects
|
80
|
-
* Fix bad
|
95
|
+
* Fix bad \`##' operator evaluation in order to comply with the ISO C99
|
96
|
+
standard
|
81
97
|
|
82
98
|
=== \AdLint 3.0.4 is released (2013-04-12)
|
83
99
|
|
@@ -129,10 +145,11 @@ for more details.
|
|
129
145
|
==== Changes since the 2.6.12 release
|
130
146
|
|
131
147
|
* Revise specification of code checks about implicit conversion from or to
|
132
|
-
|
148
|
+
\`char' type to clarify warning's intention
|
133
149
|
* Improve the library interface to easily integrate \AdLint with other products
|
134
|
-
* Support lint and \AdLint specific predefined macros;
|
135
|
-
|
150
|
+
* Support lint and \AdLint specific predefined macros; \`__LINT__', \`lint',
|
151
|
+
\`__lint', \`__lint__', \`__ADLINT__', \`adlint', \`__adlint' and
|
152
|
+
\`__adlint__'
|
136
153
|
* Revise code checks' output specification of W0051, W0052, W0491, W0492,
|
137
154
|
W0703, W0704, W0770, W0771, W0787, W0788, W0789, W0790 and W1037 to add
|
138
155
|
context messages telling where is the problematic pair identifiers
|
@@ -186,7 +203,7 @@ for more details.
|
|
186
203
|
* Fix W0609 and w0610 detections not to over-warn about explicit controlling
|
187
204
|
expressions of for-statements by adding workarounds for the interpreter
|
188
205
|
* Fix W0088 detection not to warn about controlling expression of for-statement
|
189
|
-
* Fix W0723 detection in order to correctly warn about signed
|
206
|
+
* Fix W0723 detection in order to correctly warn about signed \`-' expression
|
190
207
|
* Fix bad parameter type convertibility check and bad type convertibility check
|
191
208
|
of pointer to arbitrary types to void-pointer
|
192
209
|
* Revise string representation of typedefed type so that message and metric
|
@@ -214,7 +231,7 @@ for more details.
|
|
214
231
|
|
215
232
|
* Fix bad controlling statement evaluation in order to manage value domain of
|
216
233
|
the controlling variable correctly
|
217
|
-
* Fix bad argument type specification of
|
234
|
+
* Fix bad argument type specification of \`%s', \`%p' and \`%n'
|
218
235
|
conversion-specifiers of *printf standard functions in order to detect W0635
|
219
236
|
correctly
|
220
237
|
|
@@ -224,7 +241,7 @@ for more details.
|
|
224
241
|
|
225
242
|
* Fix W0425 detection not to warn when a selection-statement or a
|
226
243
|
iteration-statement is written in a line
|
227
|
-
* Fix evaluation of sizeof expression to return
|
244
|
+
* Fix evaluation of sizeof expression to return \`size_t' value or \`unsigned
|
228
245
|
long' value if size_t is not declared
|
229
246
|
* Fix evaluation of function-definition in order to refer symbols of return
|
230
247
|
type and parameter types
|
@@ -237,7 +254,7 @@ for more details.
|
|
237
254
|
* Fix W0100 detection not to over-warn about variables updated in an
|
238
255
|
iteration-statement
|
239
256
|
* Fix bad preprocess behavior when an empty argument is given to a
|
240
|
-
function-like macro call which applies
|
257
|
+
function-like macro call which applies \`##' operator to the empty perameter
|
241
258
|
* Fix #include directive evaluation in order to correctly read header file with
|
242
259
|
an absolute path when any include_path items are not specified
|
243
260
|
|
data/README
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
/ | / _ |/ / / / | / /__ __/ Source Code Static Analyzer
|
4
4
|
/ /| | / / / / / / / |/ / / / AdLint - Advanced Lint
|
5
5
|
/ __ |/ /_/ / /___/ / /| / / /
|
6
|
-
/_/ |_|_____/_____/_/_/ |_/ /_/ Copyright (C) 2010-
|
6
|
+
/_/ |_|_____/_____/_/_/ |_/ /_/ Copyright (C) 2010-2014, OGIS-RI Co.,Ltd.
|
7
7
|
|
8
8
|
This file is part of AdLint.
|
9
9
|
|
@@ -40,7 +40,7 @@ For more details, visit our project homepage at
|
|
40
40
|
|
41
41
|
== License
|
42
42
|
|
43
|
-
Copyright (C) 2010-
|
43
|
+
Copyright (C) 2010-2014, {OGIS-RI}[http://www.ogis-ri.co.jp/] Co.,Ltd.
|
44
44
|
|
45
45
|
\AdLint is free software: you can redistribute it and/or modify it under the
|
46
46
|
terms of the GNU General Public License as published by the Free Software
|
data/Rakefile
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# / | / _ |/ / / / | / /__ __/ Source Code Static Analyzer
|
4
4
|
# / /| | / / / / / / / |/ / / / AdLint - Advanced Lint
|
5
5
|
# / __ |/ /_/ / /___/ / /| / / /
|
6
|
-
# /_/ |_|_____/_____/_/_/ |_/ /_/ Copyright (C) 2010-
|
6
|
+
# /_/ |_|_____/_____/_/_/ |_/ /_/ Copyright (C) 2010-2014, OGIS-RI Co.,Ltd.
|
7
7
|
#
|
8
8
|
# This file is part of AdLint.
|
9
9
|
#
|
@@ -67,7 +67,7 @@ EOS
|
|
67
67
|
/ | / _ |/ / / / | / /__ __/ Source Code Static Analyzer
|
68
68
|
/ /| | / / / / / / / |/ / / / AdLint - Advanced Lint
|
69
69
|
/ __ |/ /_/ / /___/ / /| / / /
|
70
|
-
/_/ |_|_____/_____/_/_/ |_/ /_/ Copyright (C) 2010-
|
70
|
+
/_/ |_|_____/_____/_/_/ |_/ /_/ Copyright (C) 2010-2014, OGIS-RI Co.,Ltd.
|
71
71
|
|
72
72
|
Thanks for installing AdLint!
|
73
73
|
Please visit our project homepage at <http://adlint.sourceforge.net/>.
|
data/TODO
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
/ | / _ |/ / / / | / /__ __/ Source Code Static Analyzer
|
4
4
|
/ /| | / / / / / / / |/ / / / AdLint - Advanced Lint
|
5
5
|
/ __ |/ /_/ / /___/ / /| / / /
|
6
|
-
/_/ |_|_____/_____/_/_/ |_/ /_/ Copyright (C) 2010-
|
6
|
+
/_/ |_|_____/_____/_/_/ |_/ /_/ Copyright (C) 2010-2014, OGIS-RI Co.,Ltd.
|
7
7
|
|
8
8
|
This file is part of AdLint.
|
9
9
|
|
data/bin/adlint
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# All in one analyzer.
|
4
4
|
#
|
5
5
|
# Author:: Yutaka Yanoh <mailto:yanoh@users.sourceforge.net>
|
6
|
-
# Copyright:: Copyright (C) 2010-
|
6
|
+
# Copyright:: Copyright (C) 2010-2014, OGIS-RI Co.,Ltd.
|
7
7
|
# License:: GPLv3+: GNU General Public License version 3 or later
|
8
8
|
#
|
9
9
|
# Owner:: Yutaka Yanoh <mailto:yanoh@users.sourceforge.net>
|
@@ -13,7 +13,7 @@
|
|
13
13
|
# / | / _ |/ / / / | / /__ __/ Source Code Static Analyzer
|
14
14
|
# / /| | / / / / / / / |/ / / / AdLint - Advanced Lint
|
15
15
|
# / __ |/ /_/ / /___/ / /| / / /
|
16
|
-
# /_/ |_|_____/_____/_/_/ |_/ /_/ Copyright (C) 2010-
|
16
|
+
# /_/ |_|_____/_____/_/_/ |_/ /_/ Copyright (C) 2010-2014, OGIS-RI Co.,Ltd.
|
17
17
|
#
|
18
18
|
# This file is part of AdLint.
|
19
19
|
#
|
data/bin/adlint_chk
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# Configuration validator.
|
4
4
|
#
|
5
5
|
# Author:: Yutaka Yanoh <mailto:yanoh@users.sourceforge.net>
|
6
|
-
# Copyright:: Copyright (C) 2010-
|
6
|
+
# Copyright:: Copyright (C) 2010-2014, OGIS-RI Co.,Ltd.
|
7
7
|
# License:: GPLv3+: GNU General Public License version 3 or later
|
8
8
|
#
|
9
9
|
# Owner:: Yutaka Yanoh <mailto:yanoh@users.sourceforge.net>
|
@@ -13,7 +13,7 @@
|
|
13
13
|
# / | / _ |/ / / / | / /__ __/ Source Code Static Analyzer
|
14
14
|
# / /| | / / / / / / / |/ / / / AdLint - Advanced Lint
|
15
15
|
# / __ |/ /_/ / /___/ / /| / / /
|
16
|
-
# /_/ |_|_____/_____/_/_/ |_/ /_/ Copyright (C) 2010-
|
16
|
+
# /_/ |_|_____/_____/_/_/ |_/ /_/ Copyright (C) 2010-2014, OGIS-RI Co.,Ltd.
|
17
17
|
#
|
18
18
|
# This file is part of AdLint.
|
19
19
|
#
|
data/bin/adlint_cma
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# Cross module analyzer.
|
4
4
|
#
|
5
5
|
# Author:: Yutaka Yanoh <mailto:yanoh@users.sourceforge.net>
|
6
|
-
# Copyright:: Copyright (C) 2010-
|
6
|
+
# Copyright:: Copyright (C) 2010-2014, OGIS-RI Co.,Ltd.
|
7
7
|
# License:: GPLv3+: GNU General Public License version 3 or later
|
8
8
|
#
|
9
9
|
# Owner:: Yutaka Yanoh <mailto:yanoh@users.sourceforge.net>
|
@@ -13,7 +13,7 @@
|
|
13
13
|
# / | / _ |/ / / / | / /__ __/ Source Code Static Analyzer
|
14
14
|
# / /| | / / / / / / / |/ / / / AdLint - Advanced Lint
|
15
15
|
# / __ |/ /_/ / /___/ / /| / / /
|
16
|
-
# /_/ |_|_____/_____/_/_/ |_/ /_/ Copyright (C) 2010-
|
16
|
+
# /_/ |_|_____/_____/_/_/ |_/ /_/ Copyright (C) 2010-2014, OGIS-RI Co.,Ltd.
|
17
17
|
#
|
18
18
|
# This file is part of AdLint.
|
19
19
|
#
|
data/bin/adlint_sma
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# Single module analyzer.
|
4
4
|
#
|
5
5
|
# Author:: Yutaka Yanoh <mailto:yanoh@users.sourceforge.net>
|
6
|
-
# Copyright:: Copyright (C) 2010-
|
6
|
+
# Copyright:: Copyright (C) 2010-2014, OGIS-RI Co.,Ltd.
|
7
7
|
# License:: GPLv3+: GNU General Public License version 3 or later
|
8
8
|
#
|
9
9
|
# Owner:: Yutaka Yanoh <mailto:yanoh@users.sourceforge.net>
|
@@ -13,7 +13,7 @@
|
|
13
13
|
# / | / _ |/ / / / | / /__ __/ Source Code Static Analyzer
|
14
14
|
# / /| | / / / / / / / |/ / / / AdLint - Advanced Lint
|
15
15
|
# / __ |/ /_/ / /___/ / /| / / /
|
16
|
-
# /_/ |_|_____/_____/_/_/ |_/ /_/ Copyright (C) 2010-
|
16
|
+
# /_/ |_|_____/_____/_/_/ |_/ /_/ Copyright (C) 2010-2014, OGIS-RI Co.,Ltd.
|
17
17
|
#
|
18
18
|
# This file is part of AdLint.
|
19
19
|
#
|
data/bin/adlintize
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# AdLint project generator.
|
4
4
|
#
|
5
5
|
# Author:: Yutaka Yanoh <mailto:yanoh@users.sourceforge.net>
|
6
|
-
# Copyright:: Copyright (C) 2010-
|
6
|
+
# Copyright:: Copyright (C) 2010-2014, OGIS-RI Co.,Ltd.
|
7
7
|
# License:: GPLv3+: GNU General Public License version 3 or later
|
8
8
|
#
|
9
9
|
# Owner:: Yutaka Yanoh <mailto:yanoh@users.sourceforge.net>
|
@@ -13,7 +13,7 @@
|
|
13
13
|
# / | / _ |/ / / / | / /__ __/ Source Code Static Analyzer
|
14
14
|
# / /| | / / / / / / / |/ / / / AdLint - Advanced Lint
|
15
15
|
# / __ |/ /_/ / /___/ / /| / / /
|
16
|
-
# /_/ |_|_____/_____/_/_/ |_/ /_/ Copyright (C) 2010-
|
16
|
+
# /_/ |_|_____/_____/_/_/ |_/ /_/ Copyright (C) 2010-2014, OGIS-RI Co.,Ltd.
|
17
17
|
#
|
18
18
|
# This file is part of AdLint.
|
19
19
|
#
|
@@ -2,7 +2,7 @@
|
|
2
2
|
* / | / _ |/ / / / | / /__ __/ Source Code Static Analyzer
|
3
3
|
* / /| | / / / / / / / |/ / / / AdLint - Advanced Lint
|
4
4
|
* / __ |/ /_/ / /___/ / /| / / /
|
5
|
-
* /_/ |_|_____/_____/_/_/ |_/ /_/ Copyright (C) 2010-
|
5
|
+
* /_/ |_|_____/_____/_/_/ |_/ /_/ Copyright (C) 2010-2014, OGIS-RI Co.,Ltd.
|
6
6
|
*
|
7
7
|
* Compiler specific initial header file generated by adlintize <%= AdLint::SHORT_VERSION %>
|
8
8
|
* at <%= Time.now %>.
|
@@ -2,7 +2,7 @@
|
|
2
2
|
# / | / _ |/ / / / | / /__ __/ Source Code Static Analyzer
|
3
3
|
# / /| | / / / / / / / |/ / / / AdLint - Advanced Lint
|
4
4
|
# / __ |/ /_/ / /___/ / /| / / /
|
5
|
-
# /_/ |_|_____/_____/_/_/ |_/ /_/ Copyright (C) 2010-
|
5
|
+
# /_/ |_|_____/_____/_/_/ |_/ /_/ Copyright (C) 2010-2014, OGIS-RI Co.,Ltd.
|
6
6
|
#
|
7
7
|
# Traits file generated by adlintize <%= AdLint::SHORT_VERSION %> at <%= Time.now %>.
|
8
8
|
|
@@ -2,7 +2,7 @@
|
|
2
2
|
* / | / _ |/ / / / | / /__ __/ Source Code Static Analyzer
|
3
3
|
* / /| | / / / / / / / |/ / / / AdLint - Advanced Lint
|
4
4
|
* / __ |/ /_/ / /___/ / /| / / /
|
5
|
-
* /_/ |_|_____/_____/_/_/ |_/ /_/ Copyright (C) 2010-
|
5
|
+
* /_/ |_|_____/_____/_/_/ |_/ /_/ Copyright (C) 2010-2014, OGIS-RI Co.,Ltd.
|
6
6
|
*
|
7
7
|
* Initial header for GCC 4.3.4 on Cygwin generated by adlintize <%= AdLint::SHORT_VERSION %>
|
8
8
|
* at <%= Time.now %>.
|
@@ -2,7 +2,7 @@
|
|
2
2
|
# / | / _ |/ / / / | / /__ __/ Source Code Static Analyzer
|
3
3
|
# / /| | / / / / / / / |/ / / / AdLint - Advanced Lint
|
4
4
|
# / __ |/ /_/ / /___/ / /| / / /
|
5
|
-
# /_/ |_|_____/_____/_/_/ |_/ /_/ Copyright (C) 2010-
|
5
|
+
# /_/ |_|_____/_____/_/_/ |_/ /_/ Copyright (C) 2010-2014, OGIS-RI Co.,Ltd.
|
6
6
|
#
|
7
7
|
# Traits file generated by adlintize <%= AdLint::SHORT_VERSION %> at <%= Time.now %>.
|
8
8
|
|
@@ -2,7 +2,7 @@
|
|
2
2
|
* / | / _ |/ / / / | / /__ __/ Source Code Static Analyzer
|
3
3
|
* / /| | / / / / / / / |/ / / / AdLint - Advanced Lint
|
4
4
|
* / __ |/ /_/ / /___/ / /| / / /
|
5
|
-
* /_/ |_|_____/_____/_/_/ |_/ /_/ Copyright (C) 2010-
|
5
|
+
* /_/ |_|_____/_____/_/_/ |_/ /_/ Copyright (C) 2010-2014, OGIS-RI Co.,Ltd.
|
6
6
|
*
|
7
7
|
* Initial header for GCC 4.5.2 on DevKit generated by adlintize <%= AdLint::SHORT_VERSION %>
|
8
8
|
* at <%= Time.now %>.
|
@@ -2,7 +2,7 @@
|
|
2
2
|
# / | / _ |/ / / / | / /__ __/ Source Code Static Analyzer
|
3
3
|
# / /| | / / / / / / / |/ / / / AdLint - Advanced Lint
|
4
4
|
# / __ |/ /_/ / /___/ / /| / / /
|
5
|
-
# /_/ |_|_____/_____/_/_/ |_/ /_/ Copyright (C) 2010-
|
5
|
+
# /_/ |_|_____/_____/_/_/ |_/ /_/ Copyright (C) 2010-2014, OGIS-RI Co.,Ltd.
|
6
6
|
#
|
7
7
|
# Traits file generated by adlintize <%= AdLint::SHORT_VERSION %> at <%= Time.now %>.
|
8
8
|
|
@@ -2,7 +2,7 @@
|
|
2
2
|
* / | / _ |/ / / / | / /__ __/ Source Code Static Analyzer
|
3
3
|
* / /| | / / / / / / / |/ / / / AdLint - Advanced Lint
|
4
4
|
* / __ |/ /_/ / /___/ / /| / / /
|
5
|
-
* /_/ |_|_____/_____/_/_/ |_/ /_/ Copyright (C) 2010-
|
5
|
+
* /_/ |_|_____/_____/_/_/ |_/ /_/ Copyright (C) 2010-2014, OGIS-RI Co.,Ltd.
|
6
6
|
*
|
7
7
|
* Initial header for GCC 4.5.1 on Linux generated by adlintize <%= AdLint::SHORT_VERSION %>
|
8
8
|
* at <%= Time.now %>.
|
@@ -2,7 +2,7 @@
|
|
2
2
|
# / | / _ |/ / / / | / /__ __/ Source Code Static Analyzer
|
3
3
|
# / /| | / / / / / / / |/ / / / AdLint - Advanced Lint
|
4
4
|
# / __ |/ /_/ / /___/ / /| / / /
|
5
|
-
# /_/ |_|_____/_____/_/_/ |_/ /_/ Copyright (C) 2010-
|
5
|
+
# /_/ |_|_____/_____/_/_/ |_/ /_/ Copyright (C) 2010-2014, OGIS-RI Co.,Ltd.
|
6
6
|
#
|
7
7
|
# Traits file generated by adlintize <%= AdLint::SHORT_VERSION %> at <%= Time.now %>.
|
8
8
|
|
@@ -2,7 +2,7 @@
|
|
2
2
|
* / | / _ |/ / / / | / /__ __/ Source Code Static Analyzer
|
3
3
|
* / /| | / / / / / / / |/ / / / AdLint - Advanced Lint
|
4
4
|
* / __ |/ /_/ / /___/ / /| / / /
|
5
|
-
* /_/ |_|_____/_____/_/_/ |_/ /_/ Copyright (C) 2010-
|
5
|
+
* /_/ |_|_____/_____/_/_/ |_/ /_/ Copyright (C) 2010-2014, OGIS-RI Co.,Ltd.
|
6
6
|
*
|
7
7
|
* Initial header for GCC 4.6.1 on MinGW generated by adlintize <%= AdLint::SHORT_VERSION %>
|
8
8
|
* at <%= Time.now %>.
|
@@ -2,7 +2,7 @@
|
|
2
2
|
# / | / _ |/ / / / | / /__ __/ Source Code Static Analyzer
|
3
3
|
# / /| | / / / / / / / |/ / / / AdLint - Advanced Lint
|
4
4
|
# / __ |/ /_/ / /___/ / /| / / /
|
5
|
-
# /_/ |_|_____/_____/_/_/ |_/ /_/ Copyright (C) 2010-
|
5
|
+
# /_/ |_|_____/_____/_/_/ |_/ /_/ Copyright (C) 2010-2014, OGIS-RI Co.,Ltd.
|
6
6
|
#
|
7
7
|
# Traits file generated by adlintize <%= AdLint::SHORT_VERSION %> at <%= Time.now %>.
|
8
8
|
|
@@ -2,7 +2,7 @@
|
|
2
2
|
# / | / _ |/ / / / | / /__ __/ Source Code Static Analyzer
|
3
3
|
# / /| | / / / / / / / |/ / / / AdLint - Advanced Lint
|
4
4
|
# / __ |/ /_/ / /___/ / /| / / /
|
5
|
-
# /_/ |_|_____/_____/_/_/ |_/ /_/ Copyright (C) 2010-
|
5
|
+
# /_/ |_|_____/_____/_/_/ |_/ /_/ Copyright (C) 2010-2014, OGIS-RI Co.,Ltd.
|
6
6
|
#
|
7
7
|
# GNUmakefile generated by adlintize <%= AdLint::SHORT_VERSION %> at <%= Time.now %>.
|
8
8
|
#
|
@@ -2,7 +2,7 @@
|
|
2
2
|
: / | / _ |/ / / / | / /__ __/ Source Code Static Analyzer
|
3
3
|
: / /| | / / / / / / / |/ / / / AdLint - Advanced Lint
|
4
4
|
: / __ |/ /_/ / /___/ / /| / / /
|
5
|
-
: /_/ |_|_____/_____/_/_/ |_/ /_/ Copyright (C) 2010-
|
5
|
+
: /_/ |_|_____/_____/_/_/ |_/ /_/ Copyright (C) 2010-2014, OGIS-RI Co.,Ltd.
|
6
6
|
:
|
7
7
|
: MS-Windows BAT file generated by adlintize <%= AdLint::SHORT_VERSION %> at <%= Time.now %>
|
8
8
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# / | / _ |/ / / / | / /__ __/ Source Code Static Analyzer
|
4
4
|
# / /| | / / / / / / / |/ / / / AdLint - Advanced Lint
|
5
5
|
# / __ |/ /_/ / /___/ / /| / / /
|
6
|
-
# /_/ |_|_____/_____/_/_/ |_/ /_/ Copyright (C) 2010-
|
6
|
+
# /_/ |_|_____/_____/_/_/ |_/ /_/ Copyright (C) 2010-2014, OGIS-RI Co.,Ltd.
|
7
7
|
#
|
8
8
|
# Shell script generated by adlintize <%= AdLint::SHORT_VERSION %> at <%= Time.now %>
|
9
9
|
|
data/etc/conf.d/noarch/pinit.erb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
* / | / _ |/ / / / | / /__ __/ Source Code Static Analyzer
|
3
3
|
* / /| | / / / / / / / |/ / / / AdLint - Advanced Lint
|
4
4
|
* / __ |/ /_/ / /___/ / /| / / /
|
5
|
-
* /_/ |_|_____/_____/_/_/ |_/ /_/ Copyright (C) 2010-
|
5
|
+
* /_/ |_|_____/_____/_/_/ |_/ /_/ Copyright (C) 2010-2014, OGIS-RI Co.,Ltd.
|
6
6
|
*
|
7
7
|
* Project specific initial header file generated by adlintize <%= AdLint::SHORT_VERSION %>
|
8
8
|
* at <%= Time.now %>.
|
@@ -0,0 +1,150 @@
|
|
1
|
+
/* ___ ____ __ ___ _________
|
2
|
+
* / | / _ |/ / / / | / /__ __/ Source Code Static Analyzer
|
3
|
+
* / /| | / / / / / / / |/ / / / AdLint - Advanced Lint
|
4
|
+
* / __ |/ /_/ / /___/ / /| / / /
|
5
|
+
* /_/ |_|_____/_____/_/_/ |_/ /_/ Copyright (C) 2010-2014, OGIS-RI Co.,Ltd.
|
6
|
+
*
|
7
|
+
* Initial header for GCC 4.4.7 on CentOS 6.4 (64bit) generated by adlintize <%= AdLint::SHORT_VERSION %>
|
8
|
+
*/
|
9
|
+
|
10
|
+
#define __DBL_MIN_EXP__ (-1021)
|
11
|
+
#define __FLT_MIN__ 1.17549435e-38F
|
12
|
+
#define __CHAR_BIT__ 8
|
13
|
+
#define __WCHAR_MAX__ 2147483647
|
14
|
+
#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1 1
|
15
|
+
#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2 1
|
16
|
+
#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 1
|
17
|
+
#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
|
18
|
+
#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 1
|
19
|
+
#define __FLT_EVAL_METHOD__ 0
|
20
|
+
#define __unix__ 1
|
21
|
+
#define __x86_64 1
|
22
|
+
#define __DBL_MIN_10_EXP__ (-307)
|
23
|
+
#define __FINITE_MATH_ONLY__ 0
|
24
|
+
#define __GNUC_PATCHLEVEL__ 7
|
25
|
+
#define __DEC64_MAX_EXP__ 385
|
26
|
+
#define __SHRT_MAX__ 32767
|
27
|
+
#define __LDBL_MAX__ 1.18973149535723176502e+4932L
|
28
|
+
#define __UINTMAX_TYPE__ long unsigned int
|
29
|
+
#define __linux 1
|
30
|
+
#define __DEC32_EPSILON__ 1E-6DF
|
31
|
+
#define __unix 1
|
32
|
+
#define __LDBL_MAX_EXP__ 16384
|
33
|
+
#define __linux__ 1
|
34
|
+
#define __SCHAR_MAX__ 127
|
35
|
+
#define __DBL_DIG__ 15
|
36
|
+
#define __SIZEOF_INT__ 4
|
37
|
+
#define __SIZEOF_POINTER__ 8
|
38
|
+
#define __USER_LABEL_PREFIX__
|
39
|
+
#define __STDC_HOSTED__ 1
|
40
|
+
#define __LDBL_HAS_INFINITY__ 1
|
41
|
+
#define __FLT_EPSILON__ 1.19209290e-7F
|
42
|
+
#define __LDBL_MIN__ 3.36210314311209350626e-4932L
|
43
|
+
#define __DEC32_MAX__ 9.999999E96DF
|
44
|
+
#define __SIZEOF_LONG__ 8
|
45
|
+
#define __DECIMAL_DIG__ 21
|
46
|
+
#define __gnu_linux__ 1
|
47
|
+
#define __LDBL_HAS_QUIET_NAN__ 1
|
48
|
+
#define __GNUC__ 4
|
49
|
+
#define __MMX__ 1
|
50
|
+
#define __FLT_HAS_DENORM__ 1
|
51
|
+
#define __SIZEOF_LONG_DOUBLE__ 16
|
52
|
+
#define __BIGGEST_ALIGNMENT__ 16
|
53
|
+
#define __DBL_MAX__ 1.7976931348623157e+308
|
54
|
+
#define __DBL_HAS_INFINITY__ 1
|
55
|
+
#define __DEC32_MIN_EXP__ (-94)
|
56
|
+
#define __LDBL_HAS_DENORM__ 1
|
57
|
+
#define __DEC128_MAX__ 9.999999999999999999999999999999999E6144DL
|
58
|
+
#define __DEC32_MIN__ 1E-95DF
|
59
|
+
#define __DBL_MAX_EXP__ 1024
|
60
|
+
#define __DEC128_EPSILON__ 1E-33DL
|
61
|
+
#define __SSE2_MATH__ 1
|
62
|
+
#define __amd64 1
|
63
|
+
#define __LONG_LONG_MAX__ 9223372036854775807LL
|
64
|
+
#define __SIZEOF_SIZE_T__ 8
|
65
|
+
#define __SIZEOF_WINT_T__ 4
|
66
|
+
#define __GCC_HAVE_DWARF2_CFI_ASM 1
|
67
|
+
#define __GXX_ABI_VERSION 1002
|
68
|
+
#define __FLT_MIN_EXP__ (-125)
|
69
|
+
#define __DBL_MIN__ 2.2250738585072014e-308
|
70
|
+
#define __LP64__ 1
|
71
|
+
#define __DECIMAL_BID_FORMAT__ 1
|
72
|
+
#define __DEC128_MIN__ 1E-6143DL
|
73
|
+
#define __REGISTER_PREFIX__
|
74
|
+
#define __DBL_HAS_DENORM__ 1
|
75
|
+
#define __NO_INLINE__ 1
|
76
|
+
#define __FLT_MANT_DIG__ 24
|
77
|
+
#define __VERSION__ "4.4.7 20120313 (Red Hat 4.4.7-3)"
|
78
|
+
#define __DEC64_EPSILON__ 1E-15DD
|
79
|
+
#define __DEC128_MIN_EXP__ (-6142)
|
80
|
+
#define unix 1
|
81
|
+
#define __SIZE_TYPE__ long unsigned int
|
82
|
+
#define __ELF__ 1
|
83
|
+
#define __FLT_RADIX__ 2
|
84
|
+
#define __LDBL_EPSILON__ 1.08420217248550443401e-19L
|
85
|
+
#define __GNUC_RH_RELEASE__ 3
|
86
|
+
#define __SSE_MATH__ 1
|
87
|
+
#define __k8 1
|
88
|
+
#define __SIZEOF_PTRDIFF_T__ 8
|
89
|
+
#define __x86_64__ 1
|
90
|
+
#define __DEC32_SUBNORMAL_MIN__ 0.000001E-95DF
|
91
|
+
#define __FLT_HAS_QUIET_NAN__ 1
|
92
|
+
#define __FLT_MAX_10_EXP__ 38
|
93
|
+
#define __LONG_MAX__ 9223372036854775807L
|
94
|
+
#define __DEC128_SUBNORMAL_MIN__ 0.000000000000000000000000000000001E-6143DL
|
95
|
+
#define __FLT_HAS_INFINITY__ 1
|
96
|
+
#define __DEC64_MAX__ 9.999999999999999E384DD
|
97
|
+
#define __CHAR16_TYPE__ short unsigned int
|
98
|
+
#define __DEC64_MANT_DIG__ 16
|
99
|
+
#define __DEC32_MAX_EXP__ 97
|
100
|
+
#define linux 1
|
101
|
+
#define __SSE2__ 1
|
102
|
+
#define __LDBL_MANT_DIG__ 64
|
103
|
+
#define __DBL_HAS_QUIET_NAN__ 1
|
104
|
+
#define __k8__ 1
|
105
|
+
#define __WCHAR_TYPE__ int
|
106
|
+
#define __SIZEOF_FLOAT__ 4
|
107
|
+
#define __DEC64_MIN_EXP__ (-382)
|
108
|
+
#define __FLT_DIG__ 6
|
109
|
+
#define __INT_MAX__ 2147483647
|
110
|
+
#define __amd64__ 1
|
111
|
+
#define __FLT_MAX_EXP__ 128
|
112
|
+
#define __DBL_MANT_DIG__ 53
|
113
|
+
#define __DEC64_MIN__ 1E-383DD
|
114
|
+
#define __WINT_TYPE__ unsigned int
|
115
|
+
#define __SIZEOF_SHORT__ 2
|
116
|
+
#define __SSE__ 1
|
117
|
+
#define __LDBL_MIN_EXP__ (-16381)
|
118
|
+
#define __LDBL_MAX_10_EXP__ 4932
|
119
|
+
#define __DBL_EPSILON__ 2.2204460492503131e-16
|
120
|
+
#define _LP64 1
|
121
|
+
#define __SIZEOF_WCHAR_T__ 4
|
122
|
+
#define __DEC_EVAL_METHOD__ 2
|
123
|
+
#define __INTMAX_MAX__ 9223372036854775807L
|
124
|
+
#define __FLT_DENORM_MIN__ 1.40129846e-45F
|
125
|
+
#define __CHAR32_TYPE__ unsigned int
|
126
|
+
#define __FLT_MAX__ 3.40282347e+38F
|
127
|
+
#define __SIZEOF_DOUBLE__ 8
|
128
|
+
#define __FLT_MIN_10_EXP__ (-37)
|
129
|
+
#define __INTMAX_TYPE__ long int
|
130
|
+
#define __DEC128_MAX_EXP__ 6145
|
131
|
+
#define __GNUC_MINOR__ 4
|
132
|
+
#define __DEC32_MANT_DIG__ 7
|
133
|
+
#define __DBL_MAX_10_EXP__ 308
|
134
|
+
#define __LDBL_DENORM_MIN__ 3.64519953188247460253e-4951L
|
135
|
+
#define __STDC__ 1
|
136
|
+
#define __PTRDIFF_TYPE__ long int
|
137
|
+
#define __DEC64_SUBNORMAL_MIN__ 0.000000000000001E-383DD
|
138
|
+
#define __DEC128_MANT_DIG__ 34
|
139
|
+
#define __LDBL_MIN_10_EXP__ (-4931)
|
140
|
+
#define __SIZEOF_LONG_LONG__ 8
|
141
|
+
#define __LDBL_DIG__ 18
|
142
|
+
#define __GNUC_GNU_INLINE__ 1
|
143
|
+
|
144
|
+
#define __const const
|
145
|
+
#define __restrict restrict
|
146
|
+
#define __inline inline
|
147
|
+
#define __builtin_va_list void *
|
148
|
+
#define __builtin_va_arg(ar, t) (0)
|
149
|
+
#define __builtin_offsetof(type, member) (0)
|
150
|
+
#define __alignof__(type) (0)
|