Skip to content

Commit 514ca29

Browse files
committed
Generated single header files.
1 parent e29aafc commit 514ca29

File tree

10 files changed

+40
-80
lines changed

10 files changed

+40
-80
lines changed

single_header/boost/fakeit.hpp

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/*
33
* FakeIt - A Simplified C++ Mocking Framework
44
* Copyright (c) Eran Pe'er 2013
5-
* Generated: 2021-04-11 20:16:42.931992
5+
* Generated: 2021-05-12 13:47:04.884568
66
* Distributed under the MIT License. Please refer to the LICENSE file at:
77
* https://github.com/eranpeer/FakeIt
88
*/
@@ -5275,22 +5275,18 @@ namespace fakeit {
52755275
class VTUtils {
52765276
public:
52775277

5278-
#ifdef __GNUG__
5279-
#ifndef __clang__
5278+
#if defined(__GNUG__) && !defined(__clang__) && __GNUC__ >= 8
52805279
#pragma GCC diagnostic push
52815280
#pragma GCC diagnostic ignored "-Wcast-function-type"
5282-
#endif
52835281
#endif
52845282
template<typename C, typename R, typename ... arglist>
52855283
static unsigned int getOffset(R (C::*vMethod)(arglist...)) {
52865284
auto sMethod = reinterpret_cast<unsigned int (VirtualOffsetSelector::*)(int)>(vMethod);
52875285
VirtualOffsetSelector offsetSelctor;
52885286
return (offsetSelctor.*sMethod)(0);
52895287
}
5290-
#ifdef __GNUG__
5291-
#ifndef __clang__
5288+
#if defined(__GNUG__) && !defined(__clang__) && __GNUC__ >= 8
52925289
#pragma GCC diagnostic pop
5293-
#endif
52945290
#endif
52955291

52965292
template<typename C>
@@ -6997,7 +6993,7 @@ namespace fakeit {
69976993
template<int q>
69986994
struct Times : public Quantity {
69996995

7000-
Times<q>() : Quantity(q) { }
6996+
Times() : Quantity(q) { }
70016997

70026998
template<typename R>
70036999
static Quantifier<R> of(const R &value) {

single_header/catch/fakeit.hpp

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/*
33
* FakeIt - A Simplified C++ Mocking Framework
44
* Copyright (c) Eran Pe'er 2013
5-
* Generated: 2021-04-11 20:16:43.013491
5+
* Generated: 2021-05-12 13:47:04.979584
66
* Distributed under the MIT License. Please refer to the LICENSE file at:
77
* https://github.com/eranpeer/FakeIt
88
*/
@@ -5349,22 +5349,18 @@ namespace fakeit {
53495349
class VTUtils {
53505350
public:
53515351

5352-
#ifdef __GNUG__
5353-
#ifndef __clang__
5352+
#if defined(__GNUG__) && !defined(__clang__) && __GNUC__ >= 8
53545353
#pragma GCC diagnostic push
53555354
#pragma GCC diagnostic ignored "-Wcast-function-type"
5356-
#endif
53575355
#endif
53585356
template<typename C, typename R, typename ... arglist>
53595357
static unsigned int getOffset(R (C::*vMethod)(arglist...)) {
53605358
auto sMethod = reinterpret_cast<unsigned int (VirtualOffsetSelector::*)(int)>(vMethod);
53615359
VirtualOffsetSelector offsetSelctor;
53625360
return (offsetSelctor.*sMethod)(0);
53635361
}
5364-
#ifdef __GNUG__
5365-
#ifndef __clang__
5362+
#if defined(__GNUG__) && !defined(__clang__) && __GNUC__ >= 8
53665363
#pragma GCC diagnostic pop
5367-
#endif
53685364
#endif
53695365

53705366
template<typename C>
@@ -7071,7 +7067,7 @@ namespace fakeit {
70717067
template<int q>
70727068
struct Times : public Quantity {
70737069

7074-
Times<q>() : Quantity(q) { }
7070+
Times() : Quantity(q) { }
70757071

70767072
template<typename R>
70777073
static Quantifier<R> of(const R &value) {

single_header/cute/fakeit.hpp

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/*
33
* FakeIt - A Simplified C++ Mocking Framework
44
* Copyright (c) Eran Pe'er 2013
5-
* Generated: 2021-04-11 20:16:43.092492
5+
* Generated: 2021-05-12 13:47:05.100105
66
* Distributed under the MIT License. Please refer to the LICENSE file at:
77
* https://github.com/eranpeer/FakeIt
88
*/
@@ -5240,22 +5240,18 @@ namespace fakeit {
52405240
class VTUtils {
52415241
public:
52425242

5243-
#ifdef __GNUG__
5244-
#ifndef __clang__
5243+
#if defined(__GNUG__) && !defined(__clang__) && __GNUC__ >= 8
52455244
#pragma GCC diagnostic push
52465245
#pragma GCC diagnostic ignored "-Wcast-function-type"
5247-
#endif
52485246
#endif
52495247
template<typename C, typename R, typename ... arglist>
52505248
static unsigned int getOffset(R (C::*vMethod)(arglist...)) {
52515249
auto sMethod = reinterpret_cast<unsigned int (VirtualOffsetSelector::*)(int)>(vMethod);
52525250
VirtualOffsetSelector offsetSelctor;
52535251
return (offsetSelctor.*sMethod)(0);
52545252
}
5255-
#ifdef __GNUG__
5256-
#ifndef __clang__
5253+
#if defined(__GNUG__) && !defined(__clang__) && __GNUC__ >= 8
52575254
#pragma GCC diagnostic pop
5258-
#endif
52595255
#endif
52605256

52615257
template<typename C>
@@ -6962,7 +6958,7 @@ namespace fakeit {
69626958
template<int q>
69636959
struct Times : public Quantity {
69646960

6965-
Times<q>() : Quantity(q) { }
6961+
Times() : Quantity(q) { }
69666962

69676963
template<typename R>
69686964
static Quantifier<R> of(const R &value) {

single_header/gtest/fakeit.hpp

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/*
33
* FakeIt - A Simplified C++ Mocking Framework
44
* Copyright (c) Eran Pe'er 2013
5-
* Generated: 2021-04-11 20:16:43.193991
5+
* Generated: 2021-05-12 13:47:05.218626
66
* Distributed under the MIT License. Please refer to the LICENSE file at:
77
* https://github.com/eranpeer/FakeIt
88
*/
@@ -5240,22 +5240,18 @@ namespace fakeit {
52405240
class VTUtils {
52415241
public:
52425242

5243-
#ifdef __GNUG__
5244-
#ifndef __clang__
5243+
#if defined(__GNUG__) && !defined(__clang__) && __GNUC__ >= 8
52455244
#pragma GCC diagnostic push
52465245
#pragma GCC diagnostic ignored "-Wcast-function-type"
5247-
#endif
52485246
#endif
52495247
template<typename C, typename R, typename ... arglist>
52505248
static unsigned int getOffset(R (C::*vMethod)(arglist...)) {
52515249
auto sMethod = reinterpret_cast<unsigned int (VirtualOffsetSelector::*)(int)>(vMethod);
52525250
VirtualOffsetSelector offsetSelctor;
52535251
return (offsetSelctor.*sMethod)(0);
52545252
}
5255-
#ifdef __GNUG__
5256-
#ifndef __clang__
5253+
#if defined(__GNUG__) && !defined(__clang__) && __GNUC__ >= 8
52575254
#pragma GCC diagnostic pop
5258-
#endif
52595255
#endif
52605256

52615257
template<typename C>
@@ -6962,7 +6958,7 @@ namespace fakeit {
69626958
template<int q>
69636959
struct Times : public Quantity {
69646960

6965-
Times<q>() : Quantity(q) { }
6961+
Times() : Quantity(q) { }
69666962

69676963
template<typename R>
69686964
static Quantifier<R> of(const R &value) {

single_header/mettle/fakeit.hpp

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/*
33
* FakeIt - A Simplified C++ Mocking Framework
44
* Copyright (c) Eran Pe'er 2013
5-
* Generated: 2021-04-11 20:16:43.271493
5+
* Generated: 2021-05-12 13:47:05.328644
66
* Distributed under the MIT License. Please refer to the LICENSE file at:
77
* https://github.com/eranpeer/FakeIt
88
*/
@@ -5262,22 +5262,18 @@ namespace fakeit {
52625262
class VTUtils {
52635263
public:
52645264

5265-
#ifdef __GNUG__
5266-
#ifndef __clang__
5265+
#if defined(__GNUG__) && !defined(__clang__) && __GNUC__ >= 8
52675266
#pragma GCC diagnostic push
52685267
#pragma GCC diagnostic ignored "-Wcast-function-type"
5269-
#endif
52705268
#endif
52715269
template<typename C, typename R, typename ... arglist>
52725270
static unsigned int getOffset(R (C::*vMethod)(arglist...)) {
52735271
auto sMethod = reinterpret_cast<unsigned int (VirtualOffsetSelector::*)(int)>(vMethod);
52745272
VirtualOffsetSelector offsetSelctor;
52755273
return (offsetSelctor.*sMethod)(0);
52765274
}
5277-
#ifdef __GNUG__
5278-
#ifndef __clang__
5275+
#if defined(__GNUG__) && !defined(__clang__) && __GNUC__ >= 8
52795276
#pragma GCC diagnostic pop
5280-
#endif
52815277
#endif
52825278

52835279
template<typename C>
@@ -6984,7 +6980,7 @@ namespace fakeit {
69846980
template<int q>
69856981
struct Times : public Quantity {
69866982

6987-
Times<q>() : Quantity(q) { }
6983+
Times() : Quantity(q) { }
69886984

69896985
template<typename R>
69906986
static Quantifier<R> of(const R &value) {

single_header/mstest/fakeit.hpp

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/*
33
* FakeIt - A Simplified C++ Mocking Framework
44
* Copyright (c) Eran Pe'er 2013
5-
* Generated: 2021-04-11 20:16:43.349491
5+
* Generated: 2021-05-12 13:47:05.433663
66
* Distributed under the MIT License. Please refer to the LICENSE file at:
77
* https://github.com/eranpeer/FakeIt
88
*/
@@ -5264,22 +5264,18 @@ namespace fakeit {
52645264
class VTUtils {
52655265
public:
52665266

5267-
#ifdef __GNUG__
5268-
#ifndef __clang__
5267+
#if defined(__GNUG__) && !defined(__clang__) && __GNUC__ >= 8
52695268
#pragma GCC diagnostic push
52705269
#pragma GCC diagnostic ignored "-Wcast-function-type"
5271-
#endif
52725270
#endif
52735271
template<typename C, typename R, typename ... arglist>
52745272
static unsigned int getOffset(R (C::*vMethod)(arglist...)) {
52755273
auto sMethod = reinterpret_cast<unsigned int (VirtualOffsetSelector::*)(int)>(vMethod);
52765274
VirtualOffsetSelector offsetSelctor;
52775275
return (offsetSelctor.*sMethod)(0);
52785276
}
5279-
#ifdef __GNUG__
5280-
#ifndef __clang__
5277+
#if defined(__GNUG__) && !defined(__clang__) && __GNUC__ >= 8
52815278
#pragma GCC diagnostic pop
5282-
#endif
52835279
#endif
52845280

52855281
template<typename C>
@@ -6986,7 +6982,7 @@ namespace fakeit {
69866982
template<int q>
69876983
struct Times : public Quantity {
69886984

6989-
Times<q>() : Quantity(q) { }
6985+
Times() : Quantity(q) { }
69906986

69916987
template<typename R>
69926988
static Quantifier<R> of(const R &value) {

single_header/nunit/fakeit.hpp

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/*
33
* FakeIt - A Simplified C++ Mocking Framework
44
* Copyright (c) Eran Pe'er 2013
5-
* Generated: 2021-04-11 20:16:43.427492
5+
* Generated: 2021-05-12 13:47:05.538682
66
* Distributed under the MIT License. Please refer to the LICENSE file at:
77
* https://github.com/eranpeer/FakeIt
88
*/
@@ -5247,22 +5247,18 @@ namespace fakeit {
52475247
class VTUtils {
52485248
public:
52495249

5250-
#ifdef __GNUG__
5251-
#ifndef __clang__
5250+
#if defined(__GNUG__) && !defined(__clang__) && __GNUC__ >= 8
52525251
#pragma GCC diagnostic push
52535252
#pragma GCC diagnostic ignored "-Wcast-function-type"
5254-
#endif
52555253
#endif
52565254
template<typename C, typename R, typename ... arglist>
52575255
static unsigned int getOffset(R (C::*vMethod)(arglist...)) {
52585256
auto sMethod = reinterpret_cast<unsigned int (VirtualOffsetSelector::*)(int)>(vMethod);
52595257
VirtualOffsetSelector offsetSelctor;
52605258
return (offsetSelctor.*sMethod)(0);
52615259
}
5262-
#ifdef __GNUG__
5263-
#ifndef __clang__
5260+
#if defined(__GNUG__) && !defined(__clang__) && __GNUC__ >= 8
52645261
#pragma GCC diagnostic pop
5265-
#endif
52665262
#endif
52675263

52685264
template<typename C>
@@ -6969,7 +6965,7 @@ namespace fakeit {
69696965
template<int q>
69706966
struct Times : public Quantity {
69716967

6972-
Times<q>() : Quantity(q) { }
6968+
Times() : Quantity(q) { }
69736969

69746970
template<typename R>
69756971
static Quantifier<R> of(const R &value) {

single_header/qtest/fakeit.hpp

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/*
33
* FakeIt - A Simplified C++ Mocking Framework
44
* Copyright (c) Eran Pe'er 2013
5-
* Generated: 2021-04-11 20:16:43.506491
5+
* Generated: 2021-05-12 13:47:05.632198
66
* Distributed under the MIT License. Please refer to the LICENSE file at:
77
* https://github.com/eranpeer/FakeIt
88
*/
@@ -5248,22 +5248,18 @@ namespace fakeit {
52485248
class VTUtils {
52495249
public:
52505250

5251-
#ifdef __GNUG__
5252-
#ifndef __clang__
5251+
#if defined(__GNUG__) && !defined(__clang__) && __GNUC__ >= 8
52535252
#pragma GCC diagnostic push
52545253
#pragma GCC diagnostic ignored "-Wcast-function-type"
5255-
#endif
52565254
#endif
52575255
template<typename C, typename R, typename ... arglist>
52585256
static unsigned int getOffset(R (C::*vMethod)(arglist...)) {
52595257
auto sMethod = reinterpret_cast<unsigned int (VirtualOffsetSelector::*)(int)>(vMethod);
52605258
VirtualOffsetSelector offsetSelctor;
52615259
return (offsetSelctor.*sMethod)(0);
52625260
}
5263-
#ifdef __GNUG__
5264-
#ifndef __clang__
5261+
#if defined(__GNUG__) && !defined(__clang__) && __GNUC__ >= 8
52655262
#pragma GCC diagnostic pop
5266-
#endif
52675263
#endif
52685264

52695265
template<typename C>
@@ -6970,7 +6966,7 @@ namespace fakeit {
69706966
template<int q>
69716967
struct Times : public Quantity {
69726968

6973-
Times<q>() : Quantity(q) { }
6969+
Times() : Quantity(q) { }
69746970

69756971
template<typename R>
69766972
static Quantifier<R> of(const R &value) {

single_header/standalone/fakeit.hpp

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/*
33
* FakeIt - A Simplified C++ Mocking Framework
44
* Copyright (c) Eran Pe'er 2013
5-
* Generated: 2021-04-11 20:16:43.585492
5+
* Generated: 2021-05-12 13:47:05.726214
66
* Distributed under the MIT License. Please refer to the LICENSE file at:
77
* https://github.com/eranpeer/FakeIt
88
*/
@@ -5316,22 +5316,18 @@ namespace fakeit {
53165316
class VTUtils {
53175317
public:
53185318

5319-
#ifdef __GNUG__
5320-
#ifndef __clang__
5319+
#if defined(__GNUG__) && !defined(__clang__) && __GNUC__ >= 8
53215320
#pragma GCC diagnostic push
53225321
#pragma GCC diagnostic ignored "-Wcast-function-type"
5323-
#endif
53245322
#endif
53255323
template<typename C, typename R, typename ... arglist>
53265324
static unsigned int getOffset(R (C::*vMethod)(arglist...)) {
53275325
auto sMethod = reinterpret_cast<unsigned int (VirtualOffsetSelector::*)(int)>(vMethod);
53285326
VirtualOffsetSelector offsetSelctor;
53295327
return (offsetSelctor.*sMethod)(0);
53305328
}
5331-
#ifdef __GNUG__
5332-
#ifndef __clang__
5329+
#if defined(__GNUG__) && !defined(__clang__) && __GNUC__ >= 8
53335330
#pragma GCC diagnostic pop
5334-
#endif
53355331
#endif
53365332

53375333
template<typename C>
@@ -7038,7 +7034,7 @@ namespace fakeit {
70387034
template<int q>
70397035
struct Times : public Quantity {
70407036

7041-
Times<q>() : Quantity(q) { }
7037+
Times() : Quantity(q) { }
70427038

70437039
template<typename R>
70447040
static Quantifier<R> of(const R &value) {

0 commit comments

Comments
 (0)