[PATCH] D108000: [IFS] Fix copy constructor warnings in IFSStub.cpp

Haowei Wu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 13 10:19:45 PDT 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rG571b0d84d207: [IFS] Fix the copy constructor warning in IFSStub.cpp (authored by haowei).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D108000/new/

https://reviews.llvm.org/D108000

Files:
  llvm/lib/InterfaceStub/IFSStub.cpp


Index: llvm/lib/InterfaceStub/IFSStub.cpp
===================================================================
--- llvm/lib/InterfaceStub/IFSStub.cpp
+++ llvm/lib/InterfaceStub/IFSStub.cpp
@@ -29,7 +29,7 @@
   Symbols = std::move(Stub.Symbols);
 }
 
-IFSStubTriple::IFSStubTriple(IFSStubTriple const &Stub) {
+IFSStubTriple::IFSStubTriple(IFSStubTriple const &Stub) : IFSStub() {
   IfsVersion = Stub.IfsVersion;
   Target = Stub.Target;
   SoName = Stub.SoName;
@@ -37,7 +37,7 @@
   Symbols = Stub.Symbols;
 }
 
-IFSStubTriple::IFSStubTriple(IFSStub const &Stub) {
+IFSStubTriple::IFSStubTriple(IFSStub const &Stub) : IFSStub() {
   IfsVersion = Stub.IfsVersion;
   Target = Stub.Target;
   SoName = Stub.SoName;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108000.366307.patch
Type: text/x-patch
Size: 713 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210813/decbc702/attachment.bin>


More information about the llvm-commits mailing list