Age | Commit message (Expand) | Author | Files | Lines |
2021-01-27 | Makefile: fix version.h dependencies | Kyle Russell | 1 | -1/+0 |
2020-07-30 | fix diagnostic source path from command line | Luc Van Oostenryck | 1 | -0/+2 |
2020-07-22 | add position to struct stream | Luc Van Oostenryck | 1 | -1/+1 |
2020-07-19 | prepend diagnostics with source's path and include chain | Luc Van Oostenryck | 1 | -5/+81 |
2020-07-11 | teach sparse about -fmax-errors | Luc Van Oostenryck | 1 | -1/+1 |
2020-07-06 | predef: simplify add_pre_buffer() | Luc Van Oostenryck | 1 | -6/+3 |
2020-07-06 | cleanup: move hexval() to utils.c | Luc Van Oostenryck | 1 | -17/+0 |
2020-07-06 | cleanup: move parsing helpers to parse.c | Luc Van Oostenryck | 1 | -38/+0 |
2020-07-02 | cleanup: move predefines in a separate file | Luc Van Oostenryck | 1 | -221/+0 |
2020-07-02 | options: move option parsing in a separate file | Luc Van Oostenryck | 1 | -980/+2 |
2020-07-02 | options: add a small helper: handle_switch_finalize() | Luc Van Oostenryck | 1 | -2/+7 |
2020-07-02 | options: avoid spaces between function name and arguments list | Luc Van Oostenryck | 1 | -17/+17 |
2020-07-02 | options: alphasort the handle_switch_[a-zA_Z]() | Luc Van Oostenryck | 1 | -301/+299 |
2020-07-02 | options: move helpers up | Luc Van Oostenryck | 1 | -43/+44 |
2020-07-02 | options: handle_onoff_switch() can handle any flags, not only warnings | Luc Van Oostenryck | 1 | -18/+18 |
2020-07-02 | options: make Wsparse_error less special | Luc Van Oostenryck | 1 | -2/+2 |
2020-07-02 | options: move on top the definition of warning type enums | Luc Van Oostenryck | 1 | -6/+6 |
2020-07-02 | options: move -Wsparse-all's processing out of handle_onoff_switch() | Luc Van Oostenryck | 1 | -8/+8 |
2020-07-02 | options: let handle_onoff_switch() use null terminated arrays | Luc Van Oostenryck | 1 | -9/+11 |
2020-06-23 | teach sparse about __STDC_HOSTED__ | Luc Van Oostenryck | 1 | -0/+4 |
2020-06-18 | Merge branch 'genmacro' | Luc Van Oostenryck | 1 | -2/+0 |
2020-06-18 | pre-process: make __has_{attribute,builtin}() true builtin macros | Luc Van Oostenryck | 1 | -2/+0 |
2020-06-12 | builtin: use a table for the builtins | Luc Van Oostenryck | 1 | -1/+0 |
2020-06-12 | builtin: can be initialized later | Luc Van Oostenryck | 1 | -0/+1 |
2020-06-03 | univ-init: set default to -Wno-universal-initializer | Luc Van Oostenryck | 1 | -1/+1 |
2020-05-27 | add an option to suppress warning 'no newline at EOF' | Luc Van Oostenryck | 1 | -0/+2 |
2020-05-21 | univ-init: conditionally accept { 0 } without warnings | Luc Van Oostenryck | 1 | -0/+2 |
2020-03-15 | teach sparse about -pedantic/-Wpedantic | Luc Van Oostenryck | 1 | -0/+14 |
2020-01-22 | pre-define __unix__ and friends | John Levon | 1 | -0/+6 |
2020-01-22 | add necessary defined for sunos-derived systems | John Levon | 1 | -0/+7 |
2020-01-22 | define __PRAGMA_REDEFINE_EXTNAME | John Levon | 1 | -0/+2 |
2019-12-16 | arch: arch_mach is not needed anymore | Luc Van Oostenryck | 1 | -1/+0 |
2019-12-16 | arch: use arch_target for INT128's predefine | Luc Van Oostenryck | 1 | -9/+1 |
2019-12-16 | arch: move cmodel predefines to the target files. | Luc Van Oostenryck | 1 | -50/+0 |
2019-12-16 | arch: move target-specific predefines to the target files. | Luc Van Oostenryck | 1 | -85/+2 |
2019-12-16 | arch: move handle_arch_finalize() into target_init() | Luc Van Oostenryck | 1 | -34/+1 |
2019-12-16 | arch: move parsing of --arch=<ARCH> to target.c | Luc Van Oostenryck | 1 | -46/+4 |
2019-12-16 | arch: move arch-specificities to their own files | Luc Van Oostenryck | 1 | -31/+27 |
2019-12-01 | teach sparse about C17 | Luc Van Oostenryck | 1 | -0/+13 |
2019-12-01 | separate definition of __STDC_NO_ATOMICS__ and friends from C11 | Luc Van Oostenryck | 1 | -3/+5 |
2019-12-01 | simplify definition of __STRICT_ANSI__ | Luc Van Oostenryck | 1 | -8/+2 |
2019-12-01 | reorganize the __STDC_VERSION__/__STRICT_ANSI__ switch statement | Luc Van Oostenryck | 1 | -8/+5 |
2019-11-28 | allow to test the standard version outside of lib.c | Luc Van Oostenryck | 1 | -7/+1 |
2019-11-28 | simplify initialization of Wdeclarationafterstatement | Luc Van Oostenryck | 1 | -14/+3 |
2019-11-28 | arch: add missing predefines for PPC | Luc Van Oostenryck | 1 | -0/+3 |
2019-11-28 | arch: add missing predfines: __amd64 & __amd64__ | Luc Van Oostenryck | 1 | -0/+2 |
2019-11-28 | Merge branch 'arch-cleanup' into master | Luc Van Oostenryck | 1 | -18/+23 |
2019-11-28 | arch: use a variable for the OS | Luc Van Oostenryck | 1 | -0/+1 |
2019-11-28 | arch: add predefines for INT128 only on supported archs | Luc Van Oostenryck | 1 | -2/+11 |
2019-11-28 | arch: char32_t should be the same as uint32_t, not uint | Luc Van Oostenryck | 1 | -1/+1 |
2019-11-27 | Merge branch 'arm-hf' into master | Luc Van Oostenryck | 1 | -214/+271 |
2019-11-27 | fp-abi: teach sparse about -m{hard,soft}-float | Luc Van Oostenryck | 1 | -0/+2 |
2019-11-27 | fp-abi: teach sparse about -mfloat-abi on ARM | Luc Van Oostenryck | 1 | -0/+23 |
2019-11-15 | option: simpler handling of key-value for suboptions | Luc Van Oostenryck | 1 | -20/+40 |
2019-11-15 | option: use handle_switches() for -m flags | Luc Van Oostenryck | 1 | -17/+17 |
2019-11-15 | option: allow handle_switches() to set non-boolean values | Luc Van Oostenryck | 1 | -0/+4 |
2019-11-15 | arch: teach sparse about -fshort-wchar | Luc Van Oostenryck | 1 | -0/+2 |
2019-11-15 | option: move all option parsing helpers before their potential uses | Luc Van Oostenryck | 1 | -180/+188 |
2019-11-14 | arch: remove impossible cases with 64-bit arch not being lp64 | Luc Van Oostenryck | 1 | -14/+9 |
2019-11-14 | arch: fix the signedness of plain chars | Luc Van Oostenryck | 1 | -1/+1 |
2019-11-12 | Add -Wexternal-function-has-definition | John Levon | 1 | -0/+2 |
2019-11-12 | lib.c: fix spelling of _BIG_ENDIAN | Ramsay Jones | 1 | -1/+1 |
2019-11-09 | cgcc: let sparse define _BIG_ENDIAN | Luc Van Oostenryck | 1 | -0/+2 |
2019-11-06 | arch: fix setting the endianness | Luc Van Oostenryck | 1 | -3/+1 |
2019-11-05 | Merge branch 'option-arch' | Luc Van Oostenryck | 1 | -0/+72 |
2019-10-30 | arch: add an option to specify the desired arch: --arch=<arch> | Luc Van Oostenryck | 1 | -0/+68 |
2019-10-30 | arch: add support for s390 (ILP32) | Luc Van Oostenryck | 1 | -0/+3 |
2019-10-30 | arch: add predefine for __mips__ | Luc Van Oostenryck | 1 | -0/+1 |
2019-10-28 | options: add support for -mcmodel | Luc Van Oostenryck | 1 | -0/+86 |
2019-10-28 | options: add support for -fpic, -fPIC, -fpie & -fPIE | Luc Van Oostenryck | 1 | -0/+24 |
2019-10-03 | cleanup: make arch_msize_long static | Luc Van Oostenryck | 1 | -1/+1 |
2019-02-07 | predefs: add arch-specific predefines | Luc Van Oostenryck | 1 | -7/+60 |
2019-02-04 | predefs: fix for MIPS system headers needing _MIPS_SZ{INT,LONG,PTR} | Luc Van Oostenryck | 1 | -0/+9 |
2019-02-04 | lib.c: move handle_arch_m64_finalize() to init_target() | Luc Van Oostenryck | 1 | -41/+1 |
2019-02-04 | lib.c: move predefines out of handle_arch_m64_finalize() | Luc Van Oostenryck | 1 | -12/+24 |
2018-12-19 | Merge branch 'bitwise-ptr' | Luc Van Oostenryck | 1 | -0/+2 |
2018-12-17 | add a flag to warn on casts to/from bitwise pointers | Luc Van Oostenryck | 1 | -0/+2 |
2018-12-17 | Merge branch 'predefs' into tipv0.6.0-rc1 | Luc Van Oostenryck | 1 | -65/+101 |
2018-12-17 | add predefine_min() and use it for __{WCHAR,WINT}_MIN__ | Luc Van Oostenryck | 1 | -2/+17 |
2018-12-17 | add predefine for __CHAR_UNSIGNED__ | Luc Van Oostenryck | 1 | -1/+3 |
2018-12-17 | add predefined macros for char{16,32}_t | Luc Van Oostenryck | 1 | -0/+2 |
2018-12-17 | add predefined macros for [u]int32_t | Luc Van Oostenryck | 1 | -0/+2 |
2018-12-17 | add predefined macros for [u]int64_t | Luc Van Oostenryck | 1 | -0/+8 |
2018-12-17 | add predefined macros for [u]int{8,16}_t | Luc Van Oostenryck | 1 | -0/+5 |
2018-12-17 | add predefined macros for [u]intmax | Luc Van Oostenryck | 1 | -0/+6 |
2018-12-17 | add predefined macros for [u]intptr | Luc Van Oostenryck | 1 | -0/+2 |
2018-12-17 | add predefined macros for wint_t | Luc Van Oostenryck | 1 | -0/+1 |
2018-12-17 | use the type for predefined_max() | Luc Van Oostenryck | 1 | -5/+5 |
2018-12-17 | give a type to wchar | Luc Van Oostenryck | 1 | -3/+3 |
2018-12-17 | make predefined_type_size() more generic | Luc Van Oostenryck | 1 | -23/+38 |
2018-12-14 | use bits_mask() for predefined_max() | Luc Van Oostenryck | 1 | -1/+2 |
2018-12-14 | allow optional "_T" suffix to __SIZEOF_XXX__ | Luc Van Oostenryck | 1 | -12/+12 |
2018-12-14 | fix '__SIZE_TYPE__' for LLP64 | Luc Van Oostenryck | 1 | -10/+7 |
2018-12-14 | Consolidate 'machine detection' into "machine.h" | Luc Van Oostenryck | 1 | -21/+1 |
2018-12-09 | Merge branch 'dump-macros' | Luc Van Oostenryck | 1 | -9/+32 |
2018-12-01 | Conditionalize 'warning: non-ANSI function ...' | John Levon | 1 | -0/+4 |
2018-12-01 | Use -Wimplicit-int when warning about missing K&R argument types | Luc Van Oostenryck | 1 | -0/+2 |
2018-11-24 | pre-process: add the -dM option to dump macro definitions | Ramsay Jones | 1 | -9/+32 |
2018-11-24 | teach sparse about '-x <language>' | Luc Van Oostenryck | 1 | -0/+8 |
2018-11-24 | teach sparse about '-o <file>' | Luc Van Oostenryck | 1 | -0/+13 |
2018-11-23 | constant: add -Wconstant-suffix warning | Ramsay Jones | 1 | -0/+2 |
2018-09-06 | Merge branches 'missing-return' and 'fix-logical-phi' into tip | Luc Van Oostenryck | 1 | -0/+1 |
2018-09-05 | add linearization as a pass | Luc Van Oostenryck | 1 | -0/+1 |
2018-09-01 | stricter warning for explicit cast to ulong | Luc Van Oostenryck | 1 | -0/+2 |
2018-09-01 | has-attr: add support for __has_attribute() | Luc Van Oostenryck | 1 | -0/+1 |
2018-08-25 | Merge branch 'ssa' into tip | Luc Van Oostenryck | 1 | -0/+4 |
2018-07-23 | big-shift: add -Wshift-count-{negative,overflow} | Luc Van Oostenryck | 1 | -0/+4 |
2018-07-01 | dom: add some debugging for the dominance tree | Luc Van Oostenryck | 1 | -0/+2 |
2018-07-01 | graph: add debugging for (reverse) postorder traversal | Luc Van Oostenryck | 1 | -0/+2 |
2018-06-23 | cast: add support for -Wpointer-to-int-cast | Luc Van Oostenryck | 1 | -0/+2 |
2018-06-23 | cast: specialize casts from unsigned to pointers | Luc Van Oostenryck | 1 | -0/+2 |
2018-06-21 | Merge branch 'ptrlist-cleanup' into tip | Luc Van Oostenryck | 1 | -2/+2 |
2018-06-21 | ptrlist: remove ptr_list_empty() | Luc Van Oostenryck | 1 | -1/+1 |
2018-06-21 | Merge branch 'ir-validate' into tip | Luc Van Oostenryck | 1 | -4/+6 |
2018-06-21 | add predefines for __INT_WIDTH__ & friends | Luc Van Oostenryck | 1 | -0/+15 |
2018-06-16 | ir-validate: add framework for IR validation | Luc Van Oostenryck | 1 | -0/+2 |
2018-06-16 | keep the debug flags alphabetically sorted | Luc Van Oostenryck | 1 | -4/+4 |
2018-06-16 | add support for -fdiagnostic-prefix[=prefix] | Luc Van Oostenryck | 1 | -3/+19 |
2018-06-13 | ptrlist: remove now unneeded add_ptr_list_notag() | Luc Van Oostenryck | 1 | -1/+1 |
2018-06-13 | teach sparse about -m16 | Luc Van Oostenryck | 1 | -1/+1 |
2018-06-12 | Merge branches 'has-builtin' and 'builtin-predef' into tip | Luc Van Oostenryck | 1 | -97/+86 |
2018-06-12 | builtin: merge declare_builtin_function() with declare_builtins() | Luc Van Oostenryck | 1 | -19/+0 |
2018-06-12 | builtin: switch calling order of predefined_macros() & friends | Luc Van Oostenryck | 1 | -2/+2 |
2018-06-08 | builtin: consolidate predefined_macros() | Luc Van Oostenryck | 1 | -56/+56 |
2018-06-08 | builtin: directly predefine builtin macros | Luc Van Oostenryck | 1 | -38/+45 |
2018-06-08 | builtin: add support for __has_builtin() | Luc Van Oostenryck | 1 | -0/+1 |
2018-06-04 | dyn-macro: add real support for __BASE_FILE__ | Luc Van Oostenryck | 1 | -3/+3 |
2018-06-01 | avoid multiple error message after parsing error | Luc Van Oostenryck | 1 | -1/+8 |
2018-05-26 | add helper for new parsing errors: unexpected() | Luc Van Oostenryck | 1 | -1/+16 |
2018-05-21 | Merge branch 'doc-sphinx' into tip | Luc Van Oostenryck | 1 | -0/+1 |
2018-05-21 | api: move evaluate interface to its own header file | Luc Van Oostenryck | 1 | -0/+1 |
2018-05-05 | Merge branches 'no-path-max', 'vcompound' and 'build-x32' into tip | Luc Van Oostenryck | 1 | -6/+23 |
2018-05-04 | sparse: option to print compound global data symbol info | Randy Dunlap | 1 | -0/+2 |
2018-05-01 | use also __x86_64 when __x86_64__ is used | Luc Van Oostenryck | 1 | -2/+3 |
2018-05-01 | add a flag -mx32 ILP32 env on 64 bit archs | Luc Van Oostenryck | 1 | -0/+12 |
2018-05-01 | use an enum for ARCH_LP32 & friends | Luc Van Oostenryck | 1 | -3/+5 |
2018-04-30 | fix alignment of 64 bit integers on LLP64 | Luc Van Oostenryck | 1 | -1/+1 |
2018-04-30 | default to LP64 for all and only for 64 bit ABIs | Luc Van Oostenryck | 1 | -1/+1 |
2018-04-11 | sparse: add -Wpointer-arith flag to toggle sizeof(void) warnings | Joey Pabalinas | 1 | -0/+2 |
2018-02-24 | rename variable 'optimize' to 'optimize_level' | Luc Van Oostenryck | 1 | -3/+3 |
2018-02-17 | builtin: make builtins more builtin | Luc Van Oostenryck | 1 | -155/+5 |
2018-02-17 | add __builtin functions for isinf_sign, isfinite and isnan | Logan Gunthorpe | 1 | -0/+3 |
2018-02-15 | By default disable the warning flag '-Wunknown-attribute' | Luc Van Oostenryck | 1 | -1/+1 |
2018-01-26 | lib.c: early return from handle_onoff_switch() | Randy Dunlap | 1 | -0/+1 |
2018-01-07 | cleanup: make some functions static | Luc Van Oostenryck | 1 | -3/+3 |
2018-01-07 | Merge branches 'fmax-warnings', 'funsigned-char', 'testcase-fix-missing-retur... | Luc Van Oostenryck | 1 | -3/+16 |
2018-01-03 | teach sparse about '-fmax-warnings' | Luc Van Oostenryck | 1 | -3/+11 |
2017-12-29 | add support for '-f[no-][un]signed-char' | Luc Van Oostenryck | 1 | -0/+3 |
2017-12-29 | let handle_switches() also handle reverse logic | Luc Van Oostenryck | 1 | -0/+2 |
2017-12-16 | fix: spaces in macro definition on the command line | Luc Van Oostenryck | 1 | -1/+1 |
2017-12-13 | fix: accept 'sparse -D M...' | Luc Van Oostenryck | 1 | -4/+8 |
2017-11-13 | Merge branch 'dump-ir' into tip | Luc Van Oostenryck | 1 | -61/+185 |
2017-11-13 | dump-ir: make it more flexible | Luc Van Oostenryck | 1 | -8/+62 |
2017-11-13 | dump-ir: rename -fdump-linearize to -fdump-ir | Luc Van Oostenryck | 1 | -4/+4 |
2017-11-12 | dump-ir: allow to specify the passes to execute via cli's options | Luc Van Oostenryck | 1 | -0/+34 |
2017-11-11 | Merge branches 'volatile-loads-are-side-effects', 'fix-volatile-simplificatio... | Luc Van Oostenryck | 1 | -0/+1 |
2017-11-11 | flush stdout when warning | Luc Van Oostenryck | 1 | -0/+1 |
2017-09-18 | fix: missing evaluate with '-include' | Luc Van Oostenryck | 1 | -0/+14 |
2017-09-14 | option: handle switches by table | Luc Van Oostenryck | 1 | -43/+48 |
2017-09-14 | option: constify match_option() | Luc Van Oostenryck | 1 | -7/+7 |
2017-09-14 | option: use OPTION_NUMERIC() for handle_switch_fmemcpy_max_count() | Luc Van Oostenryck | 1 | -17/+5 |
2017-09-14 | option: add support for '-<some-option>=unlimited' | Luc Van Oostenryck | 1 | -0/+4 |
2017-09-14 | option: add support for options with 'zero is infinity' | Luc Van Oostenryck | 1 | -1/+6 |
2017-09-14 | option: extract OPTION_NUMERIC() from handle_switch_fmemcpy_max_count() | Luc Van Oostenryck | 1 | -0/+19 |
2017-09-14 | option: let handle_simple_switch() handle an array of flags | Luc Van Oostenryck | 1 | -9/+18 |
2017-09-14 | option: rename 'struct warning' to 'struct flag' | Luc Van Oostenryck | 1 | -5/+5 |
2017-09-14 | option: add helper to parse/match command line options | Luc Van Oostenryck | 1 | -14/+20 |
2017-08-28 | Merge remote-tracking branch 'luc/constexpr-v4' into master | Christopher Li | 1 | -0/+2 |
2017-08-09 | lib: workaround the 'redeclared with different type' errors | Ramsay Jones | 1 | -0/+2 |
2017-08-09 | Adding _Pragma() | Christopher Li | 1 | -0/+1 |
2017-06-21 | teach sparse about __BYTE_ORDER__ & __ORDER_{BIG,LITTLE}_ENDIAN__ | Luc Van Oostenryck | 1 | -0/+6 |
2017-06-21 | teach sparse about __{BIG,LITTLE}_ENDIAN__ | Luc Van Oostenryck | 1 | -0/+3 |
2017-06-21 | teach sparse about -m{big,little}-endian | Luc Van Oostenryck | 1 | -1/+14 |
2017-06-15 | add support for -fmemcpy-max-count | Luc Van Oostenryck | 1 | -0/+18 |
2017-06-15 | add support for -Wmemcpy-max-count | Luc Van Oostenryck | 1 | -0/+2 |
2017-06-15 | keep the warnings table alphabetically sorted | Luc Van Oostenryck | 1 | -1/+1 |
2017-06-14 | Merge branches 'quiets-bool-cast-restricted-v3', 'error-vs-warnings-v2', 'imp... | Luc Van Oostenryck | 1 | -17/+125 |
2017-06-13 | Add more declarations for more builtin functions | Luc Van Oostenryck | 1 | -0/+44 |
2017-06-10 | finer control over error vs. warnings | Luc Van Oostenryck | 1 | -2/+5 |
2017-05-19 | Merge branches 'dump-macros-v2', 'fix-predefined-size', 'fix-bool-context', '...v0.5.1-rc1 | Luc Van Oostenryck | 1 | -15/+76 |
2017-05-19 | let -dD report macro definitions | Luc Van Oostenryck | 1 | -0/+5 |
2017-05-19 | teach sparse how to handle -dD flag | Luc Van Oostenryck | 1 | -0/+16 |
2017-05-19 | fix definition of __SCHAR_MAX__ & friends | Luc Van Oostenryck | 1 | -7/+10 |
2017-05-19 | avoid to redefine __INT_MAX__ and friends | Luc Van Oostenryck | 1 | -4/+0 |
2017-05-19 | add support for a new flag: -fdump-linearize[=only] | Luc Van Oostenryck | 1 | -0/+22 |
2017-05-15 | teach sparse how to handle '-fmem-report' | Luc Van Oostenryck | 1 | -4/+4 |
2017-05-15 | add helper handle_simple_switch() | Luc Van Oostenryck | 1 | -0/+19 |
2017-04-30 | Merge branches 'sent/float-expand-v2', 'sent/fix-kill-ttsb-v2', 'sent/fix-con... | Luc Van Oostenryck | 1 | -0/+2 |
2017-03-31 | constexpr: check static storage duration objects' intializers' constness | Nicolai Stange | 1 | -0/+2 |
2017-03-27 | predefine __SIZEOF_INT__ & friends | Luc Van Oostenryck | 1 | -0/+10 |
2017-03-27 | predefine __INT_MAX__ and friends | Luc Van Oostenryck | 1 | -5/+18 |
2017-03-22 | teach sparse about -Waddress | Luc Van Oostenryck | 1 | -0/+2 |
2017-03-06 | add an optional validation method to external_declaration() | Luc Van Oostenryck | 1 | -1/+1 |
2017-03-04 | ignore whole-range overlapping initializer | Luc Van Oostenryck | 1 | -0/+1 |
2017-03-04 | allow to warn on all overlapping initializers | Luc Van Oostenryck | 1 | -0/+2 |
2017-03-04 | use option: '-Woverride-init' | Luc Van Oostenryck | 1 | -0/+2 |
2017-03-04 | make -Wbitwise operational again | Luc Van Oostenryck | 1 | -1/+1 |
2017-02-13 | expand __builtin_bswap*() with constant args | Luc Van Oostenryck | 1 | -32/+3 |
2017-02-13 | add support for LLP64 arch | Luc Van Oostenryck | 1 | -7/+27 |
2017-02-13 | add warning option '-Wtautological-compare' | Luc Van Oostenryck | 1 | -0/+2 |