aboutsummaryrefslogtreecommitdiffstats
path: root/symbol.h
AgeCommit message (Expand)AuthorFilesLines
2021-01-02removed an unused parameter for show_symbol_list()Bernd Petrovitsch1-1/+1
2020-12-29packed: add support for __packed structLuc Van Oostenryck1-0/+1
2020-12-29packed: no out-of-bound access of packed bitfieldsLuc Van Oostenryck1-0/+1
2020-10-19builtin: add builtin type: [volatile] pointer to boolLuc Van Oostenryck1-0/+1
2020-10-14builtin: add builtin type for volatile void *Luc Van Oostenryck1-0/+1
2020-10-08add helpers is_struct_type() & is_union_type()Ilya Maximets1-0/+14
2020-10-06Merge branch 'flex-array-base'Luc Van Oostenryck1-0/+8
2020-10-04add builtin types for size_t*, intmax_t* & ptrdiff_t*Luc Van Oostenryck1-0/+1
2020-10-04add builtin types for signed char* and short *Luc Van Oostenryck1-0/+1
2020-10-04add builtin type for wide stringsLuc Van Oostenryck1-0/+1
2020-10-01flex-array: add helper has_flexible_array()Luc Van Oostenryck1-0/+7
2020-10-01flex-array: identify structures with a flexible array memberLuc Van Oostenryck1-0/+1
2020-08-11fix is_scalar_type(): fouled types are scalars tooLuc Van Oostenryck1-0/+2
2020-08-09Merge branches 'attr-asm' and 'storage-mod'Luc Van Oostenryck1-3/+6
2020-08-09parse: let asm_modifier() use the keyword modifierLuc Van Oostenryck1-1/+1
2020-08-09parse: associate modifiers with their keywordLuc Van Oostenryck1-1/+1
2020-08-09parse: rework handling of storage_classLuc Van Oostenryck1-1/+3
2020-08-08wstring: add helper is_wchar_type()Luc Van Oostenryck1-0/+7
2020-07-31Merge branch 'array-decl'Luc Van Oostenryck1-1/+1
2020-07-29dissect: use struct symbol::visited/inspected instead of ::examined/evaluatedLuc Van Oostenryck1-2/+3
2020-07-25show-mod: add helper to show the modifiers but without ending spaceLuc Van Oostenryck1-0/+1
2020-07-23simplify & fix parsing of array declaratorsLuc Van Oostenryck1-1/+1
2020-07-14arch: allow target specific [u]intptr_t & ptrdiff_tLuc Van Oostenryck1-3/+0
2020-06-18Merge branch 'genmacro'Luc Van Oostenryck1-1/+3
2020-06-18pre-process: add support for builtin macrosLuc Van Oostenryck1-0/+2
2020-06-18pre-process: rename 'expander' into 'expand_simple'Luc Van Oostenryck1-1/+1
2020-06-12ctype: keep modifiers & base_type closeLuc Van Oostenryck1-1/+1
2020-06-12builtin: use a table for the builtinsLuc Van Oostenryck1-1/+0
2020-05-21Merge branch 'bad-goto'Luc Van Oostenryck1-0/+7
2020-05-21bad-label: respect attribute((unused))Luc Van Oostenryck1-0/+1
2020-05-21scope: give a scope for labels & gotosLuc Van Oostenryck1-0/+4
2020-05-21scope: extract bind_symbol_with_scope() from bind_symbol()Luc Van Oostenryck1-0/+1
2020-05-21bad-goto: do not linearize if the IR will be invalidLuc Van Oostenryck1-0/+1
2020-05-19attribute: 'externally_visible' is just another 'declaration' modifierLuc Van Oostenryck1-1/+0
2020-05-19attribute: 'inline' is just another 'declaration' modifierLuc Van Oostenryck1-2/+2
2020-05-19attribute: '__tls' is just another 'declaration' modifierLuc Van Oostenryck1-2/+2
2020-05-17attribute: teach sparse about attribute((gnu_inline))Luc Van Oostenryck1-4/+4
2020-05-17attribute: separate modifiers into type/declarationLuc Van Oostenryck1-0/+3
2020-05-17attribute: add support for unusedLuc Van Oostenryck1-3/+3
2020-05-17attribute: allow some attribute to be present multiple timesLuc Van Oostenryck1-0/+2
2020-04-13Merge branch 'fix-atomic-type'Luc Van Oostenryck1-3/+3
2020-03-24add support for GCC's __auto_typeLuc Van Oostenryck1-0/+2
2020-03-20add support for linearization of builtinsLuc Van Oostenryck1-1/+6
2020-02-06fix type compatibility of _AtomicLuc Van Oostenryck1-3/+3
2019-12-16arch: move arch-specificities to their own filesLuc Van Oostenryck1-1/+0
2019-11-28spec: replace lllong_ctype by int128_ctypeLuc Van Oostenryck1-1/+1
2019-11-26Merge branch 'parse-spec' into masterLuc Van Oostenryck1-10/+10
2019-11-25spec: get rid of all specifier MOD_XXXLuc Van Oostenryck1-8/+8
2019-11-20propagate function modifiers only to functionsLuc Van Oostenryck1-1/+2
2019-11-19fix assignment check with function attributeLuc Van Oostenryck1-0/+2
2019-11-15function attributes apply to the function declarationLuc Van Oostenryck1-0/+2
2019-11-11spec: KW_LONG is not neededLuc Van Oostenryck1-1/+1
2019-11-11spec: KW_SHORT is not neededLuc Van Oostenryck1-1/+1
2019-11-03remove unneeded MOD_TYPELuc Van Oostenryck1-2/+2
2019-11-03remove unused SYM_TYPEDEFLuc Van Oostenryck1-1/+0
2019-11-03remove unused SYM_MEMBERLuc Van Oostenryck1-1/+0
2019-11-03remove unused KW_STATEMENTLuc Van Oostenryck1-1/+1
2019-03-27evaluate: externally_visible functions don't need a declarationJann Horn1-1/+3
2018-12-17Merge branch 'predefs' into tipv0.6.0-rc1Luc Van Oostenryck1-0/+2
2018-12-17give a type to wcharLuc Van Oostenryck1-0/+1
2018-12-14teach sparse about asm inlineLuc Van Oostenryck1-0/+2
2018-12-14add builtin_type_suffix()Luc Van Oostenryck1-0/+1
2018-12-12as-named: warn on bad address spaceLuc Van Oostenryck1-2/+5
2018-12-12as-name: use idents for address spacesLuc Van Oostenryck1-2/+22
2018-12-09as-name: add and use show_as()Luc Van Oostenryck1-0/+1
2018-10-05doc: is_int_type() returns false for SYM_RESTRICTsLuc Van Oostenryck1-0/+5
2018-08-25Merge branch 'ssa' into tipLuc Van Oostenryck1-0/+19
2018-07-23bits: add helpers for zero & sign-extensionLuc Van Oostenryck1-0/+8
2018-07-01ssa: phase 1: phi-nodes placementLuc Van Oostenryck1-0/+1
2018-07-01add new helper: is_integral_type()Luc Van Oostenryck1-0/+18
2018-06-23cast: make [u]intptr_ctype alias of [s]size_t_ctypeLuc Van Oostenryck1-0/+3
2018-06-08builtin: add support for __has_builtin()Luc Van Oostenryck1-0/+1
2018-06-08builtin: add builtin types {u,}{int,long,long}_ptr_ctypeLuc Van Oostenryck1-0/+3
2018-06-04dyn-macro: use a table to expand __DATE__, __FILE__, ...Luc Van Oostenryck1-0/+1
2018-05-06Merge branches 'unop', 'describe-dirty', 'range-syntax', 'old-testcases', 'fi...Luc Van Oostenryck1-0/+1
2018-05-04teach sparse about _Floatn and _FloatnxLuc Van Oostenryck1-0/+3
2018-05-01export check_duplicates()Luc Van Oostenryck1-0/+1
2018-02-17builtin: make builtins more builtinLuc Van Oostenryck1-0/+1
2018-02-17builtin: add ctype for const {void,char} *Luc Van Oostenryck1-0/+2
2018-02-01add helper: valid_type()Luc Van Oostenryck1-0/+5
2018-01-07cleanup: remove unused & obsolete symbol_is_typename()Luc Van Oostenryck1-1/+0
2017-11-16add is_signed_type()Luc Van Oostenryck1-0/+9
2017-11-11Merge branches 'volatile-loads-are-side-effects', 'fix-volatile-simplificatio...Luc Van Oostenryck1-44/+42
2017-11-11define MOD_ACCESS for (MOD_ASSIGNED | MOD_ADDRESSABLE)Luc Van Oostenryck1-2/+2
2017-11-08add support for C11's _Atomic as type qualifierLuc Van Oostenryck1-1/+2
2017-11-08associate MOD_RESTRICT with restrict-qualified variablesLuc Van Oostenryck1-1/+2
2017-11-08define MOD_QUALIFIER for (MOD_CONST | MOD_VOLATILE)Luc Van Oostenryck1-2/+3
2017-11-08remove redundancy in MOD_STORAGELuc Van Oostenryck1-1/+1
2017-11-08reorganize the definition of the modifiersLuc Van Oostenryck1-33/+32
2017-11-08MOD_ACCESSED is not a type modifier ...Luc Van Oostenryck1-2/+2
2017-11-08remove never-used MOD_TYPEDEFLuc Van Oostenryck1-2/+0
2017-09-19remove prototype for unexistant examine_simple_symbol_type()Luc Van Oostenryck1-1/+0
2017-09-19remove prototype extern int is_ptr_type()Luc Van Oostenryck1-1/+0
2017-09-19diet: remove unused struct symbol::valueLuc Van Oostenryck1-1/+0
2017-06-29diet: remove unused struct symbol::arg_countLuc Van Oostenryck1-1/+0
2017-03-22fix is_scalar_type()Luc Van Oostenryck1-2/+0
2017-03-22add is_array_type()Luc Van Oostenryck1-0/+7
2017-03-22add is_func_type()Luc Van Oostenryck1-0/+7
2017-02-13move evaluation & expansion of builtins in a separate fileLuc Van Oostenryck1-2/+1
2017-02-13add helper: is_scalar_type()Luc Van Oostenryck1-0/+22
2017-02-13some modifiers need to be preserved by 'typeof()'Luc Van Oostenryck1-0/+2
2017-02-13storage should not be inherited by pointersLuc Van Oostenryck1-1/+1
2016-02-23Do not drop 'nocast' modifier when taking the address.Luc Van Oostenryck1-1/+1
2014-04-01Support GCC's transparent unionsJohn Keeping1-1/+2
2013-11-29sparse: Relicense under the MIT licenseFranz Schrober1-1/+17
2013-04-26Allow forced attribute in function argumentv0.4.5-rc1Christopher Li1-1/+2
2011-08-25sparse: Fix __builtin_safe_p for pure and const functionsPekka Enberg1-0/+1
2011-05-07evaluate: Allow sizeof(_Bool) to succeed.Ben Pfaff1-0/+7
2010-03-28New attribute designated_init: mark a struct as requiring designated initJosh Triplett1-1/+2
2009-10-16Make MOD_NORETURN fits into 32 bitChristopher Li1-1/+1
2009-10-16do not ignore attribute 'noreturn'...Kamil Dudka1-1/+3
2009-08-01Add support for TImode type (__int128_t)Blue Swirl1-3/+6
2009-07-19move extern inline function to file scopeChristopher Li1-0/+12
2009-07-18Support the __thread storage classAlberto Bertogli1-1/+2
2009-07-18Don't mix storage class bits with ctype->modifiers while parsing typeAl Viro1-3/+2
2009-07-18Fix __label__ handlingAl Viro1-1/+0
2009-07-18Restore __attribute__((mode)) handlingAl Viro1-1/+3
2009-07-18Pass decl_state down to ->attribute()Al Viro1-1/+1
2009-07-17Pass decl_state down to ->declarator() and handle_attributes()Al Viro1-1/+1
2009-07-17Have ->declarator() act directly on ctype being affectedAl Viro1-0/+1
2009-07-17Rewrite and fix specifiers handlingAl Viro1-5/+7
2009-07-17Take the rest of specifiers to parse.cAl Viro1-0/+1
2009-07-17Separating ctype and parser state, part 1Al Viro1-0/+6
2009-07-17Fix implicit cast to floatThomas Schmid1-0/+32
2009-07-17fun with declarations and definitionsAl Viro1-0/+1
2008-12-24Revert the context tracking codeJohannes Berg1-2/+1
2008-06-11Remove symbol.id_listAlexey Zaytsev1-2/+1
2008-04-21sparse: simple conditional context trackingJohannes Berg1-1/+1
2008-04-21make sparse keep its promise about context trackingJohannes Berg1-0/+1
2007-07-14[PATCH] deal correctly with qualifiers on arraysAl Viro1-0/+1
2007-07-14[PATCH] rewrite type_difference()Al Viro1-2/+2
2007-07-13new get_type_name functionRob Taylor1-0/+1
2007-07-13add end position to symbolsRob Taylor1-0/+1
2007-07-10fix handling of address_space in casts and assignmentsAl Viro1-2/+2
2007-07-08first pass at null pointer constantsAl Viro1-1/+2
2007-06-25[PATCH] deal with enum members without excessive PITAAl Viro1-1/+1
2007-06-18[PATCH] tie the fields of struct in simple listAl Viro1-1/+5
2007-05-22Improved graph generation using subgraph clusters for functionsDan Sheridan1-0/+1
2007-03-09Fix typos in commentsJosh Triplett1-2/+2
2007-03-09Introduce keyword driven attribute parsingChristopher Li1-0/+3
2007-03-07Fix typo in symbol.h: s/keywrods/keywords/Josh Triplett1-1/+1
2007-03-07Introduce top level parsing for asm parsing.Josh Triplett1-0/+1
2007-03-07Introducing statement keywordsJosh Triplett1-0/+9
2007-03-07Free up some special bits in modifiers.Josh Triplett1-8/+16
2007-02-13Bug fix in pointer modifier inheritance at function degeneration.Christopher Li1-0/+1
2007-01-27Marking anonymous string.Christopher Li1-1/+2
2007-01-27Enhance debug information.Christopher Li1-0/+2
2007-01-16Sparse-based Ctags implementationChristopher Li1-0/+4
2006-12-05implement #strong_defineOleg Nesterov1-3/+4
2006-12-05prepare for #strong_{define,undef}Oleg Nesterov1-1/+4
2006-12-05fix 'weak' attribute lossOleg Nesterov1-0/+1
2006-12-05kill NS_INVISIBLEMACRO, introduce NS_UNDEFOleg Nesterov1-1/+1
2006-10-16merge branch 'no-semantic-h' into staging and fix conflictsJosh Triplett1-1/+1
2006-10-01[PATCH] handle fouled-bitwiseAl Viro1-0/+5
2006-09-30[PATCH] add support for __builtin_choose_expr()Al Viro1-0/+1
2006-09-14Fix incorrect symbol in comment on #endif for multiple-inclusion guardJosh Triplett1-1/+1
2006-08-30[PATCH] Parse and track multiple contexts by expressionJosh Triplett1-1/+11
2006-03-28[PATCH] Warning for mixing enums of different typesMorten Welinder1-0/+7
2005-11-27[PATCH] beginning of #include protection rewrite: cleanupAl Viro1-0/+1
2005-11-16[PATCH] skip already evaluated symbolsMitesh Shah1-1/+2
2005-09-09Warn about undefined preprocessor symbols at expansion time, not parse timeLinus Torvalds1-0/+2
2005-08-03Update the calling interface to "sparse()".Linus Torvalds1-0/+1
2005-06-16Fix up type examination.Linus Torvalds1-0/+5
2005-04-07[PATCH] static declearChristopher Li1-0/+1
2005-04-07Be more careful about removing implicit casts.Linus Torvalds1-0/+4
2005-04-07Export "is_ptr_type()" helper function to others.Linus Torvalds1-0/+1
2005-04-07Fix check for "local" symbols.Linus Torvalds1-0/+1
2005-04-07Make "translation_unit()" do symbol evaluation too.Linus Torvalds1-1/+1
2005-04-07Show usage notes for symbols.Linus Torvalds1-0/+1
2005-04-07Add "weak" definesLinus Torvalds1-1/+1
2005-04-07enums, bitfields and nodes pick up their signednessLinus Torvalds1-2/+5
2005-04-07Remove "fieldwidth" member of struct symbolLinus Torvalds1-1/+1
2005-04-07Use 'bad_type' instead of NULL when something bad happensLinus Torvalds1-7/+4
2005-04-07Implement __builtin_safe_p() to match __builtin_constant_p.Linus Torvalds1-1/+4
2005-04-07Replace context/contextmask (never used) with in_context/out_context.Linus Torvalds1-1/+1
2005-04-07Handle __func__, __FUNCTION__ and __PRETTY_FUNCTION__ the sameLinus Torvalds1-0/+3
2005-04-07Introduce the notion of "reserved" identifiers. Linus Torvalds1-1/+1
2005-04-07[PATCH] enum handlingAlexander Viro1-3/+7
2005-04-07Fix structure size calculation for structures with unsized arrays.Linus Torvalds1-1/+1
2005-04-07Getting the type of a symbol (and checking behind SYM_NODE) isLinus Torvalds1-8/+4
2005-04-07symbol.h, symbol.c:welinder@troll.com1-5/+5
2005-04-07Move symbol "used" flag out from SYM_NODE union.Linus Torvalds1-1/+1
2005-04-07Sanitize base type declarations some more.Linus Torvalds1-2/+2
2005-04-07[PATCH] make preprocesser command a symbolChristopher Li1-25/+32
2005-04-07[PATCH] __attribute__((bitwise))Alexander Viro1-0/+9
2005-04-07[PATCH] uninlining inline functionsAlexander Viro1-0/+2
2005-04-07[PATCH] avoid matching idents with string comparesChristopher Li1-32/+3
2005-04-07Put enums in the same namespace as unions and structs.welinder@troll.com1-5/+4
2005-04-07Disallow sizeof/alignof/typeof on bitfields.welinder@troll.com1-1/+8
2005-04-07Handle __func__ correctly as a variable and not a #define.welinder@troll.com1-0/+1
2005-04-07parse.c:welinder@troll.com1-0/+1
2005-04-07[PATCH] "signed unsigned", "short long", "double x : 4", "int y : 1 : 2"terra@gnome.org1-0/+9
2005-04-07[PATCH] Avoid recursive inline function expansionChristopher Li1-1/+2
2005-04-07Make expression expansion calculate the "cost" of theLinus Torvalds1-1/+1
2005-04-07Make the lazy pointer evaluation marker explicit.Linus Torvalds1-1/+1
2005-04-07Introduce a "incomplete type" rather than leavingLinus Torvalds1-1/+2
2005-04-07Add "force" type attribute.Linus Torvalds1-0/+1
2005-04-07Make sure user-defined types don't mix with otherLinus Torvalds1-0/+2
2005-04-07Initialize C type system after parsing the command line arguments.Linus Torvalds1-0/+1
2005-04-07[PATCH] Fix "return" target handlingChristopher Li1-2/+4