Commit Graph

139 Commits

Author SHA1 Message Date
Daniel Marjamäki 3e650c311b Remove NEW_Z3 macro 2020-05-12 16:57:07 +02:00
Oliver Stöneberg 1388e9385b
cleaned up setting of compiler options and a few more things in CMake (#2599)
* cleaned up compiler options related code in CMake

* moved cmake_minimum_required() and raised to latest 2.8.x version

* use proper compiler version check / print compiler version

* fixed linking of sanitized builds

* added proper version checks to newer Clang warnings and enabled them / moved tinyxml_objs flags to proper compiler

* disabled -Wdeprecated-declarations for Clang

* compileroptions.cmake: removed unnecessary check for clang++ existence - CMAKE_CXX_COMPILER_ID is determined by CMake

* printInfo.cmake: removed unnecessary message for ANALYZE_ADDRESS - LSAN is part of ASAN and enabled by default

* cleaned up if() comparisons in CMake

* added/adjusted TODOs
2020-04-22 11:04:19 +02:00
Oliver Stöneberg 1af959af2c
fixed -Wextra-semi-stmt Clang warnings (#2553)
* fixed -Wextra-semi-stmt Clang warnings

* adjusted REDIRECT macro to require a semicolon

* testmathlib.cpp: rolled back accidental change
2020-04-21 17:27:51 +02:00
Oliver Stöneberg aaffd1f761
some cleanups (#2601)
* exclude the *_sanitized fuzz-client dependencies from all as well

* .gitignore: added CMake output folders and removed a duplicated entry
2020-04-09 09:23:31 +02:00
Oliver Stöneberg e3b644d877
aligned GCC warnings (#2592)
* excluded oss-fuzz related CMake targets from all

* checkstl.cpp: fixed -Wmissing-declarations warning

* suppress -Wsuggest-attribute=format GCC warnings for tinyxml in CMake for now

* aligned GCC warnings in dmake, CMake and Travis / removed now useless WARNINGS_ANSI_ISO
2020-04-08 14:56:12 +02:00
Oliver Stöneberg 28cd5d7ea2
fixed OSS-Fuzz builds and added CMake targets (#2577)
* fixed compilation of OSS-Fuzz clients

* added preliminary CMake target for fuzz-client - also added *_sanitized targets of dependencies (only available with Clang)

* added oss-fuzz build to Travis CI
2020-03-31 09:33:58 +02:00
jannick0 1cef732e1b bug fix - de-escape double backslashes in file paths of #line directives (#2462)
* bug fix - de-escape double backslashes in file paths of #line directives

From merged PR danmar/simplecpp#187.

* externals/simplecpp/simplecpp.cpp:
  - add static function REPLACEALL which replaces a string FROM to the
    string TO at every occurance in the input string.
  - simplecpp::TokenList::readfile: replace any double backslashes in any
    file path of a #line directive.

* externals/simplecpp/simplecpp.cpp: astyling
2019-12-29 14:01:19 +01:00
Sebastian 95696ead23
Catch preprocessor errors possibly issued during loading files (#2430)
* Also catch preprocessor errors possibly issued during loading files

Currently only errors that are issued during preprocessing are caught.

* Bump simplecpp, implement suggestions

Use return value checking instead of catching an exception for calling
Preprocessor::loadFiles().
Handle new enum value simplecpp::Output::EXPLICIT_INCLUDE_NOT_FOUND
where the corresponding enum is used in Cppcheck.

* Use "noloc" location if an explicit include can not be opened
2019-12-09 19:16:55 +01:00
Rikard Falkeborn e0fe8fa2cd bump simplecpp (#2368) 2019-11-16 18:29:01 +01:00
Rikard Falkeborn 224ae3c326 Bump simplecpp (#2297) 2019-10-26 17:30:04 +02:00
Rikard Falkeborn d27e70db8e bump simplecpp (#2245) 2019-10-08 10:38:22 +02:00
Daniel Marjamäki aabe3a70e1 bump simplecpp 2019-09-25 20:19:26 +02:00
warmsocks a56bc006b7 Fixed a typo in lib/checkother.cpp. Corrected spelling errors found by codespell. (#2170) 2019-09-11 19:21:38 +02:00
IOBYTE e5220bdf0c make ellipsis ... a single token (#2143)
* make ellipsis ... a single token

Using cppcheck -E to preprocess code with ellipsis produces output that
can't be compiled because ... is split into 3 tokens.

* try to fix addon
2019-09-04 08:07:30 +02:00
Daniel Marjamäki 88dfb1968f bumped simplecpp 2019-07-03 17:03:46 +02:00
Daniel Marjamäki e4c178d5c0 bump simplecpp 2019-05-07 19:15:31 +02:00
Daniel Marjamäki 81b02197e8 bump simplecpp 2019-05-03 18:50:04 +02:00
Daniel Marjamäki 4a8fe3fb23 Revert "bump simplecpp"
This reverts commit 383e1b7cd1.
2019-05-02 06:50:29 +02:00
Daniel Marjamäki 383e1b7cd1 bump simplecpp 2019-05-01 20:36:14 +02:00
Daniel Marjamäki 1f995fd536 Try to fix gui compile error on Travis 2019-04-20 11:26:29 +02:00
Daniel Marjamäki fe10420d23 Bump simplecpp 2019-03-31 07:49:43 +02:00
Daniel Marjamäki 03c2c88d1e bumped simplecpp 2019-03-11 18:18:00 +01:00
Daniel Marjamäki 93194f47a1 bump simplecpp 2019-03-10 08:47:27 +01:00
Daniel Marjamäki 23d4d9abeb bump simplecpp 2019-02-23 08:35:10 +01:00
Daniel Marjamäki 633e8632f5 bump simplecpp 2019-02-06 16:26:59 +01:00
Daniel Marjamäki 5f5c33baf2 Json: Use simple json library picojson to read compile databases 2019-01-05 17:45:07 +01:00
Daniel Marjamäki 590bf97247 bump simplecpp 2018-11-02 16:28:48 +01:00
Daniel Marjamäki f6f4116389 bump simplecpp 2018-10-09 21:17:38 +02:00
PKEuS 86a1b84b0c Fixed handling of macros with known value defined in header file in configuration splitting (#8404)
Added proper unit test for configuration validation to ensure that it actually works when cppcheck is executed
2018-10-08 16:38:47 +02:00
PKEuS 3d860e6f36 Bump simplecpp 2018-05-14 13:00:22 +02:00
Daniel Marjamäki f188ea33c6 bump simplecpp 2018-04-17 08:12:15 +02:00
Daniel Marjamäki 49a3f32f80 bump simplecpp 2018-04-09 10:47:41 +02:00
Daniel Marjamäki 1f418c1675 bump simplecpp 2018-04-01 09:06:13 +02:00
Daniel Marjamäki 57b96d3aaa update simplecpp 2018-03-15 21:34:58 +01:00
Dmitry-Me 6ceb4b057b Updated TinyXML 2018-03-13 23:09:57 +03:00
Daniel Marjamäki ae7fbb50c7 bump simplecpp 2018-02-14 22:14:42 +01:00
Daniel Marjamäki bf76183eea bump simplecpp 2018-02-11 15:48:37 +01:00
Daniel Marjamäki b4fbcb0dc8 bump simplecpp 2018-01-14 15:18:21 +01:00
Daniel Marjamäki d488467664 Update simplecpp 2018-01-13 18:08:23 +01:00
PKEuS d76c5c525c Updated TinyXML 2018-01-08 20:26:34 +01:00
Daniel Marjamäki 5c7cf584ef bump simplecpp 2017-09-12 22:42:10 +02:00
Daniel Marjamäki e7f469c4ba update simplecpp 2017-09-08 23:20:39 +02:00
Dmitry-Me df5757b2cf Update simplecpp 2017-09-06 00:19:56 +03:00
Daniel Marjamäki 468d4923e4 bump simplecpp 2017-08-21 18:43:42 +02:00
Daniel Marjamäki 31ef266036 bump simplecpp 2017-08-13 13:59:09 +02:00
Dmitry-Me c9a63ca606 Updated TinyXML 2017-08-11 17:56:41 +03:00
Daniel Marjamäki c75b90487e bump simplecpp 2017-06-23 20:09:26 +02:00
Daniel Marjamäki c4c3802c54 bump simplecpp 2017-06-21 14:27:08 +02:00
Daniel Marjamäki 18c97c5456 bump simplecpp 2017-06-21 12:09:50 +02:00
Daniel Marjamäki e8d1e4b19d bump simplecpp 2017-06-08 15:55:12 +02:00