Skip to content

Commit 44331ec

Browse files
committed
format
Created using spr 1.3.7
1 parent 7e71109 commit 44331ec

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

clang/unittests/Analysis/FlowSensitive/MockHeaders.cpp

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1888,7 +1888,7 @@ constexpr const char AbslLogHeader[] = R"cc(
18881888
#define PREDICT_FALSE(x) (__builtin_expect(x, 0))
18891889
#define ABSL_LOG_INTERNAL_STRIP_STRING_LITERAL(lit) lit
18901890
1891-
#define ABSL_LOG_INTERNAL_STATELESS_CONDITION(condition) \
1891+
#define ABSL_LOG_INTERNAL_STATELESS_CONDITION(condition) \
18921892
switch (0) \
18931893
case 0: \
18941894
default: \
@@ -1903,12 +1903,12 @@ constexpr const char AbslLogHeader[] = R"cc(
19031903
#define ABSL_LOG_INTERNAL_CONDITION_QFATAL(type, condition) \
19041904
ABSL_LOG_INTERNAL_##type##_CONDITION(condition)
19051905
1906-
#define ABSL_CHECK_IMPL(condition, condition_text) \
1906+
#define ABSL_CHECK_IMPL(condition, condition_text) \
19071907
ABSL_LOG_INTERNAL_CONDITION_FATAL(STATELESS, \
19081908
ABSL_PREDICT_FALSE(!(condition))) \
19091909
ABSL_LOG_INTERNAL_CHECK(condition_text).InternalStream()
19101910
1911-
#define ABSL_QCHECK_IMPL(condition, condition_text) \
1911+
#define ABSL_QCHECK_IMPL(condition, condition_text) \
19121912
ABSL_LOG_INTERNAL_CONDITION_QFATAL(STATELESS, \
19131913
ABSL_PREDICT_FALSE(!(condition))) \
19141914
ABSL_LOG_INTERNAL_QCHECK(condition_text).InternalStream()
@@ -1951,13 +1951,13 @@ constexpr const char AbslLogHeader[] = R"cc(
19511951
} // namespace absl
19521952
// TODO(tkd): this still doesn't allow operator<<, unlike the real CHECK_
19531953
// macros.
1954-
#define ABSL_LOG_INTERNAL_CHECK_OP(name, op, val1, val2) \
1954+
#define ABSL_LOG_INTERNAL_CHECK_OP(name, op, val1, val2) \
19551955
while (char* _result = ::absl::log_internal::name##Impl( \
19561956
::absl::log_internal::GetReferenceableValue(val1), \
19571957
::absl::log_internal::GetReferenceableValue(val2), \
19581958
#val1 " " #op " " #val2)) \
19591959
(void)0
1960-
#define ABSL_LOG_INTERNAL_QCHECK_OP(name, op, val1, val2) \
1960+
#define ABSL_LOG_INTERNAL_QCHECK_OP(name, op, val1, val2) \
19611961
while (char* _result = ::absl::log_internal::name##Impl( \
19621962
::absl::log_internal::GetReferenceableValue(val1), \
19631963
::absl::log_internal::GetReferenceableValue(val2), \
@@ -1987,7 +1987,7 @@ constexpr const char AbslLogHeader[] = R"cc(
19871987
::absl::log_internal::LogMessageFatal()
19881988
#define ABSL_LOG_INTERNAL_QCHECK(failure_message) \
19891989
::absl::log_internal::LogMessageQuietlyFatal()
1990-
#define ABSL_LOG_INTERNAL_CHECK_OK(val) \
1990+
#define ABSL_LOG_INTERNAL_CHECK_OK(val) \
19911991
for (::std::pair<const ::absl::Status*, ::std::string*> \
19921992
absl_log_internal_check_ok_goo; \
19931993
absl_log_internal_check_ok_goo.first = \
@@ -2001,7 +2001,7 @@ constexpr const char AbslLogHeader[] = R"cc(
20012001
!ABSL_PREDICT_TRUE(absl_log_internal_check_ok_goo.first->ok());) \
20022002
ABSL_LOG_INTERNAL_CHECK(*absl_log_internal_check_ok_goo.second) \
20032003
.InternalStream()
2004-
#define ABSL_LOG_INTERNAL_QCHECK_OK(val) \
2004+
#define ABSL_LOG_INTERNAL_QCHECK_OK(val) \
20052005
for (::std::pair<const ::absl::Status*, ::std::string*> \
20062006
absl_log_internal_check_ok_goo; \
20072007
absl_log_internal_check_ok_goo.first = \
@@ -2080,7 +2080,7 @@ constexpr const char TestingDefsHeader[] = R"cc(
20802080
const T1& lhs, const T2& rhs);
20812081
};
20822082
2083-
#define GTEST_IMPL_CMP_HELPER_(op_name) \
2083+
#define GTEST_IMPL_CMP_HELPER_(op_name) \
20842084
template <typename T1, typename T2> \
20852085
AssertionResult CmpHelper##op_name(const char* expr1, const char* expr2, \
20862086
const T1& val1, const T2& val2);
@@ -2167,7 +2167,7 @@ constexpr const char TestingDefsHeader[] = R"cc(
21672167
} // namespace absl_testing
21682168
21692169
using testing::AssertionResult;
2170-
#define EXPECT_TRUE(x) \
2170+
#define EXPECT_TRUE(x) \
21712171
switch (0) \
21722172
case 0: \
21732173
default: \
@@ -2176,12 +2176,12 @@ constexpr const char TestingDefsHeader[] = R"cc(
21762176
::testing::Message()
21772177
#define EXPECT_FALSE(x) EXPECT_TRUE(!(x))
21782178
2179-
#define GTEST_AMBIGUOUS_ELSE_BLOCKER_ \
2179+
#define GTEST_AMBIGUOUS_ELSE_BLOCKER_ \
21802180
switch (0) \
21812181
case 0: \
21822182
default:
21832183
2184-
#define GTEST_ASSERT_(expression, on_failure) \
2184+
#define GTEST_ASSERT_(expression, on_failure) \
21852185
GTEST_AMBIGUOUS_ELSE_BLOCKER_ \
21862186
if (const ::testing::AssertionResult gtest_ar = (expression)) \
21872187
; \
@@ -2191,7 +2191,7 @@ constexpr const char TestingDefsHeader[] = R"cc(
21912191
GTEST_ASSERT_(pred_format(#v1, v1), on_failure)
21922192
#define GTEST_PRED_FORMAT2_(pred_format, v1, v2, on_failure) \
21932193
GTEST_ASSERT_(pred_format(#v1, #v2, v1, v2), on_failure)
2194-
#define GTEST_MESSAGE_AT_(file, line, message, result_type) \
2194+
#define GTEST_MESSAGE_AT_(file, line, message, result_type) \
21952195
::testing::internal::AssertHelper(result_type, file, line, message) = \
21962196
::testing::Message()
21972197
#define GTEST_MESSAGE_(message, result_type) \
@@ -2206,7 +2206,7 @@ constexpr const char TestingDefsHeader[] = R"cc(
22062206
#define ASSERT_PRED_FORMAT2(pred_format, v1, v2) \
22072207
GTEST_PRED_FORMAT2_(pred_format, v1, v2, GTEST_FATAL_FAILURE_)
22082208
2209-
#define ASSERT_THAT(value, matcher) \
2209+
#define ASSERT_THAT(value, matcher) \
22102210
ASSERT_PRED_FORMAT1( \
22112211
::testing::internal::MakePredicateFormatterFromMatcher(matcher), \
22122212
value)
@@ -2216,13 +2216,13 @@ constexpr const char TestingDefsHeader[] = R"cc(
22162216
GTEST_PRED_FORMAT1_(pred_format, v1, GTEST_NONFATAL_FAILURE_)
22172217
#define EXPECT_PRED_FORMAT2(pred_format, v1, v2) \
22182218
GTEST_PRED_FORMAT2_(pred_format, v1, v2, GTEST_NONFATAL_FAILURE_)
2219-
#define EXPECT_THAT(value, matcher) \
2219+
#define EXPECT_THAT(value, matcher) \
22202220
EXPECT_PRED_FORMAT1( \
22212221
::testing::internal::MakePredicateFormatterFromMatcher(matcher), \
22222222
value)
22232223
#define EXPECT_OK(expression) EXPECT_THAT(expression, ::testing::status::IsOk())
22242224
2225-
#define GTEST_TEST_BOOLEAN_(expression, text, actual, expected, fail) \
2225+
#define GTEST_TEST_BOOLEAN_(expression, text, actual, expected, fail) \
22262226
GTEST_AMBIGUOUS_ELSE_BLOCKER_ \
22272227
if (const ::testing::AssertionResult gtest_ar_ = \
22282228
::testing::AssertionResult(expression)) \
@@ -2233,7 +2233,7 @@ constexpr const char TestingDefsHeader[] = R"cc(
22332233
.c_str())
22342234
#define GTEST_ASSERT_TRUE(condition) \
22352235
GTEST_TEST_BOOLEAN_(condition, #condition, false, true, GTEST_FATAL_FAILURE_)
2236-
#define GTEST_ASSERT_FALSE(condition) \
2236+
#define GTEST_ASSERT_FALSE(condition) \
22372237
GTEST_TEST_BOOLEAN_(!(condition), #condition, true, false, \
22382238
GTEST_FATAL_FAILURE_)
22392239
#define ASSERT_TRUE(condition) GTEST_ASSERT_TRUE(condition)

0 commit comments

Comments
 (0)