Frank Zingsheim
|
6857dbe864
|
#6729 Simplification reference to constants.
|
2015-06-01 10:00:03 +02:00 |
Simon Martin
|
85b47636dc
|
Simplify known variableswhen they are at the end of a statement.
|
2015-05-30 23:34:50 +02:00 |
Simon Martin
|
50e5595845
|
Ticket #6708: Check that a function name is not a reserved keyword in SymbolDatabase::isFunction instead of later.
|
2015-05-26 00:28:08 +02:00 |
Alexander Mai
|
7416d6add9
|
Another fix for handling of final/override specifiers in Tokenizer::simplifyKeyword() including a testcase. Ran astyle
|
2015-05-23 20:51:15 +02:00 |
Simon Martin
|
67eab0cd7c
|
Ticket #6620, #6685: Reserved keywords cannot be function names.
|
2015-05-23 11:29:58 +02:00 |
Alexander Mai
|
f0bc300198
|
#6510 False positive performance warning for std::list::size(). Fix this and other similar false positives. Refactoring of Variable::isStlType(), use fail-safe std::set instead of plain array. Run astyle
|
2015-05-17 20:02:41 +02:00 |
amai2012
|
20842fb1fc
|
#6690 override and final qualifiers plus less than operator results in a syntax error
Tokenizer::simplifyKeyword() is now able to handle all combinations out
of const|final|override
|
2015-05-17 13:02:13 +02:00 |
PKEuS
|
77c5381612
|
Support C++14 [[deprecated]]
|
2015-05-10 12:36:28 +02:00 |
Alexander Mai
|
8fa7b13a18
|
#6659 heap user after free: kernel: sm750_accel.c. Add testcase.
|
2015-05-10 11:37:23 +02:00 |
orbitcowboy
|
785df82513
|
#6660: Fixed crash in Tokenize::SetVarid().
|
2015-04-29 09:18:54 +02:00 |
PKEuS
|
c4ceb97cea
|
Fixed #6629: Don't simplify sinf(0) if sinf is a variable
|
2015-04-13 20:37:07 +02:00 |
PKEuS
|
c2ccd7d9e4
|
Simplify _declspec like __declspec
|
2015-04-11 11:02:52 +02:00 |
PKEuS
|
42673255ed
|
Refactorized testrunner: Create std::string only where necessary
|
2015-03-15 12:36:40 +01:00 |
PKEuS
|
bc5132e0ac
|
Refactorization: Moved declaration of errout, ... to testsuite.h, uniformized style
|
2015-03-11 22:54:43 +01:00 |
Simon Martin
|
9c6a625f91
|
Ticket #6181: Normalize '>>' into '> >' when it's closing a C++11 template parameter list.
|
2015-03-07 11:06:04 +01:00 |
Daniel Marjamäki
|
f705cdce72
|
Fixed #6556 (Tokenizer::simplifyVarDecl: doesn't simplify template variables properly)
|
2015-03-06 17:30:20 +01:00 |
Daniel Marjamäki
|
925f077b8a
|
Fixed #6110 (TemplateSimplifier::simplifyCalculations: wrong simplification of 'if (VG_(strlen)(s)>=3)')
|
2015-03-02 16:27:00 +01:00 |
Daniel Marjamäki
|
86cdc8e7a6
|
Fixed #6540 (Tokenizer::simplifyKnownVariables: Missing varid for simplification in conditional code)
|
2015-03-02 06:18:00 +01:00 |
Daniel Marjamäki
|
449b88aa0c
|
Fixed #6547 (Regression - unknown macro causes analysis error)
|
2015-02-28 11:09:39 +01:00 |
Daniel Marjamäki
|
d4fa656e58
|
Refactor and improve Tokenizer::sizeofAddParentheses
|
2015-02-22 13:38:06 +01:00 |
Daniel Marjamäki
|
e251a99817
|
AST: fix handling of sizeof. ticket #6515
|
2015-02-18 19:56:13 +01:00 |
Simon Martin
|
c4c46be972
|
Revert fix for #6181, that caused #6354 and #6414.
|
2015-02-14 12:29:05 +01:00 |
Daniel Marjamäki
|
78b711fd7b
|
astyle formatting
|
2015-02-01 14:50:51 +01:00 |
PKEuS
|
f78744ac30
|
Fixed AST generation if expression starts with ternary operator
|
2015-02-01 14:02:19 +01:00 |
PKEuS
|
21cb0cfd60
|
Take simplifyIfNotNull and simplifyIfNot out of simplifyTokenList1 (first step for #6072)
|
2015-01-31 20:12:02 +01:00 |
PKEuS
|
b2835051df
|
Refactorization: Renamed Token::Match pattern %var% to %name%, implement new pattern %var% which is true if varId > 0.
|
2015-01-31 12:32:04 +01:00 |
Martin Ettl
|
fab34a8382
|
Fixed a few inconclusive warnings regarding const-correctness in cppcheck code base.
|
2015-01-20 16:50:16 +01:00 |
Robert Reif
|
193645318b
|
Tokenizer: Remove macro in class declaration like 'class DLLEXPORT Fred {}' to be able to handle the class better later
|
2015-01-17 07:42:49 +01:00 |
Daniel Marjamäki
|
ff11ba9847
|
Updated copyright year to 2015
|
2015-01-03 12:14:58 +01:00 |
PKEuS
|
5dc45bd4ac
|
Fixed #5497: Support designated initializers in array size detection
|
2014-12-30 19:23:01 +01:00 |
Robert Reif
|
9e60f584d9
|
Fixed #6321: Implemented function Token::swapWithNext().
|
2014-12-27 10:53:26 +01:00 |
Daniel Marjamäki
|
fb3f5a159d
|
Token: Added flag for attribute noreturn (#6328)
|
2014-12-24 12:50:51 +01:00 |
Simon Martin
|
4c7a8c5497
|
Ticket #6181: Properly handle >> terminating template parameter lists.
|
2014-12-14 15:14:27 +01:00 |
Daniel Marjamäki
|
051d42ae6b
|
astyle formatting
|
2014-11-20 14:20:09 +01:00 |
orbitcowboy
|
f5d804f71a
|
running astyle
|
2014-11-20 10:13:03 +01:00 |
PKEuS
|
428587f3d4
|
Fixed #6275: Simplification of = (NULL); to = 0;
|
2014-11-18 19:39:38 +01:00 |
PKEuS
|
ad8749c0bd
|
Fixed #6278: Remove casts to references to pointers in Tokenizer::simplifyCasts()
|
2014-11-18 19:23:59 +01:00 |
Simon Martin
|
cc6b51f2d9
|
Ticket #6059: Properly handle class... in parameter lists.
|
2014-11-07 23:08:54 +01:00 |
PKEuS
|
c7d315fba3
|
Refactorization: Changed simplifyMathFunctions() to a single pass simplifier
|
2014-10-31 23:08:11 +01:00 |
PKEuS
|
6fdaf65cea
|
Fixed createLinks2() when > is followed by ; (#6242)
|
2014-10-30 11:15:24 +01: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 |
Daniel Marjamäki
|
7107286be6
|
Fixed #5891 (AST: wrong ast generated for 'x = (int)(double(123)*i);')
|
2014-10-16 15:57:05 +02:00 |
PKEuS
|
6955e719cf
|
Collected garbage code tests and moved them to testgarbage.cpp
|
2014-10-16 10:59:46 +02:00 |
Frank Zingsheim
|
eab0878b8a
|
Support {} initialization in initializer list (#6216)
|
2014-10-15 21:33:21 +02:00 |
Daniel Marjamäki
|
94c677905b
|
ast: don't hang when invalid code with new is found 'new (var1,var2,var3);'
|
2014-10-13 19:12:20 +02:00 |
Daniel Marjamäki
|
aac9e66147
|
AST: fixed ast for 'new (char *)[10]'
|
2014-10-12 12:57:01 +02:00 |
Daniel Marjamäki
|
f72a8d3f15
|
AST: fixed ast for 'a(new A(1)), b(new B(2))'
|
2014-10-12 12:13:01 +02:00 |
Daniel Marjamäki
|
649e2dfa97
|
AST: fixed ast for 'a = new (b) ::X;'
|
2014-10-12 11:12:25 +02:00 |
Daniel Marjamäki
|
f96ea94048
|
AST: fixed ast for 'a(new (X), 5);'
|
2014-10-12 10:20:03 +02:00 |