Commit 1c8e68f
[lldb][NFCI] Remove FileAction::GetPath (llvm#170764)
This method puts strings into the ConstString pool and vends them as
llvm::StringRefs. Most of the uses only require a `std::string` or a
`const char *`. This can be achieved without wasting memory.1 parent bd4c0b7 commit 1c8e68f
File tree
5 files changed
+29
-26
lines changed- lldb
- include/lldb/Host
- source
- Host
- common
- macosx/objcxx
- posix
- Target
5 files changed
+29
-26
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
44 | 42 | | |
45 | 43 | | |
46 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | 28 | | |
33 | 29 | | |
34 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1013 | 1013 | | |
1014 | 1014 | | |
1015 | 1015 | | |
1016 | | - | |
| 1016 | + | |
| 1017 | + | |
| 1018 | + | |
| 1019 | + | |
| 1020 | + | |
1017 | 1021 | | |
1018 | | - | |
1019 | | - | |
| 1022 | + | |
| 1023 | + | |
1020 | 1024 | | |
1021 | | - | |
| 1025 | + | |
| 1026 | + | |
| 1027 | + | |
| 1028 | + | |
1022 | 1029 | | |
1023 | | - | |
1024 | | - | |
| 1030 | + | |
| 1031 | + | |
1025 | 1032 | | |
1026 | | - | |
| 1033 | + | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
1027 | 1037 | | |
1028 | | - | |
1029 | | - | |
| 1038 | + | |
1030 | 1039 | | |
1031 | 1040 | | |
1032 | 1041 | | |
| |||
1135 | 1144 | | |
1136 | 1145 | | |
1137 | 1146 | | |
1138 | | - | |
1139 | | - | |
1140 | | - | |
1141 | | - | |
| 1147 | + | |
| 1148 | + | |
| 1149 | + | |
| 1150 | + | |
| 1151 | + | |
1142 | 1152 | | |
1143 | 1153 | | |
1144 | 1154 | | |
1145 | 1155 | | |
1146 | | - | |
1147 | | - | |
| 1156 | + | |
1148 | 1157 | | |
1149 | 1158 | | |
1150 | 1159 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
232 | | - | |
233 | | - | |
| 232 | + | |
| 233 | + | |
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5145 | 5145 | | |
5146 | 5146 | | |
5147 | 5147 | | |
5148 | | - | |
| 5148 | + | |
5149 | 5149 | | |
5150 | 5150 | | |
5151 | 5151 | | |
5152 | 5152 | | |
5153 | | - | |
| 5153 | + | |
5154 | 5154 | | |
5155 | 5155 | | |
5156 | 5156 | | |
5157 | 5157 | | |
5158 | | - | |
| 5158 | + | |
5159 | 5159 | | |
5160 | 5160 | | |
5161 | 5161 | | |
| |||
0 commit comments