mirror of
https://github.com/catchorg/Catch2.git
synced 2025-12-21 17:42:11 +01:00
Builds almost completely cleanly with -WEverything in LLVM
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||
* Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
* file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
*/
|
||||
#pragma clang diagnostic ignored "-Wpadded"
|
||||
|
||||
#include "catch_self_test.hpp"
|
||||
|
||||
TEST_CASE( "selftest/main", "Runs all Catch self tests and checks their results" ) {
|
||||
@@ -54,6 +56,8 @@ TEST_CASE( "meta/Misc/Sections", "looped tests" ) {
|
||||
CHECK( runner.getTotals().assertions.failed == 1 );
|
||||
}
|
||||
|
||||
#pragma clang diagnostic ignored "-Wweak-vtables"
|
||||
|
||||
#include "../../include/internal/catch_commandline.hpp"
|
||||
#include "../../include/reporters/catch_reporter_basic.hpp"
|
||||
#include "../../include/reporters/catch_reporter_xml.hpp"
|
||||
|
||||
Reference in New Issue
Block a user