[all-commits] [llvm/llvm-project] d69eb7: [MC] Move createMC{Object, Asm}Streamer to .cpp
Fangrui Song via All-commits
all-commits at lists.llvm.org
Sat Jul 20 20:59:49 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d69eb7b7ffb33d0be716759a38a235868671705d
https://github.com/llvm/llvm-project/commit/d69eb7b7ffb33d0be716759a38a235868671705d
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-20 (Sat, 20 Jul 2024)
Changed paths:
M llvm/include/llvm/MC/TargetRegistry.h
M llvm/lib/MC/TargetRegistry.cpp
Log Message:
-----------
[MC] Move createMC{Object,Asm}Streamer to .cpp
Currently, the template arguments are incomplete types and unique_ptr&&
has to be used. Moving the implementation to .cpp allows us to
use complete types and unique_ptr.
In addition, add a createMCObjectStreamer overload without unused bool
parameters. The existing createMCObjectStreamer overload, with unused
and confusing bool parameters, will be deprecated.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list