[llvm] r345549 - Remove unneeded friend declarations that clang-cl warns on
Reid Kleckner via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 29 15:38:13 PDT 2018
Author: rnk
Date: Mon Oct 29 15:38:13 2018
New Revision: 345549
URL: http://llvm.org/viewvc/llvm-project?rev=345549&view=rev
Log:
Remove unneeded friend declarations that clang-cl warns on
Modified:
llvm/trunk/lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp
llvm/trunk/lib/Target/AArch64/MCTargetDesc/AArch64WinCOFFStreamer.cpp
Modified: llvm/trunk/lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp?rev=345549&r1=345548&r2=345549&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp (original)
+++ llvm/trunk/lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp Mon Oct 29 15:38:13 2018
@@ -75,8 +75,6 @@ void AArch64TargetAsmStreamer::emitInst(
/// by MachO. Beware!
class AArch64ELFStreamer : public MCELFStreamer {
public:
- friend class AArch64TargetELFStreamer;
-
AArch64ELFStreamer(MCContext &Context, std::unique_ptr<MCAsmBackend> TAB,
std::unique_ptr<MCObjectWriter> OW,
std::unique_ptr<MCCodeEmitter> Emitter)
Modified: llvm/trunk/lib/Target/AArch64/MCTargetDesc/AArch64WinCOFFStreamer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AArch64/MCTargetDesc/AArch64WinCOFFStreamer.cpp?rev=345549&r1=345548&r2=345549&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AArch64/MCTargetDesc/AArch64WinCOFFStreamer.cpp (original)
+++ llvm/trunk/lib/Target/AArch64/MCTargetDesc/AArch64WinCOFFStreamer.cpp Mon Oct 29 15:38:13 2018
@@ -22,8 +22,6 @@ class AArch64WinCOFFStreamer : public MC
Win64EH::ARM64UnwindEmitter EHStreamer;
public:
- friend class AArch64TargetWinCOFFStreamer;
-
AArch64WinCOFFStreamer(MCContext &C, std::unique_ptr<MCAsmBackend> AB,
std::unique_ptr<MCCodeEmitter> CE,
std::unique_ptr<MCObjectWriter> OW)
More information about the llvm-commits
mailing list