mirror of
https://github.com/catchorg/Catch2.git
synced 2025-05-25 14:09:26 +00:00
Builds almost completely cleanly with -WEverything in LLVM
This commit is contained in:
parent
cdc64a138b
commit
a695eb9006
37 changed files with 1045 additions and 966 deletions
|
@ -1,15 +1,13 @@
|
|||
/*
|
||||
* catch_self_test.cpp
|
||||
* Catch
|
||||
*
|
||||
* Created by Phil on 14/02/2012.
|
||||
* Copyright 2012 Two Blue Cubes Ltd. All rights reserved.
|
||||
*
|
||||
* 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"
|
||||
|
||||
#define CATCH_CONFIG_MAIN
|
||||
#include "catch_self_test.hpp"
|
||||
|
||||
|
@ -69,9 +67,6 @@ namespace Catch{
|
|||
case ResultWas::Exception:
|
||||
m_log << "Exception";
|
||||
break;
|
||||
default:
|
||||
m_log << "{unrecognised ResultType enum value}";
|
||||
break;
|
||||
}
|
||||
|
||||
if( resultInfo.hasExpression() )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue