aboutsummaryrefslogtreecommitdiffstats
path: root/symbol.c
AgeCommit message (Expand)AuthorFilesLines
2011-05-31Remove set but not used variableChristopher Li1-3/+1
2009-08-01Add support for TImode type (__int128_t)Blue Swirl1-0/+6
2009-07-19move extern inline function to file scopeChristopher Li1-1/+5
2009-07-17Take the rest of specifiers to parse.cAl Viro1-42/+6
2009-07-17Take the rest of storage class keywords to parse.cAl Viro1-6/+0
2008-12-28Warn about explicit usage of sizeof(void)Christopher Li1-1/+1
2008-12-18Let void have sizeof 1Alexey Zaytsev1-1/+1
2008-12-18Looks more evident this way.Alexey Zaytsev1-1/+1
2008-12-17Unhardcode byte size being 8 bits.David Given1-5/+5
2008-06-11Remove symbol.id_listAlexey Zaytsev1-2/+2
2007-07-14[PATCH] deal correctly with qualifiers on arraysAl Viro1-18/+19
2007-07-13new get_type_name functionRob Taylor1-0/+29
2007-07-13add end position to symbolsRob Taylor1-0/+1
2007-07-08first pass at null pointer constantsAl Viro1-1/+3
2007-07-08fix the comma handling in integer constant expressionsAl Viro1-0/+1
2007-06-18[PATCH] fix handling of typeof on structsAl Viro1-1/+6
2007-05-26fix interaction of typeof with bitwise typesAl Viro1-0/+6
2007-05-26fix alignment for _BoolAl Viro1-1/+1
2007-03-09Fix typos in commentsJosh Triplett1-2/+2
2007-03-07Free up some special bits in modifiers.Josh Triplett1-34/+1
2006-11-21double inclusionsNicolas Kaiser1-1/+0
2006-11-06Typo fixesPavel Roskin1-1/+1
2006-10-01[PATCH] handle fouled-bitwiseAl Viro1-0/+38
2006-09-30[PATCH] add support for __builtin_choose_expr()Al Viro1-0/+45
2006-08-30[PATCH] Parse and track multiple contexts by expressionJosh Triplett1-2/+7
2006-07-31First cut at something that approaches a sane -WshadowLinus Torvalds1-10/+9
2006-05-09[PATCH] count_array_initializer() needs to know the type of elementAl Viro1-8/+24
2005-11-16Re-name "error()" function to "sparse_error()"Linus Torvalds1-5/+5
2005-09-22[PATCH] replaced warnings with errors.Mitesh Shah1-5/+5
2005-09-09Warn about undefined preprocessor symbols at expansion time, not parse timeLinus Torvalds1-0/+1
2005-08-17[PATCH] enum: improve error messagesOleg Nesterov1-5/+0
2005-08-17[PATCH] enum: fix sparse segfault with incomplete enumOleg Nesterov1-1/+1
2005-08-02Make types have file scope, not global scopeLinus Torvalds1-4/+6
2005-08-02Make macros have file scopeLinus Torvalds1-0/+2
2005-06-21[PATCH] Fix compile warning in symbol.cMika Kukkonen1-1/+1
2005-06-19Initial cut at __builtin_expect() implementationLinus Torvalds1-0/+22
2005-06-16Fix up type examination.Linus Torvalds1-4/+2
2005-04-07[PATCH] static declearChristopher Li1-1/+1
2005-04-07Fix array size calculation when the last entry is an EXPR_INDEX.Linus Torvalds1-2/+2
2005-04-07Toplevel symbols are externally addressable only if theyLinus Torvalds1-1/+3
2005-04-07Split out the blob allocator from lib.c into allocate.c.Linus Torvalds1-0/+1
2005-04-07Update copyright notices a bit.Linus Torvalds1-1/+1
2005-04-07Fix __typeof__ size evaluation.Linus Torvalds1-0/+1
2005-04-07Make "translation_unit()" do symbol evaluation too.Linus Torvalds1-2/+2
2005-04-07enums, bitfields and nodes pick up their signednessLinus Torvalds1-1/+11
2005-04-07Set the bit_offset in the SYM_BITFIELD entry too, not justLinus Torvalds1-0/+1
2005-04-07Remove "fieldwidth" member of struct symbolLinus Torvalds1-10/+5
2005-04-07Fix up structure bitfield placement.Linus Torvalds1-1/+10
2005-04-07Examine bitfield symbols properly.Linus Torvalds1-1/+1
2005-04-07Make sure to examine restricted types too.Linus Torvalds1-0/+3
2005-04-07Use 'bad_type' instead of NULL when something bad happensLinus Torvalds1-6/+4
2005-04-07Implement a C99-like _Bool type.Linus Torvalds1-1/+2
2005-04-07Add comment on what caused type examination recursion.Linus Torvalds1-0/+6
2005-04-07Clean up symbol examination some more.Linus Torvalds1-53/+70
2005-04-07Don't recurse on struct/union symbol examine, if the struct Linus Torvalds1-0/+1
2005-04-07Do base_type examination in common code in examine_symbol_type().Linus Torvalds1-16/+14
2005-04-07Implement __builtin_safe_p() to match __builtin_constant_p.Linus Torvalds1-26/+10
2005-04-07Allow zero-sized array initializers.Linus Torvalds1-2/+1
2005-04-07Do array sizing at "examine_symbol_type()" time.Linus Torvalds1-25/+78
2005-04-07Replace context/contextmask (never used) with in_context/out_context.Linus Torvalds1-2/+2
2005-04-07Get rid of the old "iterate()" interfaces.Linus Torvalds1-7/+7
2005-04-07Make "bind_symbol()" also set sym->ident.Linus Torvalds1-1/+3
2005-04-07Introduce the notion of "reserved" identifiers. Linus Torvalds1-4/+9
2005-04-07[PATCH] enum handlingAlexander Viro1-5/+15
2005-04-07Fix structure size calculation for structures with unsized arrays.Linus Torvalds1-6/+19
2005-04-07Add "__builtin_warning()" builtin.Linus Torvalds1-1/+57
2005-04-07[PATCH] recovery from typeof on expression with bad typeAlexander Viro1-2/+2
2005-04-07Many files:welinder@darter.rentec.com1-7/+7
2005-04-07symbol.h, symbol.c:welinder@troll.com1-29/+38
2005-04-07More "union" trouble: don't look at ctype for non-NS_SYMBOL.Linus Torvalds1-1/+1
2005-04-07Sanitize base type declarations some more.Linus Torvalds1-41/+42
2005-04-07We need to initialize the type of the fundamental base types.Linus Torvalds1-0/+1
2005-04-07[PATCH] make preprocesser command a symbolChristopher Li1-1/+4
2005-04-07Make END_FOR_EACH_PTR[_REVERSE] take the ptr name as an argument.Linus Torvalds1-1/+1
2005-04-07[PATCH] avoid matching idents with string comparesChristopher Li1-51/+6
2005-04-07Merge troll.com:/scratch/welinder/linus-sparsewelinder@troll.com1-3/+2
2005-04-07Fix up silly typo that caused __builtin_constant_p not to work on FP constants.Linus Torvalds1-1/+1
2005-04-07symbol.c:welinder@troll.com1-3/+2
2005-04-07Make "next_path" be per-stream for better "include_next".Linus Torvalds1-1/+1
2005-04-07Unnamed bitfields should not affect structure and union alignment.welinder@troll.com1-5/+14
2005-04-07fix layout of zero-width bitfields.welinder@troll.com1-6/+9
2005-04-07Disallow sizeof/alignof/typeof on bitfields.welinder@troll.com1-0/+2
2005-04-07Handle __func__ correctly as a variable and not a #define.welinder@troll.com1-0/+2
2005-04-07Mondane cleanups at the level of typos.welinder@troll.com1-2/+2
2005-04-07Don't complain over sign problems with unnamed bitfields.welinder@troll.com1-13/+0
2005-04-07parse.c:welinder@troll.com1-3/+9
2005-04-07symbol.c:welinder@troll.com1-1/+10
2005-04-07Make expression expansion calculate the "cost" of theLinus Torvalds1-1/+2
2005-04-07Make the lazy pointer evaluation marker explicit.Linus Torvalds1-1/+4
2005-04-07Simplify "typeof" handling.Linus Torvalds1-16/+4
2005-04-07[PATCH] strip modifiers and address space in "typeof()"Alexander Viro1-2/+21
2005-04-07[PATCH] VLA warnings sanitized.Alexander Viro1-1/+1
2005-04-07[PATCH] FP handlingAlexander Viro1-1/+1
2005-04-07Introduce a "incomplete type" rather than leavingLinus Torvalds1-2/+2
2005-04-07Use "-O" to compile sparse, to make the compiler warn more.Linus Torvalds1-2/+3
2005-04-07Accept "__attribute" in addition to "__attribute__".Linus Torvalds1-1/+1
2005-04-07Initialize C type system after parsing the command line arguments.Linus Torvalds1-1/+5
2005-04-07Now that BITS_IN_XXXX aren't defined contstants any more,Linus Torvalds1-24/+24
2005-04-07Use variables for target data structure information, Linus Torvalds1-27/+28
2005-04-07Make the builtin functions be more type-correct, toLinus Torvalds1-1/+3
2005-04-07Fix up typename parsing.Linus Torvalds1-6/+6
2005-04-07Top-level symbols are always addressable, since they areLinus Torvalds1-1/+1
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-1/+1
2005-04-07Allow variable-sized array size declarations.Linus Torvalds1-2/+2
2005-04-07[PATCH] support __VA_ARGS__ variable macro argumentsChristopher Li1-1/+11
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-5/+14
2005-04-07This makes function inlining largely work correctly. In orderLinus Torvalds1-1/+3
2005-04-07Get rid of "#pragma" lines for now, while still keeping aLinus Torvalds1-0/+3
2005-04-07Don't try to give typdefs storage bits.Linus 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-3/+3
2005-04-07Add support for evaluating builtin functions at compile time.Linus Torvalds1-4/+40
2005-04-07Add "__volatile" and "__volatile__" for gcc compatibility.Linus Torvalds1-0/+2
2005-04-07Start updating the copyright license comments to the OSL,Linus Torvalds1-1/+13
2005-04-07Merge both node and array information at array degrade time.Linus Torvalds1-1/+1
2005-04-07Oops. Bad scoping for iterators and switch() statements. We didn'tLinus Torvalds1-0/+18
2005-04-07Yeah, well... More typeof() tweaking.Linus Torvalds1-7/+3
2005-04-07Whoops. More "typeof" confusion fixes.Linus Torvalds1-7/+8
2005-04-07Fix type merging at dereference evaluation time.Linus Torvalds1-1/+1
2005-04-07Fix typeof() type evaluation. I hope.Linus Torvalds1-3/+23
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-07Don't make the 'void' type point to itself. It confuses theLinus Torvalds1-1/+1
2005-04-07Mark a symbol as accessed if it's used during evaluation of the tree.Linus Torvalds1-0/+19
2005-04-07Don't add inline functions to the top-level parse tree. They'llLinus Torvalds1-1/+2
2005-04-07Oops. The preprocessor symbol evaluation printed out the wrong name.Linus Torvalds1-0/+2
2005-04-07Only add symbol definitions, not declarations, to the result listLinus Torvalds1-3/+3
2005-04-07Make structure size calculations handle the case whereLinus Torvalds1-3/+3
2005-04-07Expose scoping to symbol binders - we'll need this to checkLinus Torvalds1-1/+10
2005-04-07Move symbol alignment into the "ctype" part of the symbol,Linus Torvalds1-20/+21
2005-04-07Change the copyright to Transmeta Corp, that's likely to beLinus Torvalds1-1/+1
2005-04-07If 'examine_symbol_type' changes the symbol type due to lazyLinus Torvalds1-2/+3
2005-04-07Change the evaluate functions to return the type of the resultLinus Torvalds1-11/+18
2005-04-07Introduce a "struct position", and have the different types referLinus Torvalds1-5/+5
2005-04-07Mark the ctype "int" explicitly signed (and not just signedLinus Torvalds1-1/+1
2005-04-07Fix array size problem: if the array is unsized (-1), thenLinus Torvalds1-0/+2
2005-04-07Use the same bitfield packing that gcc does. It was muchLinus Torvalds1-45/+46
2005-04-07Add bitfield type examination and printout.Linus Torvalds1-5/+60
2005-04-07Add a generic internal pointer type (void *)Linus Torvalds1-1/+3
2005-04-07Fix indirect type parsing (functions, arrays, bitfields). UpdateLinus Torvalds1-38/+24
2005-04-07Make the 'void' type also be part of the new world orderLinus Torvalds1-8/+3
2005-04-07Oops. When adding the basic C types, I forgot the mostLinus Torvalds1-1/+3
2005-04-07Clean up type handling in a big way. Don't leave thoseLinus Torvalds1-7/+24
2005-04-07Start doing type evaluation for binops - integer promotion rulesLinus Torvalds1-0/+2
2005-04-07Add building of the normal built-in C types (as opposed to theLinus Torvalds1-0/+40
2005-04-07Fix the union size calculation thing that I broke earlier. TheLinus Torvalds1-1/+10
2005-04-07Handle 'enum' type sizing and alignmentLinus Torvalds1-0/+6
2005-04-07Handle 'void' type sizing and bad sizeof's.Linus Torvalds1-2/+11
2005-04-07Make array parsing use the proper constant evaluationLinus Torvalds1-48/+39
2005-04-07Add type size and alignment information to 'struct symbol'.Linus Torvalds1-0/+132
2005-04-07Fix confusion between symbol types and modifier bit-names.Linus Torvalds1-26/+26
2005-04-07Make storage class specifiers move correctly up the chain ofLinus Torvalds1-0/+3
2005-04-07Split up the printout functions into a file of their own.Linus Torvalds1-124/+0
2005-04-07Oops, looked at the wrong type for union/struct/enum/typeof cases.Linus Torvalds1-0/+2
2005-04-07Add copyright statements and file comments. Add a FAQ, README, andLinus Torvalds1-0/+5
2005-04-07Show for/while/do statements in debugging. Make symbol typeLinus Torvalds1-1/+0
2005-04-07Ok, move closer to a proper type parser. It's still way tooLinus Torvalds1-20/+18
2005-04-07Make iterators take a helper datum, and tell the callback whetherLinus Torvalds1-9/+18
2005-04-07Bind symbols when declared. Bind arguments to functions.Linus Torvalds1-1/+7
2005-04-07Add symbol scoping for proper parsing.Linus Torvalds1-0/+3
2005-04-07Parse __alignof__ (although right now it ends up parsing as aLinus Torvalds1-0/+4
2005-04-07Fix up warnings by adding includes and the proper prototypes.Linus Torvalds1-7/+2
2005-04-07Print out statement parse trees so that we can verify that theLinus Torvalds1-3/+9
2005-04-07Make the tokenizer insert begin/end tokens at stream boundaries,Linus Torvalds1-1/+1
2005-04-07Fix cast parsing. Add parsing of gcc typeof/attribute stuff. Parse theLinus Torvalds1-5/+31
2005-04-07Add allocators for statisticsLinus Torvalds1-6/+2
2005-04-07Add parsing for 'for', 'while', 'do', 'goto' and label statements.Linus Torvalds1-0/+5
2005-04-07Parse compound statements, 'break', 'continue', 'default', 'case' andLinus Torvalds1-0/+7
2005-04-07Parse if-else and return statementsLinus Torvalds1-0/+4
2005-04-07Parse a lot more types (including complex structures and unions andLinus Torvalds1-27/+14
2005-04-07Parse enums and structures properly. Name the types nicely.Linus Torvalds1-3/+5
2005-04-07Fix up confusion between different typedefs and namespaces.Linus Torvalds1-18/+23
2005-04-07Parse structure-or-union-specifiers.Linus Torvalds1-1/+1
2005-04-07Initialize 'struct', 'union' and 'enum' built-ins.Linus Torvalds1-1/+9
2005-04-07Start binding typedefs. More work needed, but this parses correctly:Linus Torvalds1-3/+41
2005-04-07Add more type parsing: function and array declarators, functionLinus Torvalds1-8/+46
2005-04-07Make for more readable "expected xxxx" messages.Linus Torvalds1-1/+20
2005-04-07First cuts at simple type declaration and statement parsing.Linus Torvalds1-8/+114
2005-04-07Start handling minimal semantic information, needed for types.Linus Torvalds1-0/+33