Commit graph

10 commits

Author SHA1 Message Date
Vadim Peretokin
8cb58cf0ca
Infrastructure: remove MSVC leak detection (#8378)
<!-- Keep the title short & concise so anyone non-technical can
understand it,
     the title appears in PTB changelogs -->
#### Brief overview of PR changes/additions
Remove support for leak detection using MSVC - this functionality hasn't
been in use in a decade, and we're switching to to using
[LeakSanitizer](https://github.com/google/sanitizers/wiki/AddressSanitizerLeakSanitizer)
instead.
#### Motivation for adding to Mudlet
Cleaner code.
#### Other info (issues closed, discussion etc)

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-10-21 15:11:09 +01:00
Stephen Lyons
cda792c686
Improve: [CodeFactor] eliminate (some of) our C style casts (#5355)
These have no place in C++ code!

Unfortunately there are some in third party bits which can't be fixed here
but should be raised upstream.

This should help with #1650.

During review it became necessary to remove some changes that
clang-tidy choked on, hence the revision to the title to say:
"(some of)"! There may be a better way - but it doesn't jump out at
me - to deal with the outstanding ones.

Signed-off-by: Stephen Lyons <slysven@virginmedia.com>
2021-10-09 20:10:11 +01:00
Vadim Peretokin
cb0935b426
Optimised imports in Mudlet. (#1703) 2018-05-31 07:13:32 +02:00
Ahmed Charles
8ac2d0041b Subset of clang-format changes. 2017-04-19 21:42:55 -07:00
Ahmed Charles
9b4f547e46 Revert "Formatting: applied anti-ClangFormat guards around pre/post_guard.h includes"
This reverts commit 272970e62f.
2017-04-14 03:45:58 -07:00
Stephen Lyons
272970e62f
Formatting: applied anti-ClangFormat guards around pre/post_guard.h includes
clang-format has an option to sort header #include lines in source code
files - however the `#include "pre_guard.h"` and `#include "post_guard.h"`
includes are position sensitive - they must wrap around Qt's own classes'
includes in our files and they must not be tidied-up/rearranged.

This commit adds the necessary comments that commands clang tools to not
touch these lines.

We had previously done this on the XMLimport class as a test case but
during recent major branch merging operations one of these comments was
lost from the XMLimport.cpp file!

Signed-off-by: Stephen Lyons <slysven@virginmedia.com>
2017-04-13 14:00:23 +01:00
Ahmed Charles
190613b5d7 Update license to be GPLv2 or later. 2014-09-03 23:56:01 -07:00
Ahmed Charles
0423b2c6c8 Some more intentionally low controversial formatting. 2014-08-24 21:11:35 -07:00
Ahmed Charles
3989340fcd Rearrange includes to improve compile times.
This also allows for memory leak checking on MSVC by having include
surrounding Qt headers, which break if you have a macro define new
to be something which tracks line information.
2014-08-17 14:46:54 -07:00
heiko
11ab2fbbee added missing files 2009-06-13 02:59:24 +02:00