aboutsummaryrefslogtreecommitdiff
path: root/clang/tools/include-mapping/cppreference_parser.py
diff options
context:
space:
mode:
authorTimm Baeder <tbaeder@redhat.com>2025-08-02 14:47:49 +0200
committerGitHub <noreply@github.com>2025-08-02 14:47:49 +0200
commit41803a24140c3c53bbc82c7b61c7b196cf9d113a (patch)
treec0f299d94a06fbd0e4854d460904eb09cfdf24cc /clang/tools/include-mapping/cppreference_parser.py
parent0e40051565db1399b573b4bddc43c806ca86dc8d (diff)
downloadllvm-41803a24140c3c53bbc82c7b61c7b196cf9d113a.zip
llvm-41803a24140c3c53bbc82c7b61c7b196cf9d113a.tar.gz
llvm-41803a24140c3c53bbc82c7b61c7b196cf9d113a.tar.bz2
[clang][bytecode] Replace MoveFn With DtorFn + memcpy (#151717)
First, the old MoveFn was rather inefficient, since the dead data cannot ever be accessed anyway. Second, there was a problem where the only reason a block still had a pointer to it (and thus was made into a DeadBlock instead of simply being deallocated) as that a nested field in the block pointed to the block itself. Fix this by calling the dtor function unconditionally. If the block *still* has pointers after that, we really need to create a DeadBlock for it.
Diffstat (limited to 'clang/tools/include-mapping/cppreference_parser.py')
0 files changed, 0 insertions, 0 deletions