Revert bad changes to basic_string

This commit is contained in:
Dave Bartolomeo
2020-10-23 13:46:27 -04:00
parent 35abcae5d3
commit 1e96404ee0
2 changed files with 66 additions and 75 deletions

View File

@@ -16,15 +16,9 @@ namespace std
template<class charT, class traits = char_traits<charT>, class Allocator = allocator<charT> >
class basic_string {
private:
const char* p;
public:
explicit basic_string(const Allocator& a = Allocator());
basic_string(const charT* s, const Allocator& a = Allocator()) :
p(s)
{
}
basic_string(const charT* s, const Allocator& a = Allocator());
const charT* c_str() const;
};

View File

@@ -90,7 +90,6 @@
| defaulttainttracking.cpp:88:18:88:23 | call to getenv | defaulttainttracking.cpp:88:8:88:32 | (reference dereference) |
| defaulttainttracking.cpp:88:18:88:23 | call to getenv | defaulttainttracking.cpp:88:18:88:23 | call to getenv |
| defaulttainttracking.cpp:88:18:88:23 | call to getenv | defaulttainttracking.cpp:88:18:88:30 | (reference to) |
| defaulttainttracking.cpp:88:18:88:23 | call to getenv | defaulttainttracking.cpp:88:18:88:30 | temporary object |
| defaulttainttracking.cpp:88:18:88:23 | call to getenv | shared.h:5:23:5:31 | sinkparam |
| defaulttainttracking.cpp:97:27:97:32 | call to getenv | defaulttainttracking.cpp:91:42:91:44 | arg |
| defaulttainttracking.cpp:97:27:97:32 | call to getenv | defaulttainttracking.cpp:92:12:92:14 | arg |
@@ -173,73 +172,71 @@
| globals.cpp:13:15:13:20 | call to getenv | globals.cpp:13:15:13:20 | call to getenv |
| globals.cpp:23:15:23:20 | call to getenv | globals.cpp:16:15:16:21 | global2 |
| globals.cpp:23:15:23:20 | call to getenv | globals.cpp:23:15:23:20 | call to getenv |
| stl.cpp:68:25:68:30 | call to getenv | shared.h:5:23:5:31 | sinkparam |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:24:29:24:29 | s |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:25:6:25:6 | s |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:49:78:49:104 | (unnamed parameter 0) |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:49:114:49:118 | (unnamed parameter 1) |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:68:25:68:30 | call to getenv |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:70:36:70:36 | s |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:74:8:74:8 | a |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:74:12:74:17 | call to source |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:76:16:76:21 | call to source |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:76:16:76:23 | (const char *)... |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:76:16:76:24 | call to basic_string |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:78:7:78:7 | (const char *)... |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:78:7:78:7 | a |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:88:16:88:21 | call to source |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:88:16:88:23 | (const char *)... |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:88:16:88:24 | call to basic_string |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:91:6:91:6 | call to operator<< |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:91:6:91:17 | (reference dereference) |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:91:9:91:14 | call to source |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:91:9:91:16 | (const char *)... |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:92:15:92:15 | call to operator<< |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:92:15:92:26 | (reference dereference) |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:92:18:92:23 | call to source |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:92:18:92:25 | (const char *)... |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:93:6:93:6 | call to operator<< |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:93:6:93:19 | (reference dereference) |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:93:6:93:19 | (reference to) |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:93:9:93:14 | call to source |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:93:9:93:16 | (const char *)... |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:93:18:93:18 | call to operator<< |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:93:18:93:26 | (reference dereference) |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:97:7:97:9 | (const stringstream)... |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:97:7:97:9 | (reference to) |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:97:7:97:9 | ss2 |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:99:7:99:9 | (const stringstream)... |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:99:7:99:9 | (reference to) |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:99:7:99:9 | ss4 |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:102:7:102:9 | (const basic_stringstream<char, char_traits<char>, allocator<char>>)... |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:102:7:102:9 | ss2 |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:104:7:104:9 | (const basic_stringstream<char, char_traits<char>, allocator<char>>)... |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:104:7:104:9 | ss4 |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:124:10:124:15 | call to source |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:131:16:131:28 | call to basic_string |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:131:17:131:26 | call to user_input |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:131:17:131:28 | (const char *)... |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:134:9:134:13 | path2 |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:135:10:135:19 | call to user_input |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:135:10:135:21 | (const char *)... |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:135:10:135:21 | call to basic_string |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:135:10:135:21 | temporary object |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:136:7:136:11 | (const basic_string<char, char_traits<char>, allocator<char>>)... |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:136:7:136:11 | path2 |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:138:15:138:24 | call to user_input |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:138:15:138:26 | (const char *)... |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:138:15:138:27 | call to basic_string |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:144:14:144:15 | cs |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:144:19:144:24 | call to source |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:144:19:144:26 | (const char *)... |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:147:17:147:18 | cs |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:147:17:147:19 | call to basic_string |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:149:7:149:8 | cs |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:155:14:155:15 | cs |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:155:19:155:24 | call to source |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:155:19:155:26 | (const char *)... |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:158:17:158:18 | cs |
| stl.cpp:68:25:68:30 | call to getenv | stl.cpp:158:17:158:19 | call to basic_string |
| stl.cpp:62:25:62:30 | call to getenv | shared.h:5:23:5:31 | sinkparam |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:21:29:21:29 | s |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:43:78:43:104 | (unnamed parameter 0) |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:43:114:43:118 | (unnamed parameter 1) |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:62:25:62:30 | call to getenv |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:64:36:64:36 | s |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:68:8:68:8 | a |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:68:12:68:17 | call to source |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:70:16:70:21 | call to source |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:70:16:70:23 | (const char *)... |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:70:16:70:24 | call to basic_string |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:72:7:72:7 | (const char *)... |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:72:7:72:7 | a |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:82:16:82:21 | call to source |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:82:16:82:23 | (const char *)... |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:82:16:82:24 | call to basic_string |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:85:6:85:6 | call to operator<< |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:85:6:85:17 | (reference dereference) |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:85:9:85:14 | call to source |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:85:9:85:16 | (const char *)... |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:86:15:86:15 | call to operator<< |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:86:15:86:26 | (reference dereference) |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:86:18:86:23 | call to source |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:86:18:86:25 | (const char *)... |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:87:6:87:6 | call to operator<< |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:87:6:87:19 | (reference dereference) |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:87:6:87:19 | (reference to) |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:87:9:87:14 | call to source |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:87:9:87:16 | (const char *)... |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:87:18:87:18 | call to operator<< |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:87:18:87:26 | (reference dereference) |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:91:7:91:9 | (const stringstream)... |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:91:7:91:9 | (reference to) |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:91:7:91:9 | ss2 |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:93:7:93:9 | (const stringstream)... |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:93:7:93:9 | (reference to) |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:93:7:93:9 | ss4 |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:96:7:96:9 | (const basic_stringstream<char, char_traits<char>, allocator<char>>)... |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:96:7:96:9 | ss2 |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:98:7:98:9 | (const basic_stringstream<char, char_traits<char>, allocator<char>>)... |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:98:7:98:9 | ss4 |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:118:10:118:15 | call to source |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:125:16:125:28 | call to basic_string |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:125:17:125:26 | call to user_input |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:125:17:125:28 | (const char *)... |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:128:9:128:13 | path2 |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:129:10:129:19 | call to user_input |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:129:10:129:21 | (const char *)... |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:129:10:129:21 | call to basic_string |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:130:7:130:11 | (const basic_string<char, char_traits<char>, allocator<char>>)... |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:130:7:130:11 | path2 |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:132:15:132:24 | call to user_input |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:132:15:132:26 | (const char *)... |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:132:15:132:27 | call to basic_string |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:138:14:138:15 | cs |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:138:19:138:24 | call to source |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:138:19:138:26 | (const char *)... |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:141:17:141:18 | cs |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:141:17:141:19 | call to basic_string |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:143:7:143:8 | cs |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:149:14:149:15 | cs |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:149:19:149:24 | call to source |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:149:19:149:26 | (const char *)... |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:152:17:152:18 | cs |
| stl.cpp:62:25:62:30 | call to getenv | stl.cpp:152:17:152:19 | call to basic_string |
| test_diff.cpp:92:10:92:13 | argv | shared.h:5:23:5:31 | sinkparam |
| test_diff.cpp:92:10:92:13 | argv | test_diff.cpp:92:10:92:13 | argv |
| test_diff.cpp:92:10:92:13 | argv | test_diff.cpp:92:10:92:16 | (const char *)... |