diff options
author | Youngsuk Kim <joseph942010@gmail.com> | 2024-09-16 04:59:38 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-16 04:59:38 -0400 |
commit | cab4c10eedfa4f2537877e96afc376fe47189b10 (patch) | |
tree | 50a9d61082486a27acde1c349ed748d81a6fcb9f /lldb/source/Plugins/Language/CPlusPlus/LibCxxMap.cpp | |
parent | 6784202b6bb0930d2e4bf231e915c61e446b0585 (diff) | |
download | llvm-cab4c10eedfa4f2537877e96afc376fe47189b10.zip llvm-cab4c10eedfa4f2537877e96afc376fe47189b10.tar.gz llvm-cab4c10eedfa4f2537877e96afc376fe47189b10.tar.bz2 |
[mlir][AsmParser] Avoid use of moved value (#108789)
'std::string detailData' is moved in the innermost loop of a 2-layer
loop, but is written to throughout the whole duration of the 2-layer
loop.
After move, std::string is in an unspecified state
(implementation-dependent).
Avoid using a moved value, as it incurs undefined behavior.
Diffstat (limited to 'lldb/source/Plugins/Language/CPlusPlus/LibCxxMap.cpp')
0 files changed, 0 insertions, 0 deletions