Robert Reif
|
df6855c216
|
SymbolDatabase: reintroduce test, move symboldatabase cleanup code to SymbolDatabase destructor
|
2014-11-02 10:36:52 +01:00 |
Robert Reif
|
4eb33e7479
|
SymbolDatabase: Refactoring of findFunction
|
2014-11-01 14:36:17 +01:00 |
PKEuS
|
c7d315fba3
|
Refactorization: Changed simplifyMathFunctions() to a single pass simplifier
|
2014-10-31 23:08:11 +01:00 |
PKEuS
|
f8371f65f0
|
Refactorization: Avoid string copying.
|
2014-10-31 22:36:44 +01:00 |
PKEuS
|
9b0b7a77b6
|
Removed unnecessary conditions and avoid string copying in Tokenizer::simplifyMathFunctions()
|
2014-10-31 13:59:39 +01:00 |
PKEuS
|
d29117c4b2
|
Rearranged some code in simplifyTypedef
|
2014-10-30 23:48:23 +01:00 |
PKEuS
|
6fdaf65cea
|
Fixed createLinks2() when > is followed by ; (#6242)
|
2014-10-30 11:15:24 +01:00 |
Simon Martin
|
c6e2107d99
|
Ticket #6187: Avoid infinite loop if eraseDeadCode does not remove anything (this time without memory corruption).
|
2014-10-22 20:25:36 +02:00 |
Daniel Marjamäki
|
e965d8de67
|
Merge pull request #455 from Dmitry-Me/refactorNumberIsX
Reuse code in isXNumber() to avoid duplication and unneeded computations
|
2014-10-21 15:30:19 +02:00 |
Dmitry-Me
|
c3fa85b282
|
Reuse code in isXNumber() to avoid duplication and unneeded computations
|
2014-10-21 16:02:35 +04:00 |
Robert Reif
|
42f709c09d
|
Fixed #6229 (Move Windows builtin types __intXX to library)
|
2014-10-21 06:11:19 +02:00 |
Robert Reif
|
e2f72b4cb1
|
Fixed #6215 (Move Windows platform types into library)
|
2014-10-19 07:34:40 +02:00 |
Frank Zingsheim
|
3923618b8d
|
Fixed #6222 (Missing varid for multiple braced initialized variables)
-> Fixed broken code in unit tests
|
2014-10-16 20:46:57 +02:00 |
PKEuS
|
eefaddf980
|
Fixed bug in Tokenizer::simplifyReference() (#6133)
|
2014-10-16 11:43:42 +02:00 |
PKEuS
|
6955e719cf
|
Collected garbage code tests and moved them to testgarbage.cpp
|
2014-10-16 10:59:46 +02:00 |
Daniel Marjamäki
|
ecd17d84fb
|
Reverted f088588c fix for #6187 that fixes infinite loop, the fix cause a use-after-free regression.
|
2014-10-16 06:32:06 +02:00 |
Frank Zingsheim
|
eab0878b8a
|
Support {} initialization in initializer list (#6216)
|
2014-10-15 21:33:21 +02:00 |
Daniel Marjamäki
|
17cab08cba
|
Tokenizer::setVarId: Refactored fix to avoid varId for function name
|
2014-10-15 06:47:09 +02:00 |
Daniel Marjamäki
|
36297f1025
|
Tokenizer::varId: don't set varid for function name in code 'bool f(X x, int=3);'
|
2014-10-14 20:37:32 +02:00 |
Daniel Marjamäki
|
30353d4b61
|
Tokenizer::setVarId: better handling of c++ casts
|
2014-10-11 18:35:06 +02:00 |
Simon Martin
|
70561682eb
|
Tokenizer::simplifyConstTernaryOp: Properly detect the end of the 'false' part of ternary operators when it contains '>'.
|
2014-10-11 17:01:55 +02:00 |
Daniel Marjamäki
|
8c8e85d2db
|
Tokenizer::setVarId: A variable declaration can't start with the typedef keyword
|
2014-10-11 16:30:51 +02:00 |
Daniel Marjamäki
|
dd6ae3033f
|
Tokenizer::simplifyRedundantParentheses: dont remove parentheses in 'void * operator new(SIZE_TYPE, int);'
|
2014-10-11 09:18:43 +02:00 |
Daniel Marjamäki
|
b0b86f5607
|
Fixed internal error, use Token::simpleMatch for pattern 'const new' instead of Token::Match
|
2014-10-10 18:58:04 +02:00 |
Daniel Marjamäki
|
19a05b1f53
|
Tokenizer::setVarId: don't set varid for 'auto' keyword
|
2014-10-10 16:46:31 +02:00 |
amai2012
|
85500dcdbd
|
Merge pull request #453 from simartin/ticket_5625
Ticket #5625: Simplify constant ternary operator in template parameters.
|
2014-10-06 09:01:08 +02:00 |
amai2012
|
cddb4af10b
|
Merge pull request #450 from simartin/ticket_6187
Ticket #6187: Avoid infinite loop if eraseDeadCode does not remove anything
|
2014-10-06 08:59:56 +02:00 |
Simon Martin
|
9ddf857dc7
|
Ticket #5625: Simplify constant ternary operator in template parameters.
|
2014-10-04 20:49:57 +02:00 |
PKEuS
|
a02712cb66
|
Some small refactorizations:
- Removed redundant calls to std::string constructor
- Use default parameters in some places
|
2014-10-03 10:02:46 +02:00 |
PKEuS
|
14f15d65e7
|
Support more patterns when replacing stuff like 'or' (#6201)
|
2014-10-01 08:41:55 +02:00 |
Simon Martin
|
f088588c88
|
Ticket #6187: Avoid infinite loop if eraseDeadCode does not remove anything (invalid goto into a dead loop's body).
|
2014-09-30 19:43:22 +02:00 |
PKEuS
|
448195f255
|
Added variable name to debug message about typeStartToken()
Fixed cppcheck message
|
2014-09-29 14:36:03 +02:00 |
PKEuS
|
de13ad7eca
|
Improved simplifications of redundant loops:
- Execute simplifyWhile0 after simplifyKnownVariables (#394)
- Support declaration of variable in loop header in removeRedundantFor
|
2014-09-26 10:47:05 +02:00 |
Dmitry-Me
|
b17f2eea16
|
Cache search result to avoid dual search
|
2014-09-22 15:54:17 +04:00 |
Daniel Marjamäki
|
f93cf9d1b7
|
Fixed #6170 (Tokenizer: sizeof on array in 2d-array is not handled properly)
|
2014-09-16 17:21:17 +02:00 |
Dmitry-Me
|
b479948f0f
|
Refactoring: Merge overlapping Token::Match function calls
|
2014-09-16 06:22:16 +02:00 |
Daniel Marjamäki
|
29a49d0641
|
removed some redundant null pointer checks before calling Token::Match
|
2014-09-14 11:35:04 +02:00 |
Simon Martin
|
53b58f0ed9
|
Refactoring. Use Token::Match instead of hardcoded patterns to increase readability.
|
2014-09-14 11:26:16 +02:00 |
Simon Martin
|
4b750997cb
|
Ticket #6121: Report a syntax error for invalid enum initializers.
|
2014-09-13 20:46:53 +02:00 |
Dmitry-Me
|
961a1b65ae
|
Merge partially duplicate patterns
|
2014-09-12 19:10:41 +04:00 |
Matthias Krüger
|
323fd1b3dc
|
tokenize.cpp: fix internal warning: Found simple pattern inside Token::Match() call: ") :"
|
2014-09-08 22:00:57 +02:00 |
Frank Zingsheim
|
8c5013adda
|
Fixed #6073
|
2014-09-07 21:53:32 +02:00 |
Daniel Marjamäki
|
db929ffd19
|
Fixed CID 1037074. Useless null pointer check. Created ticket #6144.
|
2014-09-07 13:50:55 +02:00 |
PKEuS
|
35b00a5e05
|
Support rValue references in typedef (#1823)
|
2014-09-06 19:00:26 +02:00 |
Simon Martin
|
eeeb816db9
|
Ticket #6103: Simplify "new (type)" constructs into "new type" to avoid confusion upon certain input.
|
2014-09-05 08:02:18 +02:00 |
PKEuS
|
8c24553229
|
Support inherited member variables in setVarId (#4101)
|
2014-09-04 22:22:09 +02:00 |
PKEuS
|
a52401cf1b
|
Fixed some compiler warning about signed/unsigned conversions.
|
2014-09-02 11:44:51 +02:00 |
PKEuS
|
3e65cb446e
|
Remove "auto" keyword (storage class specifier) from C++03 and C code (#4990).
|
2014-09-02 11:21:47 +02:00 |
PKEuS
|
80df3dc642
|
Disabled several checks and simplifications for C code, if they are C++-only. Do not match arguments for C code, since there can't be overloads.
|
2014-09-01 18:43:24 +02:00 |
Dmitry-Me
|
9199dde560
|
Move declarations closer to where they're first used
|
2014-09-01 10:05:59 +04:00 |