@@ -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>();
@@ -1488,8 +1487,6 @@ class TestToken : public TestFixture {
14881487 TokenList list_c{settingsDefault, Standards::Language::C};
14891488 auto tokensFrontBack = std::make_shared<TokensFrontBack>();
14901489 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 );
14931490 }
14941491 }
14951492
@@ -1506,17 +1503,13 @@ class TestToken : public TestFixture {
15061503 TokenList list_cpp{settingsDefault, Standards::Language::CPP};
15071504 auto tokensFrontBack = std::make_shared<TokensFrontBack>();
15081505 Token tok (list_cpp, std::move (tokensFrontBack));
1509- tok.str (" size_t" );
1510- assert_tok (&tok, Token::Type::eType, /* l=*/ false , /* std=*/ true );
15111506 }
15121507 }
15131508
15141509 void update_property_info_replace () const // #13743
15151510 {
15161511 auto tokensFrontBack = std::make_shared<TokensFrontBack>();
15171512 Token tok (list, std::move (tokensFrontBack));
1518- tok.str (" size_t" );
1519- assert_tok (&tok, Token::Type::eType, false , true );
15201513 tok.str (" long" );
15211514 assert_tok (&tok, Token::Type::eType, false , true );
15221515 }
0 commit comments