Commit Graph

156 Commits

Author SHA1 Message Date
keinflue c77caf637c
Bump simplecpp () 2021-05-10 22:46:31 +02:00
Daniel Marjamäki f4e69b99d2 bump simplecpp 2021-04-30 17:41:59 +02:00
Daniel Marjamäki 659a03e754 Bump simplecpp 2021-04-26 16:25:39 +02:00
Oliver Stöneberg dcc90c6dfa
improved compiler warnings about missing attributes () 2021-04-25 12:52:09 +02:00
Oliver Stöneberg 5de58c4ddd
added clang-tidy to CI () 2021-04-18 21:51:47 +02:00
Daniel Marjamäki c638edc8b4 Bump simplecpp 2021-02-21 19:13:16 +01:00
Philipp Kloke ef82897af5 Refactorization: Use std::string::pop_back
Merged from LCppC.
2021-02-17 22:39:29 +01:00
Oliver Stöneberg b7c573bc9b
removed the *_sanitized targets used by fuzz-client from CMake - if you need this to be sanitized use CMAKE_CXX_FLAGS / fixed linking of fuzz-client () 2020-11-21 07:44:22 +01:00
Daniel Marjamäki c7cbe7f2d3 rename externals/tinyxml to externals/tinyxml2 2020-11-16 09:11:53 +01:00
Daniel Marjamäki 65e0694fc6 picojson: Add LICENSE 2020-11-15 15:22:58 +01:00
Daniel Marjamäki ef5d5e84c5 Fixed (Add PicoJSON Copyright notice) 2020-11-14 21:31:50 +01:00
Daniel Marjamäki 566e74fae0 bump simplecpp (fix hang when systemheader includes itself) 2020-09-14 15:43:43 +02:00
Daniel Marjamäki b5cd823080 Bump simplecpp 2020-09-11 18:28:37 +02:00
Daniel Marjamäki d606eb5ed9 Bump simplecpp 2020-07-03 11:42:58 +02:00
Daniel Marjamäki 8ab305d3c9 Revert "Bump simplecpp"
This reverts commit eec622b515.
2020-07-02 21:31:23 +02:00
Daniel Marjamäki eec622b515 Bump simplecpp 2020-07-02 18:18:30 +02:00
Oliver Stöneberg 3a90341961
some CMake cleanups and additions () 2020-05-27 05:15:46 +02:00
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 ()
* 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 ()
* 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 ()
* 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 ()
* 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 ()
* 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 ()
* bug fix - de-escape double backslashes in file paths of #line directives

From merged PR .

* 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 ()
* 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 () 2019-11-16 18:29:01 +01:00
Rikard Falkeborn 224ae3c326 Bump simplecpp () 2019-10-26 17:30:04 +02:00
Rikard Falkeborn d27e70db8e bump simplecpp () 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. () 2019-09-11 19:21:38 +02:00
IOBYTE e5220bdf0c make ellipsis ... a single token ()
* 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 ()
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