[llvm-commits] [llvm-gcc] Is it OK to backport this patch?

Rafael Espindola espindola at google.com
Fri Jul 10 01:56:05 PDT 2009


I would like to  add the attached patch to llvm-gcc. It is a backport
of part of http://gcc.gnu.org/ml/gcc-cvs/2007-10/msg00118.html. All
the files touched by the patch were still copyrighted under the GPL2
at the time the patch was committed to gcc trunk.

The part of the patch that I have ported allows the use of classes
with private copy constructors in parts of the STL. For example, with
the patch llvm-gcc now compiles

---------------------------------------------------
      #include <set>

      class A {
      public:
        A();
        private:
        A(const A&);
      };
      void B()
      {
        std::set<void *, A> foo;
      }
-------------------------------------------------

OK to commit the patch?

Cheers,
-- 
Rafael Avila de Espindola

Google | Gordon House | Barrow Street | Dublin 4 | Ireland
Registered in Dublin, Ireland | Registration Number: 368047
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc-129013.patch
Type: text/x-patch
Size: 12668 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20090710/01ee9770/attachment.bin>


More information about the llvm-commits mailing list