[clang] [test] [NFC] Eliminate some hard tabs in tests

"cxx2b-consteval-if.cpp" was showing up misindented.
This commit is contained in:
Arthur O'Dwyer 2022-02-16 10:41:44 -05:00
parent 729d29e167
commit 597f2bcee8
3 changed files with 6 additions and 6 deletions

View File

@ -19,9 +19,9 @@ constexpr auto h() {
constexpr auto i() {
if consteval {
if consteval { // expected-warning {{consteval if is always true in an immediate context}}
return 1;
}
return 2;
return 1;
}
return 2;
} else {
return 1.0; // expected-error {{'auto' in return type deduced as 'double' here but deduced as 'int' in earlier return statement}}
}

View File

@ -2,6 +2,6 @@
namespace decomp_decl {
void f() {
auto [this_is_a_typo] = this_is_a_typp(); // expected-error{{use of undeclared identifier 'this_is_a_typp'}}
auto [this_is_a_typo] = this_is_a_typp(); // expected-error{{use of undeclared identifier 'this_is_a_typp'}}
}
}

View File

@ -7,6 +7,6 @@ static void another(void) { // expected-warning {{function 'another' is not need
template <typename T>
void foo(void) {
thing();
another();
thing();
another();
}