Commit Graph

16142 Commits

Author SHA1 Message Date
Daniel Marjamäki 9082c097c8 Fixed testing of #7615. The code is not garbage so move it from TestGarbage to TestSymbolDatabase 2016-07-26 09:10:10 +02:00
Daniel Marjamäki fd19ab4ed1 fix garbage code handling 2016-07-26 08:50:00 +02:00
Dmitry-Me 2b31afe2ab Variable name consistent with surroundings 2016-07-26 09:46:50 +03:00
Daniel Marjamäki 383b815cca Tokenizer: refactoring garbage code handling 2016-07-26 08:16:10 +02:00
Matthias Krüger 6fd8edd6e5 Symboldatabase::sizeOfType: fix crash; fixes #7615 2016-07-26 01:18:47 +02:00
Daniel Marjamäki dd766d477d try to fix memleak in simplecpp 2016-07-25 21:33:06 +02:00
PKEuS 045116f797 Optimized SymbolDatabase::findVariableType(). 2016-07-25 18:33:22 +02:00
Dmitry-Me 64360d291d Variable name consistent with surroundings 2016-07-25 17:04:18 +03:00
Daniel Marjamäki 2feb86a6af Preprocessor: set platform info 2016-07-25 14:52:23 +02:00
Daniel Marjamäki 90faa80590 Preprocessor: Cleanup unused functions 2016-07-25 14:29:02 +02:00
Daniel Marjamäki 8c8ad96fe5 cppcheckdata.py: reformat documentation 2016-07-25 13:47:26 +02:00
XhmikosR 07b43c6929 Ran autopep8. 2016-07-25 13:16:55 +03:00
Daniel Marjamäki 7ef02a7469 Cleanup Tokenizer 2016-07-25 12:12:11 +02:00
XhmikosR fc88c62719 triage: cleanup.
[ci skip]
2016-07-25 12:15:35 +03:00
XhmikosR 8908442f9e Losslessly compress images.
Before: 24,1 KB (24.685 bytes)
After:  23,0 KB (23.608 bytes)
2016-07-25 12:15:35 +03:00
Daniel Marjamäki e4ebbddd0f bump simplecpp 2016-07-25 09:13:59 +02:00
Daniel Marjamäki adf16fae8b Remove handling of ##, __FILE__, __LINE__ from tokenizer 2016-07-25 07:58:03 +02:00
Daniel Marjamäki 0767284ca1 Fixed #7630 (FP: dead store, modifying array, index var modified) 2016-07-25 07:35:33 +02:00
Daniel Marjamäki cd3818088f Remove unused function Tokenizer::tokenizeCondition 2016-07-24 14:37:43 +02:00
Daniel Marjamäki e9fef003ac Preprocessor: refactoring directives, they are now only set once for each file 2016-07-24 14:02:21 +02:00
Daniel Marjamäki 48fc19b34c Remove unused function Preprocessor::preprocessCleanupDirectives() 2016-07-24 12:51:52 +02:00
PKEuS 2e2800f5bd Fixed several MSVC warnings 2016-07-24 12:36:36 +02:00
PKEuS f44d9d5c9b Optimizations in CheckInternal:
- Run checks only on executable scopes
- Simplified patterns
2016-07-24 12:05:58 +02:00
Daniel Marjamäki 161bb50e0c bump simplecpp 2016-07-24 11:36:02 +02:00
Daniel Marjamäki fee2f46efe bump simplecpp 2016-07-24 09:59:57 +02:00
Daniel Marjamäki 2bf2d1bd2a bump simplecpp 2016-07-24 08:51:35 +02:00
Daniel Marjamäki 9b60b36943 bump simplecpp 2016-07-24 08:22:49 +02:00
Daniel Marjamäki 2609d11e1d bump simplecpp 2016-07-23 18:04:23 +02:00
Daniel Marjamäki 88d1911538 bump simplecpp 2016-07-23 16:26:11 +02:00
Daniel Marjamäki f931c0cf2b Preprocessor::getConfigs: Handle invalid #else better 2016-07-23 14:40:01 +02:00
Daniel Marjamäki f30816c145 bump simplecpp 2016-07-23 09:26:06 +02:00
Daniel Marjamäki 175abaa34d bump simplecpp 2016-07-22 17:54:16 +02:00
Daniel Marjamäki ed4a47de45 Tokenizer: Improve syntax checking of switch,if,while 2016-07-22 16:54:24 +02:00
Dmitry-Me 224e55780e Add const where const access is enough 2016-07-22 15:35:07 +03:00
Daniel Marjamäki 035a9a162a daca2: write current time in report 2016-07-22 08:31:00 +02:00
Daniel Marjamäki 1b6ae0de8f bump simplecpp 2016-07-21 21:04:54 +02:00
PKEuS 12e3cf584c Visual Studio solution:
- Fixed include paths
- Export simplecpp to cppcheck-core.dll
- Added /Zc:rvalueCast
2016-07-21 20:38:58 +02:00
Daniel Marjamäki 99307846cf Preprocessor: simplecpp optimisations 2016-07-21 19:42:26 +02:00
Daniel Marjamäki 79ac409c7d Preprocessor: Refactoring Preprocessor::getConfigs() 2016-07-21 19:11:49 +02:00
Daniel Marjamäki 6d10b50434 bump simplecpp 2016-07-21 18:58:11 +02:00
Daniel Marjamäki 4b1f79f243 bump simplecpp 2016-07-21 15:59:59 +02:00
Daniel Marjamäki 62f9bf097b Revert "bump simplecpp"
This reverts commit 540066318c.
2016-07-21 15:51:26 +02:00
Daniel Marjamäki 540066318c bump simplecpp 2016-07-21 15:49:48 +02:00
Daniel Marjamäki 0cf4b82386 try to fix cygwin compile error
[ci skip]
2016-07-21 15:13:27 +02:00
Daniel Marjamäki 6bcc08e6df bump simplecpp 2016-07-21 15:05:29 +02:00
Dmitry-Me 0aac71efd1 Unify and simplify addresses computation 2016-07-21 15:48:48 +03:00
Daniel Marjamäki b2f1b95e38 Bump simplecpp. Preprocessor: Warn about missing includes 2016-07-21 12:47:00 +02:00
Daniel Marjamäki f50f024873 Revert "Resolve CID 1357639"
This reverts commit e3b0c3a974.

It's not a proper fix. I want that Cppcheck detects this bug also. I want to keep the CID open until Cppcheck can detect it.
2016-07-21 09:52:51 +02:00
Dmitry-Me e3b0c3a974 Resolve CID 1357639 2016-07-21 10:34:07 +03:00
Daniel Marjamäki 7383410d32 try to fix travis 2016-07-21 08:04:32 +02:00