diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-12-28 03:02:57 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-01-16 07:48:18 +0100 |
commit | 6f04e4ca46e6f2dcd3eda63529a1bbd915f7676b (patch) | |
tree | 9aeb1332980c4285396457ad9f278495064549b5 /api/plugin-support.hpp | |
parent | 3be3bb256f3e9362f8889f0532f875c5ad3b41fb (diff) |
clang-tidy fixes only
Maybe global `-Wcomma' is too harsh.
There should be no functional changes whatsoever.
Diffstat (limited to 'api/plugin-support.hpp')
-rw-r--r-- | api/plugin-support.hpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/api/plugin-support.hpp b/api/plugin-support.hpp index 34eee1a4..999a929a 100644 --- a/api/plugin-support.hpp +++ b/api/plugin-support.hpp @@ -62,6 +62,11 @@ struct dylib final handle.setFileName(filename_); handle.setLoadHints(QLibrary::DeepBindHint | QLibrary::PreventUnloadHint | QLibrary::ResolveAllSymbolsHint); +#ifdef __clang__ +# pragma clang diagnostic push +# pragma clang diagnostic ignored "-Wcomma" +#endif + if (check(!handle.load())) return; @@ -80,6 +85,9 @@ struct dylib final name = m->name(); type = t; +#ifdef __clang__ +# pragma clang diagnostic pop +#endif } // QLibrary refcounts the .dll's so don't forcefully unload |