[all-commits] [llvm/llvm-project] aaf73a: [clang][Interp] Use placement new to construct opc...
Timm Bäder via All-commits
all-commits at lists.llvm.org
Wed Nov 30 01:34:14 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: aaf73ae266db44fce107a0b73fcb33527bfb52eb
https://github.com/llvm/llvm-project/commit/aaf73ae266db44fce107a0b73fcb33527bfb52eb
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2022-11-30 (Wed, 30 Nov 2022)
Changed paths:
M clang/lib/AST/Interp/ByteCodeEmitter.cpp
Log Message:
-----------
[clang][Interp] Use placement new to construct opcode args into vector
This way we're invoking the copy constructor, which might be necessary
if the argument is not trivially constructible.
Differential Revision: https://reviews.llvm.org/D138554
More information about the All-commits
mailing list