aboutsummaryrefslogtreecommitdiffstats
path: root/parse.c
AgeCommit message (Expand)AuthorFilesLines
2016-11-17Handle SForced in storage_modifiersJeff Layton1-2/+2
2016-10-26sparse: add no_sanitize_address as an ignored attributeRui Teng1-0/+2
2016-10-13sparse: ignore __assume_aligned__ attributeLance Richardson1-0/+2
2016-10-13sparse: add 'alloc_align' to the ignored attributesRamsay Jones1-0/+2
2015-08-15Add default case to switches on enum variablesTony Camuso1-0/+3
2015-06-11sparse/parse.c: ignore hotpatch attributeHeiko Carstens1-0/+2
2014-11-10parse.c: remove duplicate 'may_alias' ignored_attributesRamsay Jones1-2/+0
2014-10-10sparse: add 'gnu_inline' to the ignored attributesRamsay Jones1-0/+2
2014-10-10Add the __restrict__ keywordRamsay Jones1-1/+2
2014-08-02Make same_symbol list share the same scopeChristopher Li1-0/+1
2014-04-17parse: support c99 [static ...] in abstract array declaratorsCody P Schafer1-1/+17
2014-04-01Support GCC's transparent unionsJohn Keeping1-1/+6
2013-11-29sparse: Relicense under the MIT licenseFranz Schrober1-1/+17
2013-04-26Allow forced attribute in function argumentv0.4.5-rc1Christopher Li1-0/+1
2013-02-21sparse patch v2: add noclone as an ignored attributeRandy Dunlap1-0/+3
2012-06-25sparse: Add 'error' to ignored attributesKOSAKI Motohiro1-0/+2
2012-06-25sparse: Add '__vector_size__' to ignored attributesKOSAKI Motohiro1-0/+1
2012-06-04check missing or duplicate goto labelsXi Wang1-1/+5
2012-01-18sparse: Add 'leaf' to ignored attributes.Ethan Jackson1-0/+2
2011-08-25sparse: Fix __builtin_safe_p for pure and const functionsPekka Enberg1-5/+5
2011-08-23Fix parsing empty asm clobberChristopher Li1-1/+2
2011-08-23Ignore the ms_hook_prologue attribute.Michael Stefaniuc1-0/+2
2011-06-28sparse: Add 'artifical' to ignore attributesPekka Enberg1-0/+2
2011-05-31Ignore attribute vector_sizeChristopher Li1-0/+1
2011-04-26parse.c: "if(" -> "if (" adjustmentJan Pokorný1-3/+3
2010-10-08parser: add Blackfin gcc infoMike Frysinger1-0/+6
2010-07-19skip may_alias and declare builtin_fabsMorten Welinder1-0/+2
2010-07-13parser: fix and simplify support of asm gotoJiri Slaby1-1/+2
2010-06-17parser: add support for asm gotoJiri Slaby1-0/+23
2010-06-17Ignore the may_alias GCC attributeDamien Lespiau1-0/+2
2010-03-28Pointer don't inherent the alignment from base typeChristopher Li1-0/+1
2010-03-28Ignore "naked" attributeMichael Buesch1-0/+2
2010-03-28ignore attributes "externally_visible" and "signal"Michael Buesch1-0/+4
2010-03-28New attribute designated_init: mark a struct as requiring designated initJosh Triplett1-0/+15
2010-03-28Handle __builtin_ms_va_list.Michael Stefaniuc1-0/+1
2010-03-28Ignore the alloc_size attribute.Michael Stefaniuc1-0/+2
2010-03-28Ignore the ms_abi/sysv_abi attributes.Michael Stefaniuc1-0/+4
2010-03-28Declare ignored attributres into a list of string.Christopher Li1-71/+82
2010-03-28Move noreturn attribute out of ignore attr areaChristopher Li1-2/+2
2009-10-16do not ignore attribute 'noreturn'...Kamil Dudka1-2/+2
2009-08-01Add support for TImode type (__int128_t)Blue Swirl1-3/+22
2009-08-03Ignore attribute __bounded__, used by OpenBSD headers.Blue Swirl1-0/+2
2009-07-18Avoid "attribute 'warning': unknown attribute" warningLinus Torvalds1-0/+2
2009-07-18Allow array declarators to have 'restrict' in themLinus Torvalds1-0/+2
2009-07-18Support the __thread storage classAlberto Bertogli1-3/+31
2009-07-18Print an error if typeof() lacks an argumentMartin Nagy1-1/+5
2009-07-18Add missing checks for Waddress-spaceMartin Nagy1-1/+1
2009-07-18Segfault at evaluate.c:341Al Viro1-0/+1
2009-07-18Sanitize pointer()Al Viro1-15/+5
2009-07-18Don't mix storage class bits with ctype->modifiers while parsing typeAl Viro1-29/+78
2009-07-18Simplify get_number_value() and ctype_integer()Al Viro1-11/+2
2009-07-18Fix __label__ handlingAl Viro1-28/+27
2009-07-18Fix declaration_specifiers() handling of typedef name shadowed by NS_SYMBOLAl Viro1-2/+3
2009-07-18Fix enumeration constants' scope beginningAl Viro1-4/+3
2009-07-18Restore __attribute__((mode)) handlingAl Viro1-21/+97
2009-07-18Pass decl_state down to ->attribute()Al Viro1-18/+19
2009-07-17Pass decl_state down to ->declarator() and handle_attributes()Al Viro1-48/+48
2009-07-17Clean up and split declaration_specifiers()Al Viro1-30/+29
2009-07-17Have ->declarator() act directly on ctype being affectedAl Viro1-73/+161
2009-07-17Rewrite and fix specifiers handlingAl Viro1-160/+207
2009-07-17Saner type for __builtin_va_listAl Viro1-1/+1
2009-07-17Take the rest of specifiers to parse.cAl Viro1-2/+26
2009-07-17preparations to ->declarator() cleanup - separate typedef handlingAl Viro1-9/+11
2009-07-17Fix handling of typedefs with several declaratorsAl Viro1-0/+3
2009-07-17Take the rest of storage class keywords to parse.cAl Viro1-0/+6
2009-07-17Fix regression created by commit af30c6df74f01db10fa78ac0cbdb5c3c40b5c73fAl Viro1-0/+2
2009-07-17Propagate decl_state to declaration_specifiers()Al Viro1-37/+37
2009-07-17Separating ctype and parser state, part 1Al Viro1-44/+54
2009-07-17Sanitize direct_declarator logicsAl Viro1-75/+65
2009-07-17Fix braino in which_kind()Al Viro1-1/+1
2009-07-17Don't mess with passing symbol to declarator/direct_declaratorAl Viro1-16/+14
2009-07-17Leave applying attributes until we know whether it's a nested declaratorAl Viro1-23/+63
2009-07-17Apply attributes after ( to the right placeAl Viro1-8/+15
2009-07-17Warn about non-empty identifier list outside of definitionAl Viro1-2/+10
2009-07-17more direct_declarator() sanitizingAl Viro1-51/+87
2009-07-17Fix attribute/asm handlingAl Viro1-7/+10
2009-07-17More nested declarator fixesAl Viro1-0/+2
2009-07-17Separate parsing of identifier-list (in K&R-style declarations)Al Viro1-2/+26
2009-07-17Fix handling of ident-less declarationsAl Viro1-1/+9
2009-07-17fun with declarations and definitionsAl Viro1-11/+15
2009-07-17fun with declarations and definitionsAl Viro1-0/+15
2008-12-24Revert the context tracking codeJohannes Berg1-124/+10
2008-12-18Add enum member list to the parentChristopher Li1-4/+2
2008-12-18Warning should be enough for an unhandled transparent unionAlexey Zaytsev1-1/+1
2008-06-27Ignore "cold" and "hot" attributes, which appeared in gcc 4.3Pavel Roskin1-0/+4
2008-04-21Add -Wno-declaration-after-statementGeoff Johnstone1-3/+1
2008-04-21sparse: simple conditional context trackingJohannes Berg1-0/+52
2008-04-21make sparse keep its promise about context trackingJohannes Berg1-10/+72
2008-04-03saner warnings for restricted typesAl Viro1-2/+9
2007-11-13Handle ignored attribute mallocEmil Medve1-0/+1
2007-10-20Perform local label lookupChristopher Li1-0/+13
2007-07-29[PATCH] file and global scopes are the same for purposes of struct redefiningAl Viro1-1/+1
2007-07-27parse.c: Adding va_end().ricknu-0@student.ltu.se1-7/+7
2007-07-13add end position to symbolsRob Taylor1-1/+20
2007-07-10fix handling of address_space in casts and assignmentsAl Viro1-2/+5
2007-06-27Bitfield without explicit sign should be a warning, not an errorPavel Roskin1-1/+1
2007-06-26[PATCH] fix handling of integer constant expressionsAl Viro1-5/+5
2007-06-25[PATCH] deal with enum members without excessive PITAAl Viro1-0/+1
2007-06-18[PATCH] tie the fields of struct in simple listAl Viro1-1/+19
2007-05-22Add no-double-underscore variant format_arg.Josh Triplett1-0/+1
2007-05-22Add double-underscore variant __syscall_linkage__.Josh Triplett1-0/+1
2007-05-22Add no-double-underscore variant "used", ignored like "__used__".Josh Triplett1-0/+1
2007-05-22Add double-underscore variant __noinline__.Josh Triplett1-0/+1
2007-05-22Add double-underscore variant __always_inline__.Josh Triplett1-0/+1
2007-05-22Ignore the GCC constructor and destructor attributesJosh Triplett1-0/+4
2007-05-22Add (more) support for WIN32 attribute namesRamsay Jones1-0/+6
2007-05-22Fix an __attribute__() parsing errorJosh Triplett1-1/+4
2007-05-22Add -Wno-old-initializer to turn off warnings about non-C99 struct initializersJosh Triplett1-1/+2
2007-05-15Ignore the cdecl and stdcall attributes for now.Michael Stefaniuc1-0/+4
2007-05-02Pass a bitmask of keywords to handle_attributesChristopher Li1-7/+7
2007-05-01Parse asm after a label as a statement, not an attributeJosh Triplett1-7/+7
2007-05-01Fix most -Wshadow warnings in Sparse.0.3Josh Triplett1-1/+0
2007-04-20handle label attributesChristopher Li1-1/+2
2007-04-20Parse and ignore the __regparm__ attribute, just like regparm.Josh Triplett1-0/+1
2007-03-09Use GCC format and sentinel attributes on appropriate functionsJosh Triplett1-1/+1
2007-03-09Fix typos in commentsJosh Triplett1-2/+2
2007-03-09Introduce keyword driven attribute parsingChristopher Li1-193/+262
2007-03-07Introduce top level parsing for asm parsing.Josh Triplett1-2/+7
2007-03-07Introducing statement keywordsJosh Triplett1-38/+90
2007-03-07Free up some special bits in modifiers.Josh Triplett1-26/+115
2007-03-07Moving statement parsing into smaller functions.Josh Triplett1-93/+139
2007-02-25Fix a bug that match_idents forget to end with NULLChristopher Li1-1/+1
2007-02-22Fix double semicolon in struct declarationChristopher Li1-1/+2
2007-02-21Handle structure attributes between the structure keyword and the nameChristopher Li1-0/+2
2007-01-27Another attempt to fix the attribute parsing.Christopher Li1-29/+56
2006-10-17Recognize and ignore __alias__ and __visibility__Josh Triplett1-2/+4
2006-10-01Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-0/+1
2006-10-01Add warning message for naked do-whileLinus Torvalds1-0/+3
2006-10-01[PATCH] handle fouled-bitwiseAl Viro1-0/+1
2006-08-30[PATCH] Parse and track multiple contexts by expressionJosh Triplett1-11/+25
2006-07-05[PATCH] Ignore no_instrument_function attributesJosh Triplett1-0/+3
2006-03-28[PATCH] Attribute "sentinel"Morten Welinder1-0/+3
2005-12-31Make local declarations be statements of their ownLinus Torvalds1-6/+11
2005-12-20[PATCH] fix "wrong" NS_STRUCT symbol->posOleg Nesterov1-1/+4
2005-11-22[PATCH] new flag - Wone-bit-signed-bitfieldAl Viro1-1/+1
2005-11-16Fix up stupid thinko in K&R parameter parsing.Linus Torvalds1-22/+26
2005-11-16Re-name "error()" function to "sparse_error()"Linus Torvalds1-27/+27
2005-11-16Fix K&R argument scopingLinus Torvalds1-1/+8
2005-11-03Cast all enum values to the final typeLinus Torvalds1-0/+22
2005-11-03Make sure we keep enum values in a sufficiently large type for parsingLinus Torvalds1-2/+17
2005-09-22[PATCH] replaced warnings with errors.Mitesh Shah1-29/+29
2005-09-09[PATCH] Fix address space ordering problemviro@ZenIV.linux.org.uk1-1/+2
2005-08-17[PATCH] enum: improve error messagesOleg Nesterov1-1/+3
2005-08-17[PATCH] enum: fix sparse segfault with incomplete enumOleg Nesterov1-1/+7
2005-08-15Fix parsing of top-level asm statementsLinus Torvalds1-6/+4
2005-08-15Clean up iterator handlingLinus Torvalds1-2/+2
2005-08-14[PATCH] de-anonymize typedefsOleg Nesterov1-2/+6
2005-08-03Get closer to parsing multiple files correctly.Linus Torvalds1-14/+1
2005-06-26[PATCH] avoid segfault after parse errors in array designated initializerLuc Van Oostenryck1-0/+4
2005-06-20[PATCH] __attribute__ handling for attributes used in the userlandPeter Jones1-5/+25
2005-05-31[IDENT] Add some more attributesArnaldo Carvalho de Melo1-0/+8
2005-05-19[PATCH] Fix segfault on non-ANSI function-like declaration for realLuc Van Oostenryck1-1/+1
2005-05-17Fix SIGSEGV on non-ANSI function-line declarations without a direct name.Linus Torvalds1-1/+1
2005-04-07[PATCH] static declearChristopher Li1-7/+7
2005-04-07Give function name in non-ANSI declaration warning.Linus Torvalds1-5/+5
2005-04-07[PATCH] sparse: add function name to warningBernhard Fischer1-2/+2
2005-04-07Make enum symbols be regular symbols with constant initializers.Linus Torvalds1-6/+19
2005-04-07Handle bad enum expression types gracefully.Linus Torvalds1-1/+3
2005-04-07Make sure to re-examine a struct/union/enum type afterLinus Torvalds1-0/+3
2005-04-07Add compile-time "range-check" infrastructure to sparseLinus Torvalds1-1/+10
2005-04-07[PATCH] Diff to make sparse not complain about __format_arg__santtu.hyrkko@gmail.com1-1/+2
2005-04-07Save off the asm parameter name too.Linus Torvalds1-1/+5
2005-04-07Don't set the base type for __attribute__((__mode__(__DI__))) and friends.Linus Torvalds1-4/+0
2005-04-07Now that we actually save off asm info, that showed how we hadLinus Torvalds1-1/+1
2005-04-07Save away (most) of the asm information when parsing inline assembly.Linus Torvalds1-8/+11
2005-04-07Split out the blob allocator from lib.c into allocate.c.Linus Torvalds1-0/+1
2005-04-07Allow parsing of nested functions.Linus Torvalds1-7/+14
2005-04-07Allow the C99/C++ mixed variable declaration syntax.Linus Torvalds1-7/+10
2005-04-07Update copyright notices a bit.Linus Torvalds1-1/+1
2005-04-07Make "translation_unit()" do symbol evaluation too.Linus Torvalds1-2/+6
2005-04-07enums, bitfields and nodes pick up their signednessLinus Torvalds1-3/+0
2005-04-07Remove "fieldwidth" member of struct symbolLinus Torvalds1-11/+8
2005-04-07Use 'bad_type' instead of NULL when something bad happensLinus Torvalds1-6/+6
2005-04-07Don't generate invalid statements when encountering aLinus Torvalds1-0/+1
2005-04-07Make context attributes additive.Linus Torvalds1-4/+4
2005-04-07Replace context/contextmask (never used) with in_context/out_context.Linus Torvalds1-18/+11
2005-04-07Add an internal sparse "context" statement type.Linus Torvalds1-0/+5
2005-04-07Clean up declarator sym->ident handling.Linus Torvalds1-24/+14
2005-04-07Fix up "enum" base types.Linus Torvalds1-13/+26
2005-04-07Handle __func__, __FUNCTION__ and __PRETTY_FUNCTION__ the sameLinus Torvalds1-26/+3
2005-04-07Handle asm __volatile variant too.welinder@troll.com1-1/+1
2005-04-07[PATCH] graceful handling of old-style array initializersAlexander Viro1-31/+45
2005-04-07[PATCH] trivial sparse patch - ignore model attributeDavid Mosberger1-0/+3
2005-04-07Warn about old-style gcc named initializers, suggesting C99 usage.Linus Torvalds1-4/+12
2005-04-07Be more lenient in placement of 'asm("reg")' variable hard-registerLinus Torvalds1-13/+17
2005-04-07[PATCH] enum handlingAlexander Viro1-6/+99
2005-04-07Make enumerated constants have the type of the constantLinus Torvalds1-2/+5
2005-04-07Totally re-do how we build up the initializer tree: make theLinus Torvalds1-7/+14
2005-04-07Parse "nested" named or index initializers.Linus Torvalds1-3/+11
2005-04-07Many files:welinder@darter.rentec.com1-40/+40
2005-04-07symbol.h, symbol.c:welinder@troll.com1-11/+19
2005-04-07Reinstate non-ANSI warning for "int foo () { }".welinder@troll.com1-2/+12
2005-04-07Make END_FOR_EACH_PTR[_REVERSE] take the ptr name as an argument.Linus Torvalds1-5/+5
2005-04-07[PATCH] __attribute__((bitwise))Alexander Viro1-6/+21
2005-04-07[PATCH] parser.c cleanupAlexander Viro1-57/+64
2005-04-07[PATCH] uninlining inline functionsAlexander Viro1-3/+9
2005-04-07[PATCH] avoid matching idents with string comparesChristopher Li1-40/+40
2005-04-07__const in addition to const and __const__. Sigh.welinder@troll.com1-0/+1
2005-04-07Improve error reporting for bad K&R function parameterLinus Torvalds1-2/+9
2005-04-07Oops - when parsing a K&R function, we started at the wrong point.Linus Torvalds1-1/+1