aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Language/CPlusPlus/LibCxxMap.cpp
diff options
context:
space:
mode:
authorYoungsuk Kim <joseph942010@gmail.com>2024-09-16 04:59:38 -0400
committerGitHub <noreply@github.com>2024-09-16 04:59:38 -0400
commitcab4c10eedfa4f2537877e96afc376fe47189b10 (patch)
tree50a9d61082486a27acde1c349ed748d81a6fcb9f /lldb/source/Plugins/Language/CPlusPlus/LibCxxMap.cpp
parent6784202b6bb0930d2e4bf231e915c61e446b0585 (diff)
downloadllvm-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