Commit Graph

103 Commits

Author SHA1 Message Date
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
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 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 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
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
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
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
Daniel Marjamäki 51858ecc96 bump simplecpp 2017-05-28 15:23:15 +02:00
Daniel Marjamäki a1081f961c Bump simplecpp 2017-05-26 16:45:07 +02:00
Daniel Marjamäki d96cabc7e5 bump simplecpp 2017-05-19 10:01:12 +02:00
Daniel Marjamäki 711e6f704a Updated simplecpp 2017-05-18 21:40:47 +02:00
PKEuS b86a39d38a Updated TinyXML and simplecpp 2016-12-29 11:28:25 +01:00
PKEuS 75528adea0 Updated simplecpp to 95be502385518402ee61830be2ce3cd0ea02eee2 2016-12-06 14:10:57 +01:00
Daniel Marjamäki 6086165403 bump simplecpp to rev c70bae00a9b92eca75767e547fad972cf011945f 2016-12-04 12:10:28 +01:00
Daniel Marjamäki b04f6fb359 bump simplecpp to rev d1c995c03515d289c7aa7246a74d666fd012c4eb 2016-11-10 20:04:05 +01:00
Daniel Marjamäki 87b08fd405 bump simplecpp to rev a6124eec2bdab9eb6c06c87e024a94709ce6e9ee 2016-11-06 12:29:13 +01:00
PKEuS b9f11f246d Bump simplecpp (fixes #7742) 2016-10-05 21:35:40 +02:00
Daniel Marjamäki 3bdbce0bde bump simplecpp 2917a13fbda2df9742d5f45d33f40f58217b6708 2016-09-11 20:27:57 +02:00