diff options
| author | Michael Buch <michaelbuch12@gmail.com> | 2025-07-09 14:20:44 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-09 14:20:44 +0100 |
| commit | 1e6dd8c1e47f90f33b4ade4a13309d978212c297 (patch) | |
| tree | 169c85013a535b0f2c82cd8b42c0952e20ef2536 /flang/lib/Frontend/CompilerInvocation.cpp | |
| parent | 8ff636309d995871627546572520b3c638830f68 (diff) | |
| download | llvm-1e6dd8c1e47f90f33b4ade4a13309d978212c297.zip llvm-1e6dd8c1e47f90f33b4ade4a13309d978212c297.tar.gz llvm-1e6dd8c1e47f90f33b4ade4a13309d978212c297.tar.bz2 | |
[lldb][test] Merge MSVC STL std::(u8)string tests into generic directory (#147525)
Now that most STL formatter tests have been moved to `generic`. Do the
same for the MSVC tests (which are currently just for `std::string`).
The `std::string` test was mostly the same (MSVC just had 1 additional
check, which I moved over).
We also only tested `u8string` with MSVC. So i moved those into
`generic` as-is. I kept it separate from the existing std::string tests
since it requires c++20.
The tests are currently failing for libc++ and libstdc++ because MSVC
had a test case which checked that:
```
std::string overwritten_zero("abc");
const_cast<char *>(overwritten_zero.data())[3] = 'd';
```
prints as `"abc"`. But libc++ and libstdc++ print it as `"abcd"` (which
seems like the more correct thing to do?)
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
