[lld] r217324 - Remove dead code.
Chandler Carruth
chandlerc at google.com
Sat Sep 6 18:44:10 PDT 2014
On Sat, Sep 6, 2014 at 6:23 PM, Rui Ueyama <ruiu at google.com> wrote:
> Author: ruiu
> Date: Sat Sep 6 20:23:16 2014
> New Revision: 217324
>
> URL: http://llvm.org/viewvc/llvm-project?rev=217324&view=rev
> Log:
> Remove dead code.
>
> Modified:
> lld/trunk/include/lld/Core/File.h
> lld/trunk/lib/Core/File.cpp
>
> Modified: lld/trunk/include/lld/Core/File.h
> URL:
> http://llvm.org/viewvc/llvm-project/lld/trunk/include/lld/Core/File.h?rev=217324&r1=217323&r2=217324&view=diff
>
> ==============================================================================
> --- lld/trunk/include/lld/Core/File.h (original)
> +++ lld/trunk/include/lld/Core/File.h Sat Sep 6 20:23:16 2014
> @@ -39,7 +39,7 @@ class LinkingContext;
> /// are destroyed when the File object is destroyed.
> class File {
> public:
> - virtual ~File();
> + virtual ~File() {}
>
This removes the initial out-of-line virtual function which provides the
key function for the class allowing its code to be emitted in a single
translation unit. Maybe this should be kept?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140906/989e5f2c/attachment.html>
More information about the llvm-commits
mailing list