@@ -1059,7 +1059,6 @@ class TestToken : public TestFixture {
10591059 standard_types.emplace_back (" long" );
10601060 standard_types.emplace_back (" float" );
10611061 standard_types.emplace_back (" double" );
1062- standard_types.emplace_back (" size_t" );
10631062
10641063 for (auto test_op = standard_types.cbegin (); test_op != standard_types.cend (); ++test_op) {
10651064 auto tokensFrontBack = std::make_shared<TokensFrontBack>();
@@ -1484,13 +1483,6 @@ class TestToken : public TestFixture {
14841483 tok.str (" char" ); // not treated as keyword in TokenList::isKeyword()
14851484 assert_tok (&tok, Token::Type::eType, /* l=*/ false , /* std=*/ true );
14861485 }
1487- {
1488- TokenList list_c{settingsDefault, Standards::Language::C};
1489- auto tokensFrontBack = std::make_shared<TokensFrontBack>();
1490- Token tok (list_c, std::move (tokensFrontBack));
1491- tok.str (" size_t" ); // not treated as keyword in TokenList::isKeyword()
1492- assert_tok (&tok, Token::Type::eType, /* l=*/ false , /* std=*/ true );
1493- }
14941486 }
14951487
14961488 void update_property_info_etype_cpp () const
@@ -1502,21 +1494,12 @@ class TestToken : public TestFixture {
15021494 tok.str (" bool" ); // not treated as keyword in TokenList::isKeyword()
15031495 assert_tok (&tok, Token::Type::eType, /* l=*/ false , /* std=*/ true );
15041496 }
1505- {
1506- TokenList list_cpp{settingsDefault, Standards::Language::CPP };
1507- auto tokensFrontBack = std::make_shared<TokensFrontBack>();
1508- Token tok (list_cpp, std::move (tokensFrontBack));
1509- tok.str (" size_t" );
1510- assert_tok (&tok, Token::Type::eType, /* l=*/ false , /* std=*/ true );
1511- }
15121497 }
15131498
15141499 void update_property_info_replace () const // #13743
15151500 {
15161501 auto tokensFrontBack = std::make_shared<TokensFrontBack>();
15171502 Token tok (list, std::move (tokensFrontBack));
1518- tok.str (" size_t" );
1519- assert_tok (&tok, Token::Type::eType, false , true );
15201503 tok.str (" long" );
15211504 assert_tok (&tok, Token::Type::eType, false , true );
15221505 }
0 commit comments