PKEuS
|
229d488048
|
Fixed build
|
2015-07-23 13:15:58 +02:00 |
Frank Zingsheim
|
1c12378ce9
|
Simplified pattern in Tokenizer::simplifyExternC() (#5544)
|
2015-07-23 13:04:25 +02:00 |
Frank Zingsheim
|
6485339d66
|
Support lambdas in "else if" simplification (#6860)
|
2015-07-23 09:41:35 +02:00 |
PKEuS
|
258e3b9dc3
|
Refactorization: Renamed Token::isOperator() to Token::isOperatorKeyword() to avoid confusion with Token::isOp(), use Token::isOperatorKeyword() in setVarId().
|
2015-07-22 13:57:51 +02:00 |
Robert Reif
|
4e693f1620
|
Fixed #6827
|
2015-07-22 13:57:51 +02:00 |
Daniel Marjamäki
|
f9d22f70db
|
Removed simplifyIfNot simplification (#6072)
|
2015-07-21 20:56:47 +02:00 |
Daniel Marjamäki
|
1b8252181d
|
Tokenizer: Removed Tokenizer::simplifyIfNotNull (#6072)
|
2015-07-21 17:58:44 +02:00 |
amai2012
|
e8ac4d8e87
|
#6847 segmentation fault (invalid code) in Token::multiCompare. Fix and simple refactoring in Tokenizer
|
2015-07-21 13:40:50 +02:00 |
PKEuS
|
149d11d9ad
|
Improved handling of inline assembly (#6813):
- Add ; after asm {} block if required
- Fixed inline suppressions
|
2015-07-20 23:09:54 +02:00 |
PKEuS
|
c987a99ac8
|
Fixed hang on garbage code (#6824)
|
2015-07-20 22:33:32 +02:00 |
Frank Zingsheim
|
8416be4d9d
|
#6345 Tokenizer::simplifyTypedef() adds redundant 'typename' to declaration
|
2015-07-20 07:55:22 +02:00 |
Alexander Mai
|
8b97f04de4
|
Try to address some Coverity issues. Add TODO testcase for #5783. Introduce TODO_ASSERT macro.
|
2015-07-19 15:03:35 +02:00 |
Simon Martin
|
1f73d71542
|
Ticket #5776: Simplify (&a)->b into a.b
|
2015-07-17 23:27:35 +02:00 |
Alexander Mai
|
d45aa6170b
|
Minor refactoring in Tokenizer: Optimize for C code and use nullptr instead of 0
|
2015-07-16 00:29:48 +02:00 |
Simon Martin
|
2d8993319c
|
Ticket #6810: Avoid infinite loop upon invalid typed enum declaration.
|
2015-07-15 21:39:15 +02:00 |
Antti Tuppurainen
|
a75872a15e
|
Fix uniform init in out-of-class ctor-initer
|
2015-07-14 18:09:07 +02:00 |
Daniel Marjamäki
|
81d9c90890
|
Fixed Cppcheck warning caused by a redundant null pointer test.
|
2015-07-08 21:04:38 +02:00 |
Simon Martin
|
7bfb1fb545
|
Simplify the code handling C++0x typed enumerations.
|
2015-07-06 23:37:16 +02:00 |
amai2012
|
4a1695c879
|
#6807 segmentation fault (invalid code) in Tokenizer::simplifyTypedef. #6808 segmentation fault (invalid code) in Tokenizer::simplifyTypedef. Throw InternalError on garbage code
|
2015-07-01 16:31:49 +02:00 |
Alexander Mai
|
2c73518e29
|
Fix platform-dependent test result, formatting and crash in whole program analysis
|
2015-06-28 17:54:48 +02:00 |
amai2012
|
4a47b8b3ae
|
Refactoring: Better distinguish between C and C++ in a few checks.
|
2015-06-28 16:49:16 +02:00 |
Alexander Mai
|
c047fae53b
|
#6790 segmentation fault (invalid code) in Tokenizer::simplifyTypedef. Fix null pointer access
|
2015-06-25 07:47:40 +02:00 |
Alexander Mai
|
8946fcd960
|
#6772 segmentation fault (invalid code) in Tokenizer::setVarId. Add another validate() call to Tokenizer::simplifyTokenList1. Small refactoring to Tokenizer: mark many methods as private.
|
2015-06-24 20:47:04 +02:00 |
Alexander Mai
|
6ba9c21fb9
|
#6786 segmentation fault (invalid code) in Tokenizer::simplifyRedundantParentheses. Small refactoring for Tokenizer::simplifyTokenList2() including additional calls to validate() - which prevents heap corruption on invalid code
|
2015-06-24 20:22:28 +02:00 |
amai2012
|
9fedc9bd74
|
#6788 segmentation fault (invalid code) in Tokenizer::simplifyVarDecl. Fix null pointer access
|
2015-06-24 16:54:23 +02:00 |
Alexander Mai
|
f806d945a1
|
Refactoring: Allow TemplateSimplifier to throw InternalErrors by itself.
|
2015-06-23 20:53:57 +02:00 |
amai2012
|
69f91ac187
|
#6785 segmentation fault (invalid code) in Tokenizer::simplifyTypedef. Avoid null pointer access
|
2015-06-23 17:59:01 +02:00 |
Alexander Mai
|
07bcc7157b
|
#6784 segmentation fault (invalid code) in Tokenizer::simplifyTypedef. Avoid null pointer access
|
2015-06-22 20:43:26 +02:00 |
orbitcowboy
|
06e818f89d
|
Running astyle, no functional change.
|
2015-06-17 09:09:23 +02:00 |
amai2012
|
919fcb38f5
|
Refactoring Tokenizer
Create Tokenizer::simplifyAsm2(), skip simplifyExternC() in C code and
simplifyBorland() on non-Microsoft or C code
|
2015-06-16 20:53:11 +02:00 |
Martin Ettl
|
9b14ab15eb
|
MathLib::intsuffix: Added support for LLU and LU suffixes.
|
2015-06-16 19:12:18 +02:00 |
amai2012
|
227b48212e
|
Skip some C++-specific simplifications in Tokenizer
|
2015-06-15 19:42:20 +02:00 |
Alexander Mai
|
d704e97203
|
Fix (potential) multi-threading issues by moving static local vars (non-POD-type) to file scope
|
2015-06-10 21:14:17 +02:00 |
Daniel Marjamäki
|
3986c0dc64
|
fixed cppcheck warnings
|
2015-06-10 19:07:04 +02:00 |
Alexander Mai
|
c18461b173
|
#6761 segmentation fault (invalid code) in Tokenizer::simplifyTypedef. Fix crash.
|
2015-06-07 13:35:51 +02:00 |
Alexander Mai
|
b6264e4a00
|
#6759 segmentation fault (invalid code) in Tokenizer::simplifyTokenList2. #6760 segmentation fault (invalid code) in Tokenizer::simplifyTypedef. Fix crashes
|
2015-06-06 13:11:32 +02:00 |
Daniel Marjamäki
|
d208e763df
|
astyle formatting
|
2015-06-05 14:34:53 +02:00 |
amai
|
5fd9dd04fa
|
#6757 segmentation fault (invalid code) in Tokenizer::simplifyTypedef. Fix crash
|
2015-06-04 19:00:35 +02:00 |
Alexander Mai
|
5f4902c613
|
6755 segmentation fault (invalid code) in Token::isAssignmentOp. #6756 segmentation fault (invalid code) in Tokenizer::simplifyTypedef. Fix two crashes.
|
2015-06-04 17:46:52 +02:00 |
amai2012
|
87bf09c0ae
|
#6751 segmentation fault (invalid code) in Tokenizer::simplifyTypedef.
|
2015-06-03 11:39:30 +02:00 |
amai2012
|
ed5a4127e8
|
#6749 segmentation fault (invalid code) in Tokenizer::copyTokens. #6750 segmentation fault (invalid code) in Tokenizer::simplifyTypedef.
|
2015-06-03 10:39:19 +02:00 |
amai2012
|
d36c84553f
|
#6748 segmentation fault (invalid code) in Tokenizer::simplifyTypedef. Throw error from now (member-function) Tokenizer::processFunc
|
2015-06-03 08:59:38 +02:00 |
Alexander Mai
|
d86ac9e3ed
|
#6747 segmentation fault (invalid code) in Token::isAttributeConstructor
|
2015-06-02 22:26:17 +02:00 |
Alexander Mai
|
09f2cff519
|
#6746 segmentation fault (invalid code) in Tokenizer::simplifyTypedef
|
2015-06-02 21:52:08 +02:00 |
Alexander Mai
|
6e1b5a0a53
|
#6744 segmentation fault (invalid code) in Tokenizer::simplifyPointerToStandardType. #6745 segmentation fault (invalid code) in Tokenizer::simplifyTypedef
|
2015-06-02 21:20:41 +02:00 |
Alexander Mai
|
f348c8eebe
|
#6741 segmentation fault (invalid code) in Tokenizer::simplifyTypedef.
|
2015-06-02 20:09:12 +02:00 |
Alexander Mai
|
7fc9930b38
|
#6740 segmentation fault (invalid code) in Tokenizer::simplifyFunctionPointers. Throw syntaxError instead
|
2015-06-02 19:48:20 +02:00 |
Alexander Mai
|
a3bdd90df5
|
#6739 segmentation fault (invalid code) in Tokenizer::simplifyTypedef. Fix segfault in the specified method
|
2015-06-02 19:40:20 +02:00 |
Alexander Mai
|
be3690920a
|
#6738 Avoid segfault on garbage code in Tokenizer::simplifyTypedef()
|
2015-06-02 19:07:26 +02:00 |
Martin Ettl
|
0a148a9433
|
Running astyle, no functional changes.
|
2015-06-01 22:09:56 +02:00 |