Commit Graph

15424 Commits

Author SHA1 Message Date
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
Daniel Marjamäki 9899e81f2e handle inline suppressions in included files 2016-07-21 07:57:23 +02:00
Daniel Marjamäki e16f0e500c Preprocessor: Parse comments and then remove them 2016-07-21 07:48:17 +02:00
Daniel Marjamäki ae37eb5c06 bump simplecpp, avoid hang when there are circular inclusions 2016-07-20 22:35:45 +02:00
Daniel Marjamäki 8a1936d5c9 update AdditionalIncludeDirectories in vcxproj files 2016-07-20 22:17:23 +02:00
Daniel Marjamäki 8b69d61d34 update AdditionalIncludeDirectories in vcxproj files 2016-07-20 22:01:53 +02:00
Daniel Marjamäki 4ceba79f7f Replace std::to_string, to hopefully make appveyor happier 2016-07-20 20:43:32 +02:00
Daniel Marjamäki 63493c229d bump simplecpp 2016-07-20 20:40:16 +02:00
Daniel Marjamäki f1839ebfaf Preprocessor: Fix crashes for invalid code 2016-07-20 20:39:03 +02:00
Daniel Marjamäki 804d4194bb bump simplecpp 2016-07-20 20:07:16 +02:00
Daniel Marjamäki 0592d57a53 bump simplecpp, try to fix appveyor 2016-07-20 20:03:27 +02:00
Daniel Marjamäki b5ca8ff70f bump simplecpp 2016-07-20 15:04:03 +02:00
Matthias Krüger 30e3897247 simplecpp: convert a few mutual exclusive ifs into else ifs. 2016-07-20 12:56:29 +02:00
Daniel Marjamäki 03d2829fb9 Merge simplecpp branch 2016-07-20 12:21:00 +02:00
Daniel Marjamäki a68da1a725 ValueType: Set valuetype for sizeof argument 2016-07-20 09:39:48 +02:00
Daniel Marjamäki 3eef225b36 Revert preprocessor fix for struct tag macros. There are performance problems. 2016-07-19 18:59:58 +02:00
Matthias Krüger 18d5a7317e fix travis; fix [lib/preprocessor.cpp:2772]: (style) The scope of the variable 'noprescan' can be reduced. 2016-07-19 17:28:31 +02:00
Daniel Marjamäki 4cc4ebd5cd Travis: run slow unit test on travis that is too slow to run on development machines 2016-07-19 17:10:49 +02:00
Mavik 3e86c7b637 Fixed #5700 (Defect: False positives due to failure to expand struct tag macros) 2016-07-19 16:52:53 +02:00