summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBolshakov <bolsh.andrey@yandex.ru>2022-05-28 20:14:51 +0300
committerKim Gräsman <kim.grasman@gmail.com>2022-05-28 22:54:19 +0200
commit8e6c16dbb5bf1e0712be4a24d7904d7f21580b65 (patch)
tree212dee8d8606aabfeb7b39cd51b1e0f2e171e0c7
parentdb69a0c4d3e22dc0b5dbfb2f2081ad278aaa70cf (diff)
Maintenance: formatting
-rw-r--r--tests/cxx/iwyu_stricter_than_cpp.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/cxx/iwyu_stricter_than_cpp.cc b/tests/cxx/iwyu_stricter_than_cpp.cc
index f70cb22..58fd70c 100644
--- a/tests/cxx/iwyu_stricter_than_cpp.cc
+++ b/tests/cxx/iwyu_stricter_than_cpp.cc
@@ -79,7 +79,7 @@ void TestTypedefs() {
TplDoesEverythingRightAgain* tdora_ptr = 0;
// ...at least until we dereference the pointer
// IWYU: IndirectStruct2 is...*iwyu_stricter_than_cpp-i2.h
- (void) dor_ptr->a;
+ (void)dor_ptr->a;
// Nested name testing
IndirectStruct3ProvidingTypedef::IndirectClassProvidingTypedef pp;
@@ -125,7 +125,7 @@ void TestTypeAliases() {
TplDoesEverythingRightAgainAl* tdora_ptr = 0;
// ...at least until we dereference the pointer
// IWYU: IndirectStruct2 is...*iwyu_stricter_than_cpp-i2.h
- (void) dor_ptr->a;
+ (void)dor_ptr->a;
// Nested name testing
IndirectStruct3ProvidingAl::IndirectClassProvidingAl pp;
@@ -194,7 +194,6 @@ void TestFunctionReturn() {
const TplIndirectStruct2<float>& tis2b = TplDoesEverythingRightAgainFn();
}
-
/**** IWYU_SUMMARY
tests/cxx/iwyu_stricter_than_cpp.cc should add these lines: