Commit Graph

12 Commits

Author SHA1 Message Date
Mat Sutcliffe
63e8de8f00 Issue #77 getLogCategories returns a simple QStringList instead of our own class 2020-12-19 18:50:34 +00:00
Mat Sutcliffe
1b2f470cd6 Reorder crashpad crash simulation in VERIFY/AUDIT
so it happens after the log message rather than before
2020-06-12 18:42:40 +01:00
Klaus Basan
86c8568bf2 Fixes some CLANG warnings (QtC IDE checks, nevertheless does not harm to fix them) 2020-06-12 18:42:30 +01:00
Mat Sutcliffe
6d1f0328bf Improve handling of BLACK_VERIFY on different Clang versions. 2019-10-23 00:38:25 +02:00
Roland Rossgotterer
108f773e8a Fix BLACK_USE_CRASHPAD not being defined in required places 2019-09-16 22:41:33 +01:00
Mat Sutcliffe
e9a4c49d68 Ref T547 Update license masthead in all source code files. 2019-02-22 20:36:43 +00:00
Mat Sutcliffe
225ff81252 Ref T485 Adjust CLogMessage and CStatusMessage call sites to use the new API. 2019-02-22 20:34:55 +00:00
Mathew Sutcliffe
c790e344ac BLACK_AUDIT macro for paranoid checks on data consistency
Summary:
Triggers a breakpoint when the debugger is attached to a debug build. Otherwise, logs a warning.

Related: T101

Reviewers: kbasan, rwinklmeier

Reviewed By: kbasan

Subscribers: jenkins

Tags: #swift_pilot_client

Differential Revision: https://dev.swift-project.org/D35
2017-09-24 19:49:35 +01:00
Mathew Sutcliffe
ce6d0d8f1e A failed BLACK_VERIFY will generate a Crashpad crash report.
Using noinline to make sure the call to failedVerify is visible in the stack trace.
2017-05-15 22:31:38 +01:00
Roland Winklmeier
e82d06849c Upgrade and cleanup cppcheck suppressions to version 1.76.1
Also renamed the suppressions file to the standard name.

refs #831
2017-01-10 23:44:25 +00:00
Roland Winklmeier
3d7a39ed00 Fix BlackMisc header includes
* Include only what is used
* Use forward declaration when possible
* Sorted includes

refs #630
2016-05-13 17:05:49 +02:00
Mathew Sutcliffe
c644b81d08 refs #493 Added BLACK_VERIFY macros, a weaker kind of Q_ASSERT. 2015-11-30 19:35:43 +00:00