@@ -4556,7 +4556,7 @@ class TestSimplifyTypedef : public TestFixture {
45564556 " typedef fp16 ( *pfp16 ) ( void );\n "
45574557 " }\n " );
45584558 ASSERT_EQUALS (" <typedef-info>\n "
4559- " <info name=\" fp16\" file=\" file.c\" line=\" 2\" column=\" 1\" used=\" 1\" isFunctionPointer=\" 1\" / >\n "
4559+ " <info name=\" fp16\" file=\" file.c\" line=\" 2\" column=\" 1\" used=\" 1\" isFunctionPointer=\" 1\" >\n "
45604560 " <token column=\" 1\" str=\" typedef\" />\n "
45614561 " <token column=\" 9\" str=\" void\" />\n "
45624562 " <token column=\" 14\" str=\" (\" />\n "
@@ -4567,8 +4567,9 @@ class TestSimplifyTypedef : public TestFixture {
45674567 " <token column=\" 25\" str=\" int16_t\" />\n "
45684568 " <token column=\" 33\" str=\" n\" />\n "
45694569 " <token column=\" 35\" str=\" )\" />\n "
4570+ " </info>\n "
45704571 " <info name=\" int16_t\" file=\" file.c\" line=\" 1\" column=\" 1\" used=\" 1\" isFunctionPointer=\" 0\" />\n "
4571- " <info name=\" pfp16\" file=\" file.c\" line=\" 4\" column=\" 20\" used=\" 0\" isFunctionPointer=\" 1\" / >\n "
4572+ " <info name=\" pfp16\" file=\" file.c\" line=\" 4\" column=\" 20\" used=\" 0\" isFunctionPointer=\" 1\" >\n "
45724573 " <token column=\" 4\" str=\" typedef\" />\n "
45734574 " <token column=\" 12\" str=\" void\" />\n "
45744575 " <token column=\" 12\" str=\" (\" />\n "
@@ -4586,6 +4587,7 @@ class TestSimplifyTypedef : public TestFixture {
45864587 " <token column=\" 35\" str=\" short\" />\n "
45874588 " <token column=\" 35\" str=\" n\" />\n "
45884589 " <token column=\" 35\" str=\" )\" />\n "
4590+ " </info>\n "
45894591 " </typedef-info>\n " ,xml);
45904592 }
45914593
0 commit comments