[llvm-commits] [llvm] r110549 - in /llvm/trunk: include/llvm/ADT/ValueMap.h unittests/ADT/ValueMapTest.cpp

Chris Lattner clattner at apple.com
Sun Aug 8 10:20:12 PDT 2010


On Aug 8, 2010, at 5:57 AM, Duncan Sands wrote:

> Author: baldrick
> Date: Sun Aug  8 07:57:48 2010
> New Revision: 110549
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=110549&view=rev
> Log:
> Remove the ValueMap copy constructor.  It's not used anywhere,
> and removing it catches the mistake of passing a ValueMap by
> copy rather than by reference.

Thanks Duncan, please also hide operator= as well to disable assignment.

-Chris



More information about the llvm-commits mailing list