Daniel Marjamäki
|
8602d13dc9
|
Fixed #5722 (AST: wrong handling of 'x = ((a[i])->getx)();' - the 'x' is an operand of the =)
|
2014-04-25 06:06:54 +02:00 |
Daniel Marjamäki
|
52e0e4453b
|
Fixed #5646 (FP: pointer to array is not assigned a value.)
|
2014-04-21 16:14:49 +02:00 |
Daniel Marjamäki
|
c98beafb6d
|
Fixed #5675 (wrong AST generated for 'a>>=b')
|
2014-04-21 13:05:34 +02:00 |
Robert Reif
|
6ff5de2118
|
Fixed #5697 (Check for throw in __attribute__((nothrow)) function)
|
2014-04-20 20:40:55 +02:00 |
Daniel Marjamäki
|
5c116c622d
|
AST: Fixed iscast detection in '*((DWORD*)&buf[0])'
|
2014-04-15 15:46:26 +02:00 |
Alexander Mai
|
547803f581
|
#5592 - crash: gcc: testsuit: gcc.c-torture/compile/limits-declparen.c (Limit stack depth below createAst()
|
2014-04-13 12:47:54 +02:00 |
Daniel Marjamäki
|
9d51bfd015
|
Fixed #5397 (False positive: Same expression on both sides of '&')
|
2014-04-12 16:06:31 +02:00 |
PKEuS
|
9c921ab657
|
Fixed handling of member function pointers in setVarId and SymbolDatabase (#4577)
|
2014-04-12 12:04:55 +02:00 |
PKEuS
|
83f4657e69
|
Fixed remaining issue in #3503: Member function taking a function pointer must not be "simplified" to a variable initialization
|
2014-04-12 12:04:55 +02:00 |
Alexander Mai
|
e19129a409
|
Fix #4724 (Error in calculation shift operation: wrong sign: 1UL << 63)
|
2014-04-10 19:22:14 +02:00 |
Robert Reif
|
847d28d283
|
Fixed #5638 (is there any plan to check noexcept correctness?)
|
2014-04-10 16:17:10 +02:00 |
Daniel Marjamäki
|
049d68ae7d
|
AST: Fixed bad syntax tree for 'if (x()[0]==1);'
|
2014-04-05 08:03:24 +02:00 |
PKEuS
|
d4765bccc3
|
Refactorized inefficient usage of std::string and const char[] (part 2).
|
2014-04-03 14:56:14 +02:00 |
PKEuS
|
e9411e05ba
|
Refactorized inefficient usage of std::string and const char[].
|
2014-04-02 13:56:34 +02:00 |
Daniel Marjamäki
|
484483bd5d
|
AST: fixed ast for 'for (*x=0;y;z)'
|
2014-03-31 17:16:13 +02:00 |
Daniel Marjamäki
|
225fb96554
|
Fixed #5627 (False positive assignBoolToPointer)
|
2014-03-31 15:55:54 +02:00 |
PKEuS
|
060f9035c9
|
Fixed crashs on garbage code (#5604)
|
2014-03-30 11:38:01 +02:00 |
PKEuS
|
1c58628223
|
Handle pointer/reference to array in setVarId (#2645)
|
2014-03-28 16:10:27 +01:00 |
PKEuS
|
efe3f834be
|
Refactorized handling of syntaxError: Print debug output, removed a few return values that are no longer required
|
2014-03-27 18:41:52 +01:00 |
PKEuS
|
9b307cf8e0
|
Improved readability of testsuite output when ASSERT_EQUALS_MSG fails.
Fixed another true positive in checkbufferoverrun.cpp
AStyle
|
2014-03-27 16:06:30 +01:00 |
PKEuS
|
7e4081f7f5
|
Treat syntaxError and cppcheckError as InternalErrors (throw as exception, #4268)
|
2014-03-27 13:15:21 +01:00 |
PKEuS
|
560cf397d3
|
Fixed C++11 right angle bracket issue #5150
|
2014-03-22 13:34:15 +01:00 |
Daniel Marjamäki
|
d939aa63a6
|
Tokenizer: Added test case for fixed crash to prevent regressions later
|
2014-03-19 16:47:11 +01:00 |
Robert Reif
|
806ef44509
|
Fixed #5328 (Does not handle __attribute((xxx)) in typedefs)
|
2014-03-19 05:38:23 +01:00 |
Daniel Marjamäki
|
177bf6fcb3
|
Fixed #5244 (FP: (error) Uninitialized variable: ptr - initialization within if-clause)
|
2014-03-18 06:37:19 +01:00 |
PKEuS
|
5f67bc1b0a
|
Fixed varId problem #5293 (and its duplicate #5577): Classes inside functions are non-executable scopes.
|
2014-03-17 16:15:42 +01:00 |
PKEuS
|
521734faa2
|
Fixed setVarId-Bugs #5294 and #5295.
|
2014-03-17 14:19:46 +01:00 |
PKEuS
|
50f6bb5d36
|
Fixed crash #5511.
|
2014-03-17 11:50:45 +01:00 |
Lucas Manuel Rodriguez
|
9a08da17be
|
Fixed #4928 (C++ operator aliases result in false 'assigned a value that is never used' warning)
|
2014-03-16 14:51:05 -03:00 |
Daniel Marjamäki
|
4d06bc086d
|
astyle formatting
|
2014-03-09 08:49:32 +01:00 |
Simon Martin
|
a3d1cac79c
|
Ticket #5373: Keep track whether tokens come from a C or C++ file to properly handle %type% in Token::Match with "delete"
|
2014-03-08 21:26:06 +01:00 |
Simon Martin
|
4057242cb2
|
Ticket #5356: Added test case that works following the fix for #5506.
|
2014-03-02 10:10:58 +01:00 |
Simon Martin
|
3518e02d23
|
Ticket #5506: Skip template parameters when determining whether a template is a declaration or a definition.
|
2014-03-01 14:58:47 +01:00 |
Daniel Marjamäki
|
8550289722
|
Fixed #5452 (AST: wrong handling of unary ::)
|
2014-02-25 06:36:10 +01:00 |
Alexander Mai
|
0747b55485
|
Fixed #5304 (Wrong simplification of numbers like 001E+07 to 1.0)
|
2014-02-24 18:52:31 +01:00 |
Daniel Marjamäki
|
34730f623a
|
Fixed #5301 (False positive: (error) Division by zero - variables read from input stream)
|
2014-02-22 12:09:54 +01:00 |
Alexander Mai
|
82a2279425
|
Fixed #5304 (Wrong simplification of numbers like 001E+07 to 1.0)
|
2014-02-20 16:56:49 +01:00 |
Daniel Marjamäki
|
c050a92bae
|
Fixed #5468 (crash: freebsd: llvm/RegionPrinter.cpp - AST failure)
|
2014-02-17 17:37:39 +01:00 |
Daniel Marjamäki
|
fd3a8a2a18
|
Update copyright
|
2014-02-15 07:45:39 +01:00 |
Daniel Marjamäki
|
a1d9873558
|
Fixed #5465 (crash: AST doesnt produce good output for 'class C:public :🅰️:b<c>{..};')
|
2014-02-14 06:30:51 +01:00 |
Daniel Marjamäki
|
6ac9e180e0
|
ast: fixed hang when checking beid
|
2014-02-05 06:05:48 +01:00 |
Daniel Marjamäki
|
2ed3b40937
|
ast: fixed hang when checking bin-prot
|
2014-02-04 19:33:26 +01:00 |
Daniel Marjamäki
|
d6e3b3d3f3
|
ast: fixed syntax tree for 'a=(b)?1:0'. The parentheses should not be in the syntax tree
|
2014-01-30 17:31:06 +01:00 |
Daniel Marjamäki
|
312780b6fc
|
TestTokenizer: refactored line2 test case
|
2014-01-28 17:18:28 +01:00 |
Kamil Dudka
|
dee18d10a8
|
Fixed #5423 (fix parsing of #line NNNN "file.c")
|
2014-01-28 17:15:07 +01:00 |
Daniel Marjamäki
|
2108251851
|
Fixed #5417 (ast: avoid hang when '({})' is used)
|
2014-01-28 06:11:53 +01:00 |
Daniel Marjamäki
|
c8a1424e10
|
Fixed #5406 (crash inside valueFlowBeforeCondition() on files from kernel-git)
|
2014-01-27 06:18:42 +01:00 |
Daniel Marjamäki
|
ec034c1d59
|
Fixed #5386 (ast: hang when code is 'for (T a : b)')
|
2014-01-23 06:13:24 +01:00 |
Daniel Marjamäki
|
6a3a9ee8e7
|
ast: fixed tree for 'sizeof(struct S)'
|
2014-01-18 13:18:11 +01:00 |
Daniel Marjamäki
|
30cae358d8
|
Removed the --value-flow flag. ValueFlow analysis will always be enabled from now on.
|
2014-01-17 18:07:05 +01:00 |
Daniel Marjamäki
|
4eb746d7cc
|
Tokenizer: Removed simplifyComparisonOrder
|
2014-01-17 17:25:56 +01:00 |
Daniel Marjamäki
|
85b73f7c24
|
ast: fixed hang for weird loop: 'for (each_window(list,p))'
|
2014-01-16 16:58:50 +01:00 |
Daniel Marjamäki
|
e72ec830ef
|
ast: fixed hang in for-loop handling
|
2014-01-16 06:45:35 +01:00 |
Daniel Marjamäki
|
141e089329
|
ast: different handling of for loops. create a syntax tree for whole 'f(a;b;c)'.
|
2014-01-15 17:32:14 +01:00 |
Daniel Marjamäki
|
752e9d0fb7
|
Tokenizer::varId: Fixed wrong varid for shadow types with same names as class members
|
2014-01-09 21:44:29 +01:00 |
Daniel Marjamäki
|
1be30bf022
|
ast: fixed handling of templates
|
2014-01-09 17:14:16 +01:00 |
Daniel Marjamäki
|
04cb56e070
|
ast: fixed trouble with 'ab=a+(b/(c))+d;' where the '(c)' could be mistaken for a cast
|
2014-01-08 21:49:42 +01:00 |
Daniel Marjamäki
|
4f11086505
|
Tokenizer: Don't remove parentheses in 'a?b:(c>0?d:e)'
|
2014-01-08 20:53:33 +01:00 |
Martin Ettl
|
5a5277f2fa
|
Tokenizer::simplifyVarDecl: Fixed crash when checking garbage code.
|
2014-01-01 19:15:32 +01:00 |
Martin Ettl
|
0dccd3a632
|
Tokenizer:simplifyFlowControl(): Fixed crash on garbage code.
|
2014-01-01 19:04:02 +01:00 |
Simon Martin
|
d2cf9fd77c
|
Ticket #5266: Properly tokenize "complex" static variable declarations.
|
2014-01-04 10:49:27 +01:00 |
Daniel Marjamäki
|
7125682d1a
|
Fixed #5274 (TokenList: macro handling)
|
2014-01-03 18:53:37 +01:00 |
Daniel Marjamäki
|
32be4094e7
|
Symbol database: only put variables in variable list
|
2013-12-31 17:51:56 +01:00 |
PKEuS
|
621cf6e777
|
Support arrays as template parameters in TemplateSimplifier::templateParameters
|
2013-12-31 13:59:32 +01:00 |
PKEuS
|
4f0121ee2f
|
Splitted simplification out of tokenize()
|
2013-12-30 17:45:28 +01:00 |
Daniel Marjamäki
|
e0eb000ac3
|
AST: Fixed problem with decrement
|
2013-12-27 14:40:59 +01:00 |
Daniel Marjamäki
|
5d5e347418
|
AST: better handling of 'sizeof(void*)'
|
2013-12-25 22:08:53 +01:00 |
Daniel Marjamäki
|
915cb6c757
|
Fixed #5261 (AST: cast not handled well (a::b&)x)
|
2013-12-25 21:19:28 +01:00 |
Daniel Marjamäki
|
596b4bd405
|
astyle formatting
|
2013-12-23 12:26:12 +01:00 |
Simon Martin
|
02dc49624d
|
Ticket #5214: Don't read out of bounds upon invalid ternary operator.
|
2013-12-22 18:13:52 +01:00 |
Daniel Marjamäki
|
e2bc99aa24
|
Fixed #5154 (Tokenizer: wrong handling of msvc 'for each')
|
2013-12-17 06:34:27 +01:00 |
Daniel Marjamäki
|
f686cd6516
|
astyle formatting
|
2013-12-04 20:54:37 +01:00 |
Daniel Marjamäki
|
0c5282b1af
|
Fixed #5081 (False positive: (error) Uninitialized variable: f (handling of C-cast not correct))
|
2013-11-28 16:04:47 +01:00 |
Daniel Marjamäki
|
771dc2e1ad
|
AST: Improved handling when calling function through function pointer hidden within parantheses '(a.f)(1,2)'
|
2013-11-27 06:17:00 +01:00 |
Daniel Marjamäki
|
3b11ee9e0e
|
AST: Improved handling of brackets
|
2013-11-25 20:58:40 +01:00 |
Daniel Marjamäki
|
94e2bf7a11
|
AST: Handle ({..})
|
2013-11-25 04:07:44 +01:00 |
Simon Martin
|
9817da00ec
|
Ticket #5168: Don't crash when simplifying bit-fields for invalid code.
|
2013-11-23 20:33:03 +01:00 |
orbitcowboy
|
b74db1b791
|
Tokenize:simplifyFloatCast(): added corresponding suffix, incase of type 'float'.
|
2013-11-20 23:58:43 -08:00 |
orbitcowboy
|
1798fc3645
|
testtokenize:simplifyFloatCasts(): Added testcases for double and long double.
|
2013-11-17 08:44:05 -08:00 |
Daniel Marjamäki
|
6869d0de30
|
AST: Handle L'x'
|
2013-11-20 05:57:56 +01:00 |
Daniel Marjamäki
|
47b98470eb
|
Tokenizer: Simplify float casts of integer constants
|
2013-11-19 18:07:12 +01:00 |
Daniel Marjamäki
|
2a640a59c2
|
Tokenizer: Improved handling of pointer aliases. This fixes some false negatives.
|
2013-11-16 17:30:04 +01:00 |
Daniel Marjamäki
|
30720affd6
|
Tokenizer::setVarId: Fixed hang when checking libgc
|
2013-11-15 16:16:22 +01:00 |
Daniel Marjamäki
|
673400920d
|
AST: Fixed 'a[1][2]'
|
2013-11-13 17:52:56 +01:00 |
Daniel Marjamäki
|
7fe51eb58b
|
Fixed #4989 (False positive: Wrong processing of __asm block)
|
2013-11-13 06:04:00 +01:00 |
Daniel Marjamäki
|
58d7caded1
|
AST: improved handling of casts
|
2013-11-11 16:39:34 +01:00 |
Daniel Marjamäki
|
bb746261d3
|
AST: Fixed crash
|
2013-11-10 15:51:33 +01:00 |
Daniel Marjamäki
|
6ad2491817
|
AST: uninstantiated template
|
2013-11-04 22:58:47 +01:00 |
Daniel Marjamäki
|
de29991c11
|
AST: Rewrite using standard approach
|
2013-11-04 11:26:16 +01:00 |
Daniel Marjamki
|
9959c2866c
|
AST: fixed hang for ',&x..'
|
2013-11-03 15:05:58 +01:00 |
Daniel Marjamäki
|
5f0cfa0ee4
|
Fixed #4983 (False positive warning 'Possible null pointer dereference: lblList - otherwise it is redundant to check it against null.' with sizeof lblList[0])
|
2013-11-02 23:56:10 +01:00 |
Daniel Marjamäki
|
c505f5ea23
|
Fixed AST problem for 'if ((a.b&c)==d){}'
|
2013-11-02 19:18:58 +01:00 |
Daniel Marjamäki
|
bbdfd8b5c7
|
Make it possible to create AST, by using the --ast flag
|
2013-11-02 18:37:35 +01:00 |
Daniel Marjamäki
|
d3bd373798
|
Fixed #5131 (False Positive: %u in format string requires 'unsigned int' but the argument type is 'int'.)
|
2013-10-31 17:20:00 +01:00 |
Simon Martin
|
d67722ebdf
|
Ticket #5121: Handle comma separated static variable declarations depending on one another
|
2013-10-30 15:48:00 +01:00 |
orbitcowboy
|
097510c4ef
|
Tokenizer:simplifyMathFunctions_fma: added a todo testcase.
|
2013-10-29 09:26:26 -07:00 |
orbitcowboy
|
e8fdf4cdd2
|
Tokenizer:simplifyMathExpressions: added more testcases.
|
2013-10-24 21:33:00 -07:00 |
Robert Reif
|
b41ab8a4d5
|
Fixed #5088 (Token::Match called with varid 0. in libreoffice sd/source/ui/table/TableDesignPane.cxx)
|
2013-10-14 21:05:54 +02:00 |
orbitcowboy
|
9debeab47c
|
Tokenizer:simplifyMathExpressions: fixed false negative patterns for simplification.
|
2013-10-11 11:58:37 -07:00 |
Daniel Marjamäki
|
bb0385321f
|
Fixed #5074 (False positive: Duplicate expression (macro))
|
2013-10-13 17:42:06 +02:00 |