aboutsummaryrefslogtreecommitdiffstats
path: root/symbol.h
AgeCommit message (Expand)AuthorFilesLines
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
2005-04-07Introduce "safe" pointer expressions.Linus Torvalds1-0/+1
2005-04-07[PATCH] condition branch simplificationChristopher Li1-1/+0
2005-04-07Support type equality testing for real.Linus Torvalds1-0/+2
2005-04-07Support C types as first-class citizens, allowing typeLinus Torvalds1-1/+2
2005-04-07Make it possible to look up multiple namespaces at onceLinus Torvalds1-8/+8
2005-04-07Add bb "parent" information (ie back-pointers).Linus Torvalds1-0/+1
2005-04-07Add "goto/label" support for linearization.Linus Torvalds1-0/+1
2005-04-07Allow variable-sized array size declarations.Linus Torvalds1-1/+1
2005-04-07[PATCH] support __VA_ARGS__ variable macro argumentsChristopher Li1-0/+4
2005-04-07Update copyright notices to reflect the fact that TransmetaLinus Torvalds1-0/+1
2005-04-07Split tree evaluation into two phases: the first phaseLinus Torvalds1-1/+7
2005-04-07Start doing real expression copying for the inliner. We need toLinus Torvalds1-0/+1
2005-04-07[PATCH] Make all the anonymous structures truly anonymousRyan Anderson1-2/+2
2005-04-07Get rid of "#pragma" lines for now, while still keeping aLinus Torvalds1-1/+2
2005-04-07MOD_TOPLEVEL is storage information, and shouldn't percolateLinus Torvalds1-1/+1
2005-04-07Parse and evaluate gcc computed goto extensions: label addressingLinus Torvalds1-1/+4
2005-04-07Fxi up the builtin function evaluation. We really just wantLinus Torvalds1-1/+1
2005-04-07Add support for evaluating builtin functions at compile time.Linus Torvalds1-0/+1
2005-04-07Add a backend generic pointer to the symbol. Not that Linus Torvalds1-0/+1
2005-04-07Avoid recursive expansion of tokens by keeping track of expansionLinus Torvalds1-1/+0
2005-04-07Start updating the copyright license comments to the OSL,Linus Torvalds1-3/+5
2005-04-07Oops. Bad scoping for iterators and switch() statements. We didn'tLinus Torvalds1-0/+1
2005-04-07The C type part and the preprocessor part of a symbol are supposedLinus Torvalds1-23/+25
2005-04-07Remove unused symbol list. We'll soon re-introduce it in another form,Linus Torvalds1-1/+0
2005-04-07Fix type merging at dereference evaluation time.Linus Torvalds1-0/+1
2005-04-07Make symbol addressing do something half-way sane.Linus Torvalds1-0/+1
2005-04-07Show iterators and goto's properly as pseudo-assembler.Linus Torvalds1-1/+3
2005-04-07Turn 'break'/'continue' statements into goto's withLinus Torvalds1-0/+1
2005-04-07Add "debug_symbol()" function that prints out the fullLinus Torvalds1-0/+2
2005-04-07Mark a symbol as accessed if it's used during evaluation of the tree.Linus Torvalds1-0/+6
2005-04-07Add function to show types as strings (instead of just printing them out).Linus Torvalds1-0/+1
2005-04-07Clean up address-of evaluation, and mark symbols so evaluatedLinus Torvalds1-0/+1
2005-04-07Only add symbol definitions, not declarations, to the result listLinus Torvalds1-1/+2
2005-04-07Rename the symbol 'type' attribute as a 'context' attribute.Linus Torvalds1-1/+1
2005-04-07Add parsing of "noderef" attribute, and remember to save theLinus Torvalds1-0/+1
2005-04-07Add some limited attribute parsing. "packed", "aligned" and "type".Linus Torvalds1-0/+3
2005-04-07Move symbol alignment into the "ctype" part of the symbol,Linus Torvalds1-4/+5
2005-04-07Change the copyright to Transmeta Corp, that's likely to beLinus Torvalds1-1/+1
2005-04-07Change the evaluate functions to return the type of the resultLinus Torvalds1-1/+1
2005-04-07Save enough information at parse time to make "typeof" workLinus Torvalds1-0/+1
2005-04-07Make labels be symbols in their own namespace (NS_LABEL).Linus Torvalds1-0/+1
2005-04-07Parse initializers properly. We parsed them before, but we didn'tLinus Torvalds1-0/+1
2005-04-07Introduce a "struct position", and have the different types referLinus Torvalds1-3/+3
2005-04-07Fix array size problem: if the array is unsized (-1), thenLinus Torvalds1-1/+1
2005-04-07Add a generic internal pointer type (void *)Linus Torvalds1-1/+1
2005-04-07Add tree evaluation to a few more statement types (iterators,Linus Torvalds1-1/+1
2005-04-07Fix indirect type parsing (functions, arrays, bitfields). UpdateLinus Torvalds1-0/+2
2005-04-07Clean up type handling in a big way. Don't leave thoseLinus Torvalds1-5/+8
2005-04-07Start doing type evaluation for binops - integer promotion rulesLinus Torvalds1-0/+1
2005-04-07Add building of the normal built-in C types (as opposed to theLinus Torvalds1-0/+6
2005-04-07Add type size and alignment information to 'struct symbol'.Linus Torvalds1-1/+8
2005-04-07Parse type qualifiers properly instead of re-using the declarationLinus Torvalds1-0/+1
2005-04-07Fix confusion between symbol types and modifier bit-names.Linus Torvalds1-24/+24
2005-04-07Make storage class specifiers move correctly up the chain ofLinus Torvalds1-0/+2
2005-04-07Parse enum declarations, and associate the enum's with theLinus Torvalds1-0/+1
2005-04-07Add copyright statements and file comments. Add a FAQ, README, andLinus Torvalds1-0/+5
2005-04-07Ok, move closer to a proper type parser. It's still way tooLinus Torvalds1-2/+6
2005-04-07Make iterators take a helper datum, and tell the callback whetherLinus Torvalds1-1/+1
2005-04-07Bind symbols when declared. Bind arguments to functions.Linus Torvalds1-1/+3
2005-04-07Add symbol scoping for proper parsing.Linus Torvalds1-0/+1
2005-04-07Parse __alignof__ (although right now it ends up parsing as aLinus Torvalds1-0/+3
2005-04-07Print out statement parse trees so that we can verify that theLinus Torvalds1-2/+2
2005-04-07Add scaffolding for argument handling of macros. Very preliminary.Linus Torvalds1-0/+1
2005-04-07Preprocessor symbol handling: handle simple cases of #define andLinus Torvalds1-7/+15
2005-04-07Fix cast parsing. Add parsing of gcc typeof/attribute stuff. Parse theLinus Torvalds1-4/+16
2005-04-07Add parsing for 'for', 'while', 'do', 'goto' and label statements.Linus Torvalds1-0/+4
2005-04-07Parse compound statements, 'break', 'continue', 'default', 'case' andLinus Torvalds1-0/+5
2005-04-07Parse if-else and return statementsLinus Torvalds1-1/+4
2005-04-07Parse a lot more types (including complex structures and unions andLinus Torvalds1-8/+5
2005-04-07Parse enums and structures properly. Name the types nicely.Linus Torvalds1-1/+1
2005-04-07Fix up confusion between different typedefs and namespaces.Linus Torvalds1-4/+17
2005-04-07Parse structure-or-union-specifiers.Linus Torvalds1-0/+4
2005-04-07Fix warning, missed return value, and add 'struct', 'union' andLinus Torvalds1-0/+7
2005-04-07Start binding typedefs. More work needed, but this parses correctly:Linus Torvalds1-8/+18
2005-04-07Parse enough of an 'external-declaration' to be able to parse a simpleLinus Torvalds1-1/+2
2005-04-07Add more type parsing: function and array declarators, functionLinus Torvalds1-10/+13
2005-04-07Make for more readable "expected xxxx" messages.Linus Torvalds1-0/+3
2005-04-07First cuts at simple type declaration and statement parsing.Linus Torvalds1-8/+32
2005-04-07Start handling minimal semantic information, needed for types.Linus Torvalds1-0/+37