From 6b5805041b498d5af25eb1a04a75e02cb5e7232d Mon Sep 17 00:00:00 2001 From: Sebastian Date: Wed, 24 Jan 2018 15:31:55 +0100 Subject: [PATCH] std.cfg: Fixed remaining functions found to be redundant (#1055) [std::]strtoimax and [std::]strtoumax: They were nearly completely duplicates, i removed the ones with less/missing configuration. std::basic_string::empty: It was found to be redundant because very likely someone forgot to change "empty" to "clear" when copy&pasting the function names. The empty function in all these clear functions makes no sense, and the clear function also was missing. std::queue::empty and std::array:empty: They were both twice in the same function name list. std::string::size, std::wstring::size: They were already configured with many other size functions above. std::basic_string::size: This entry was twice in the same function name list directly one after another. Very likely one of them should be the length function, which does simply the same but was missing in the std.cfg. --- cfg/std.cfg | 34 +++------------------------------- 1 file changed, 3 insertions(+), 31 deletions(-) diff --git a/cfg/std.cfg b/cfg/std.cfg index 1fafe6407..f01af34e0 100644 --- a/cfg/std.cfg +++ b/cfg/std.cfg @@ -4985,34 +4985,6 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun - - - - false - - - - - - - - 0,2:36 - - - - - - false - - - - - - - - 0,2:36 - - @@ -5923,10 +5895,10 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun false - + false - + false @@ -6046,7 +6018,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun 0: - + false