Daniel Marjamäki
|
0edb0dbf3c
|
Fix redundant assignment found by Cppcheck
|
2017-04-17 22:33:15 +02:00 |
Daniel Marjamäki
|
d911eeba75
|
astyle formatting
[ci skip]
|
2017-04-17 22:16:02 +02:00 |
Daniel Marjamäki
|
bb015c6a2b
|
Fixed #8006 (AST: Wrong tree with complex for loops and casts)
|
2017-04-17 21:11:53 +02:00 |
Daniel Marjamäki
|
4d1a64301c
|
AST: Fixed Match pattern '|*' => '*|'
|
2017-04-10 23:44:30 +02:00 |
Daniel Marjamäki
|
632a6b664c
|
AST: Harden handling of C++11
|
2017-04-10 23:29:15 +02:00 |
Daniel Marjamäki
|
2c43075ece
|
AST: weird clang syntax
|
2017-04-10 23:05:41 +02:00 |
Daniel Marjamäki
|
5e1b6aee8c
|
AST: Fix hang for weird VLA code
|
2017-04-10 22:17:34 +02:00 |
Daniel Marjamäki
|
ffeadbdde4
|
AST: improved handling for struct initialization 's = { [0] = 123 }'
|
2017-04-10 07:25:18 +02:00 |
Daniel Marjamäki
|
d92c529aa6
|
AST: Fix wrong handling of struct initialization, caused hang
|
2017-04-09 22:06:13 +02:00 |
Daniel Marjamäki
|
45d2d66df3
|
Remove redundant space in Token::Match pattern
|
2017-04-09 19:27:11 +02:00 |
Daniel Marjamäki
|
e6005dfa3c
|
AST: Fix AST for lambda '[&]{..}'
|
2017-04-09 17:49:55 +02:00 |
Daniel Marjamäki
|
392a06a44b
|
AST: better handling of '(struct X){...}'
|
2017-04-06 21:28:13 +02:00 |
Daniel Marjamäki
|
e6ed08c4d8
|
Fixed #7976 (Internal error. Token::astOperand1() cyclic dependency. (ticket nr 2, new regression))
|
2017-04-05 11:00:02 +02:00 |
Daniel Marjamäki
|
abb43b6a81
|
Fixed #7934 (Wrong AST for 'for (i=0;cond;({min(x,10);}))')
|
2017-04-02 19:44:33 +02:00 |
Daniel Marjamäki
|
1faca91c1d
|
Added 'endsWith' utility function. This will make compiling the democlient easier.
|
2017-04-01 18:14:18 +02:00 |
Daniel Marjamäki
|
c18fe8262b
|
Fixed #7934 (Wrong AST for 'for (i=0;cond;({min(x,10);}))')
|
2017-03-19 07:26:11 +01:00 |
Daniel Marjamäki
|
ecc59859e1
|
Don't simplify _Bool in TokenList
|
2017-03-04 11:13:28 +01:00 |
Daniel Marjamäki
|
f0c353abcb
|
TokenList: append 'U' if needed on hexvalues
|
2017-03-04 08:47:53 +01:00 |
Matthias Krüger
|
064a4aa4cc
|
improve constness of functions as per cppchecks suggestions.
|
2017-01-07 14:31:03 +01:00 |
Stefan Weil
|
57b57428c2
|
Fix some typos in comments (found by codespell)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
|
2016-11-27 11:40:42 +01:00 |
Daniel Marjamäki
|
c329887bfe
|
use const
|
2016-11-20 15:44:20 +01:00 |
Frank Zingsheim
|
c8ff96fe8f
|
Fixed #6180 (Usage of variable after std::move or std::forward)
|
2016-11-20 15:14:49 +01:00 |
Simon Martin
|
f816fb811e
|
Ticket #7680: Properly handle ::delete during memory leak checks.
|
2016-09-10 14:55:50 +02:00 |
Robert Reif
|
100c4276ea
|
Fixed #7424 (value type: wrong sign)
|
2016-03-18 10:30:57 +01:00 |
Alexander Mai
|
89c9528fdc
|
Small optimization of TokenList::validateAst()
|
2016-02-02 08:55:26 +01:00 |
Alexander Mai
|
a288d5eb16
|
#7027 TokenList::validateAst() did not detect broken AST with endless recursion
|
2016-01-31 22:16:58 +01:00 |
Daniel Marjamäki
|
c0056d2455
|
Fixed #7347 (AST: wrong ast when template variable is declared and initiailized in if 'if (A::B<C> abc = 123)')
|
2016-01-26 10:40:44 +01:00 |
Daniel Marjamäki
|
7663b6ee75
|
Fixed #7348 (AST: wrong ast for cast that starts with :: '(::X*)x;')
|
2016-01-25 10:29:24 +01:00 |
Daniel Marjamäki
|
79e663dd6f
|
Settings: Remove '_' prefix for public member variables
|
2016-01-03 16:18:17 +01:00 |
Daniel Marjamäki
|
91d0f0fee0
|
astyle formatting
[ci skip]
|
2016-01-03 09:38:03 +01:00 |
Daniel Marjamäki
|
ed12b4dc44
|
Fixed #7253 (AST wrong on nested reinterpret_cast)
|
2016-01-03 09:37:38 +01:00 |
Lauri Nurmi
|
996c9244d8
|
Update copyright year to 2007-2016.
|
2016-01-01 15:34:45 +02:00 |
Alexander Mai
|
5b6758b03b
|
Add some debugging code (inspired by #6021)
|
2015-12-27 17:38:15 +01:00 |
Daniel Marjamäki
|
f09dded7b1
|
TokenList: Better handling of '1++a' and 'a++1'
|
2015-12-27 14:57:22 +01:00 |
Alexander Mai
|
e9635fd393
|
#7236 segmentation fault (invalid code) in ValueFlow::setValues. #7237 segmentation fault (invalid code) in Tokenizer::setVarIdClassDeclaration
|
2015-12-26 23:51:10 +01:00 |
amai2012
|
081f443b2a
|
#7235 segmentation fault (invalid code) in TokenList::createAst
|
2015-12-26 20:26:07 +01:00 |
Dmitry-Me
|
05cb4e16fe
|
Fix misspelled word
|
2015-12-25 11:51:08 +03:00 |
Dmitry-Me
|
bd45c71d8d
|
No need to clear empty strings
|
2015-12-24 10:16:58 +03:00 |
Daniel Marjamäki
|
3f386af21c
|
astyle formatting
|
2015-12-23 10:26:12 +01:00 |
Alexander Mai
|
28a625abd8
|
#7218 Improve performance in TokenList::validateAst(): Keep a list of 'verified' tokens during recursion check.
|
2015-12-19 20:36:30 +01:00 |
Dmitry-Me
|
4a8a5d4460
|
Fix C4706 assignment within conditional
|
2015-12-15 11:34:04 +03:00 |
Alexander Mai
|
96531d6ffe
|
TokenList::createAst() doesn't validate itself anymore. Remove some duplicated code and fix glitch in TestGarbage::garbageCode162
|
2015-12-12 20:01:03 +01:00 |
Alexander Mai
|
5b2dacb4b4
|
Correct travis and compiler warnings and comments
|
2015-12-12 16:08:52 +01:00 |
Alexander Mai
|
9a847d7b14
|
#7208 Cppcheck hangs with 100% CPU load in CheckOther::checkNegativeBitwiseShift (invalidcode). TokenList::validateAst() is running consistency checks on AST
|
2015-12-12 15:39:38 +01:00 |
PKEuS
|
e8522c7883
|
Small refactorizations:
- #include cleanup
- Use std::array instead of std::vector
- Do not create a stringstream to concatenate 4 strings
- Use std::cout instead of printf
|
2015-11-29 10:56:44 +01:00 |
PKEuS
|
1566b72c5b
|
Fixed broken AST for simple expressions with delete operator.
Fixed cppcheck internal warning
|
2015-11-18 21:37:37 +01:00 |
Daniel Marjamäki
|
0f9d90d2be
|
Changed Copyrights. Removed my name.
|
2015-11-18 20:04:50 +01:00 |
Alexander Mai
|
5318970f1e
|
#7109 segmentation fault (invalid code) in TokenList::createAst
|
2015-11-08 15:09:39 +01:00 |
PKEuS
|
be36539ad7
|
Fixed AST generation for C++11-style initialization (#6528)
|
2015-11-06 17:34:26 +01:00 |
Daniel Marjamäki
|
fc2bf2ef08
|
Fixed #7065 (AST: More explicit handling of lambda functions, generate ast for ';new Fred;')
|
2015-10-20 23:55:29 +02:00 |