Skip to content

Commit 91b3396

Browse files
committed
format
1 parent 796e812 commit 91b3396

1 file changed

Lines changed: 48 additions & 48 deletions

File tree

test/testsymboldatabase.cpp

Lines changed: 48 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -10404,68 +10404,68 @@ class TestSymbolDatabase : public TestFixture {
1040410404

1040510405
void valueTypeGeneric() {
1040610406
ASSERT_EQUALS("float", typeOf(
10407-
"float floatvar;\n"
10408-
"int intvar;\n"
10409-
"void testfunc() {\n"
10410-
" int controlvar;\n"
10411-
" auto testvar = _Generic(controlvar, int: floatvar, default: intvar);\n"
10412-
"}\n", "testvar"));
10407+
"float floatvar;\n"
10408+
"int intvar;\n"
10409+
"void testfunc() {\n"
10410+
" int controlvar;\n"
10411+
" auto testvar = _Generic(controlvar, int: floatvar, default: intvar);\n"
10412+
"}\n", "testvar"));
1041310413

1041410414
ASSERT_EQUALS("signed int", typeOf(
10415-
"float floatvar;\n"
10416-
"int intvar;\n"
10417-
"void testfunc() {\n"
10418-
" float controlvar;\n"
10419-
" auto testvar = _Generic(controlvar, int: floatvar, default: intvar);\n"
10420-
"}\n", "testvar"));
10415+
"float floatvar;\n"
10416+
"int intvar;\n"
10417+
"void testfunc() {\n"
10418+
" float controlvar;\n"
10419+
" auto testvar = _Generic(controlvar, int: floatvar, default: intvar);\n"
10420+
"}\n", "testvar"));
1042110421

1042210422
ASSERT_EQUALS("float", typeOf(
10423-
"float floatvar;\n"
10424-
"int intvar;\n"
10425-
"void testfunc() {\n"
10426-
" int *const controlvar;\n"
10427-
" auto testvar = _Generic(controlvar, int*: floatvar, default: intvar);\n"
10428-
"}\n", "testvar"));
10423+
"float floatvar;\n"
10424+
"int intvar;\n"
10425+
"void testfunc() {\n"
10426+
" int *const controlvar;\n"
10427+
" auto testvar = _Generic(controlvar, int*: floatvar, default: intvar);\n"
10428+
"}\n", "testvar"));
1042910429

1043010430
ASSERT_EQUALS("signed int", typeOf(
10431-
"float floatvar;\n"
10432-
"int intvar;\n"
10433-
"void testfunc() {\n"
10434-
" const int *controlvar;\n"
10435-
" auto testvar = _Generic(controlvar, int*: floatvar, default: intvar);\n"
10436-
"}\n", "testvar"));
10431+
"float floatvar;\n"
10432+
"int intvar;\n"
10433+
"void testfunc() {\n"
10434+
" const int *controlvar;\n"
10435+
" auto testvar = _Generic(controlvar, int*: floatvar, default: intvar);\n"
10436+
"}\n", "testvar"));
1043710437

1043810438
ASSERT_EQUALS("float", typeOf(
10439-
"float floatfunc();\n"
10440-
"int intfunc();\n"
10441-
"void testfunc() {\n"
10442-
" int controlvar;\n"
10443-
" auto testvar = _Generic(controlvar, int: floatfunc, default: intfunc)();\n"
10444-
"}\n", "testvar"));
10439+
"float floatfunc();\n"
10440+
"int intfunc();\n"
10441+
"void testfunc() {\n"
10442+
" int controlvar;\n"
10443+
" auto testvar = _Generic(controlvar, int: floatfunc, default: intfunc)();\n"
10444+
"}\n", "testvar"));
1044510445

1044610446
ASSERT_EQUALS("signed int", typeOf(
10447-
"float floatfunc();\n"
10448-
"int intfunc();\n"
10449-
"void testfunc() {\n"
10450-
" float controlvar;\n"
10451-
" auto testvar = _Generic(controlvar, int: floatfunc, default: intfunc)();\n"
10452-
"}\n", "testvar"));
10447+
"float floatfunc();\n"
10448+
"int intfunc();\n"
10449+
"void testfunc() {\n"
10450+
" float controlvar;\n"
10451+
" auto testvar = _Generic(controlvar, int: floatfunc, default: intfunc)();\n"
10452+
"}\n", "testvar"));
1045310453

1045410454
ASSERT_EQUALS("float", typeOf(
10455-
"float floatfunc();\n"
10456-
"int intfunc();\n"
10457-
"void testfunc() {\n"
10458-
" int *const controlvar;\n"
10459-
" auto testvar = _Generic(controlvar, int*: floatfunc, default: intfunc)();\n"
10460-
"}\n", "testvar"));
10455+
"float floatfunc();\n"
10456+
"int intfunc();\n"
10457+
"void testfunc() {\n"
10458+
" int *const controlvar;\n"
10459+
" auto testvar = _Generic(controlvar, int*: floatfunc, default: intfunc)();\n"
10460+
"}\n", "testvar"));
1046110461

1046210462
ASSERT_EQUALS("signed int", typeOf(
10463-
"float floatfunc();\n"
10464-
"int intfunc();\n"
10465-
"void testfunc() {\n"
10466-
" const int *controlvar;\n"
10467-
" auto testvar = _Generic(controlvar, int*: floatfunc, default: intfunc)();\n"
10468-
"}\n", "testvar"));
10463+
"float floatfunc();\n"
10464+
"int intfunc();\n"
10465+
"void testfunc() {\n"
10466+
" const int *controlvar;\n"
10467+
" auto testvar = _Generic(controlvar, int*: floatfunc, default: intfunc)();\n"
10468+
"}\n", "testvar"));
1046910469
}
1047010470

1047110471
void variadic1() { // #7453

0 commit comments

Comments
 (0)