[RISCV] Change the return type of getStreamer() to support the use of overloading...
authorLiDongjin <jin.mse.sse@gmail.com>
Fri, 13 Jan 2023 03:48:22 +0000 (11:48 +0800)
committerLiDongjin <jin.mse.sse@gmail.com>
Fri, 13 Jan 2023 03:49:23 +0000 (11:49 +0800)
commit7f9114e0d308a612bb0f289b981ba5d37f59441c
treee461b111077192e0c4e9cb9ba74c09800ae903ff
parent8f549c5329275293ced1d5eb87a1cf8b3d52a794
[RISCV] Change the return type of getStreamer() to support the use of overloading and other functions in RISCVELFStreamer

Move the declaration of RISCVELFStreamer from RISCVELFStreamer.cpp to RISCVELFStreamer.h.
Change the return type of getStreamer() to support the use of overloading and other functions in RISCVELFStreamer.

Differential Revision: https://reviews.llvm.org/D138500
llvm/lib/Target/RISCV/MCTargetDesc/RISCVELFStreamer.cpp
llvm/lib/Target/RISCV/MCTargetDesc/RISCVELFStreamer.h