aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/expression.c
AgeCommit message (Expand)AuthorFilesLines
2022-05-31cast_value: remove error-prone redundant argumentLuc Van Oostenryck1-1/+1
2022-05-31cast_value: assign the new typeLuc Van Oostenryck1-1/+0
2022-05-31fix zero/sign extension of integer character constantsLuc Van Oostenryck1-1/+9
2020-07-18Merge branch 'error-inval-num'Luc Van Oostenryck1-1/+4
2020-07-15syntax errors in numbers are not fatalLuc Van Oostenryck1-1/+4
2020-07-14warn on empty assignmentsLuc Van Oostenryck1-1/+5
2020-05-28add support for _GenericLuc Van Oostenryck1-0/+40
2020-05-21bad-label: mark labels as used when neededLuc Van Oostenryck1-1/+1
2020-05-21bad-goto: label expression inside a statement expression is UBLuc Van Oostenryck1-0/+1
2020-05-21scope: let labels have their own scopeLuc Van Oostenryck1-0/+2
2020-05-21scope: __func__ is specialLuc Van Oostenryck1-3/+2
2020-05-21scope: move scope opening/ending inside compound_statement()Luc Van Oostenryck1-2/+0
2020-04-11do not use expr->left for conditionalsLuc Van Oostenryck1-1/+1
2019-09-26string: add helper string_expression()Luc Van Oostenryck1-0/+11
2018-11-23constant: add -Wconstant-suffix warningRamsay Jones1-1/+1
2017-12-28warn on empty parenthesized expressionsLuc Van Oostenryck1-0/+6
2017-03-31constexpr: treat comparisons between types as integer constexprNicolai Stange1-3/+0
2017-03-31constexpr: support compound literals as address constantsNicolai Stange1-0/+2
2017-03-31constexpr: examine constness of __builtin_offsetof at evaluation onlyNicolai Stange1-3/+0
2017-03-31constexpr: recognize references to labels as address constantsNicolai Stange1-0/+1
2017-03-31constexpr: recognize static objects as address constantsNicolai Stange1-0/+8
2017-03-31constexpr: examine constness of conditionals at evaluation onlyNicolai Stange1-6/+0
2017-03-31constexpr: examine constness of preops at evaluation onlyNicolai Stange1-3/+0
2017-03-31constexpr: examine constness of binops and alike at evaluation onlyNicolai Stange1-3/+0
2017-03-31constexpr: examine constness of casts at evaluation onlyNicolai Stange1-19/+0
2017-03-31constexpr: introduce additional expression constness tracking flagsNicolai Stange1-24/+38
2017-02-13C11: teach sparse about '_Alignof()'Luc Van Oostenryck1-0/+1
2014-10-10don't call isdigit/tolower with a char argumentRamsay Jones1-1/+1
2013-11-29sparse: Relicense under the MIT licenseFranz Schrober1-1/+17
2013-02-25Get rid of gcc warning about enum valuesChristopher Li1-1/+1
2013-02-23Fix segfault cause by fucntion without ident.Christopher Li1-1/+1
2013-02-13Merge git://git.kernel.org/pub/scm/linux/kernel/git/viro/sparse into margeChristopher Li1-101/+50
2013-02-12switch to delayed handling of escape sequencesAl Viro1-48/+5
2012-10-11Fix wrong array size expressionMauro Dreissig1-1/+1
2012-04-13Fix handling of __func__Al Viro1-53/+45
2011-11-21recognize binary constantsDan Carpenter1-1/+8
2011-04-26use ARRAY_SIZE() when possible (continued)Jan Pokorný1-1/+1
2010-06-17Parsing wide char stringChristopher Li1-5/+8
2010-04-08Allow parsing L'\0'Christopher Li1-1/+2
2009-07-18Don't mix storage class bits with ctype->modifiers while parsing typeAl Viro1-7/+5
2009-07-18Simplify get_number_value() and ctype_integer()Al Viro1-20/+20
2009-07-17Fix type_info_expression()Al Viro1-2/+10
2008-07-14Set *tree to NULL on errorVegard Nossum1-0/+2
2007-07-29[PATCH] braino in conditional_expression()Al Viro1-1/+1
2007-07-24expression.c: Clean up match_oplist() and add missing va_end()ricknu-0@student.ltu.se1-7/+7
2007-07-10fix handling of address_space in casts and assignmentsAl Viro1-5/+13
2007-07-08fix the comma handling in integer constant expressionsAl Viro1-11/+3
2007-06-26[PATCH] fix handling of integer constant expressionsAl Viro1-6/+62
2007-06-26[PATCH] implement __builtin_offsetof()Al Viro1-0/+67
2007-06-25[PATCH] deal with enum members without excessive PITAAl Viro1-0/+7
2007-05-26handle __alignof as equivalent of __alignof__Al Viro1-0/+1
2007-03-09Fix typos in commentsJosh Triplett1-1/+1
2006-11-21double inclusionsNicolas Kaiser1-1/+0
2006-07-05[PATCH] Add support for GCC's __builtin_types_compatible_p extensionJosh Triplett1-2/+47
2005-11-16Re-name "error()" function to "sparse_error()"Linus Torvalds1-4/+4
2005-09-22[PATCH] replaced warnings with errors.Mitesh Shah1-4/+4
2005-09-09Warn about undefined preprocessor symbols at expansion time, not parse timeLinus Torvalds1-0/+9
2005-06-19Fix assignment and conditional expression parsing with no left side.Linus Torvalds1-2/+2
2005-04-07Split out the blob allocator from lib.c into allocate.c.Linus Torvalds1-0/+2
2005-04-07Update copyright notices a bit.Linus Torvalds1-1/+1
2005-04-07Add __sizeof_ptr__ that looks at a pointer expression andLinus Torvalds1-31/+47
2005-04-07Handle __func__, __FUNCTION__ and __PRETTY_FUNCTION__ the sameLinus Torvalds1-0/+59
2005-04-07Add system-specific compatibility functions to makeLinus Torvalds1-2/+1
2005-04-07Many files:welinder@darter.rentec.com1-10/+10
2005-04-07Keep track of computed target label lists per-function.Linus Torvalds1-1/+6
2005-04-07Make sizeof understand the C99 "sizeof typed initializer" syntax.Linus Torvalds1-1/+12
2005-04-07[PATCH] FP handlingAlexander Viro1-15/+25
2005-04-07C99 says strings should be up to 4095 bytes.Linus Torvalds1-5/+6
2005-04-07Don't allow string concatenation to overflow MAX_STRING.Linus Torvalds1-0/+9
2005-04-07[PATCH] teach sparse about __alignof__Stephen Hemminger1-11/+22
2005-04-07[PATCH] Update get_number_value()Alexander Viro1-80/+94
2005-04-07If int/long are the same size, an int that overflows intoLinus Torvalds1-3/+2
2005-04-07Macroize lr_binop_expression() helper function.Linus Torvalds1-49/+85
2005-04-07Make sure we don't silently accept an empty expressionLinus Torvalds1-2/+12
2005-04-07Allow underscores in integer constants for readability.Linus Torvalds1-2/+8
2005-04-07Remove TOKEN_FP vs TOKEN_INTEGER distinction, and make numbers beLinus Torvalds1-24/+30
2005-04-07Don't get confused about "void *" nodes.Linus Torvalds1-1/+1
2005-04-07"a->b" is just shorthand for "(*a).b".Linus Torvalds1-2/+9
2005-04-07Make "value is so big" warning print the constant.Linus Torvalds1-3/+5
2005-04-07Now that BITS_IN_XXXX aren't defined contstants any more,Linus Torvalds1-6/+6
2005-04-07Clean up type expression syntax.Linus Torvalds1-2/+9
2005-04-07Support C types as first-class citizens, allowing typeLinus Torvalds1-8/+8
2005-04-07Warn about users trying to use type names in expressions.Linus Torvalds1-1/+15
2005-04-07[PATCH] Make sparse understand complex initializers inside expressionsDave Olien1-6/+17
2005-04-07Update copyright notices to reflect the fact that TransmetaLinus Torvalds1-0/+1
2005-04-07Make the tokenizer recognize FP tokens, even if we don'tLinus Torvalds1-1/+5
2005-04-07Parse and evaluate gcc computed goto extensions: label addressingLinus Torvalds1-0/+10
2005-04-07Don't warn about signedness for hax/octal constants. They are commonlyLinus Torvalds1-4/+7
2005-04-07Start updating the copyright license comments to the OSL,Linus Torvalds1-1/+3
2005-04-07Peter points out that the type masking shifts can overflowLinus Torvalds1-2/+2
2005-04-07Evaluate logical expressions, and short-circuit it.Linus Torvalds1-2/+2
2005-04-07Change the copyright to Transmeta Corp, that's likely to beLinus Torvalds1-1/+1
2005-04-07Oops. Initializer casts didn't actually save the result.Linus Torvalds1-1/+1
2005-04-07Remove last user of "struct token" from "struct expression".Linus Torvalds1-4/+95
2005-04-07Evaluate assignments:Linus Torvalds1-3/+4
2005-04-07Parse initializers properly. We parsed them before, but we didn'tLinus Torvalds1-1/+1
2005-04-07Start doing constant strings right: do proper concatenation of strings,Linus Torvalds1-6/+35
2005-04-07A structure member is just an identifier, not a random token.Linus Torvalds1-1/+1
2005-04-07Introduce a "struct position", and have the different types referLinus Torvalds1-26/+29
2005-04-07Give comma expressions and comparison expressions different types,Linus Torvalds1-13/+13
2005-04-07Make a function call point an expression type of its own, andLinus Torvalds1-3/+18
2005-04-07Fix typename parsing (incorrect ctype usage), and correctLinus Torvalds1-1/+3
2005-04-07Start doing type evaluation for binops - integer promotion rulesLinus Torvalds1-6/+11
2005-04-07Split up the expression parsing in "parse.c" into a file ofLinus Torvalds1-0/+347