[lld] r207688 - [Driver] Remove the redundant cast.
Simon Atanasyan
simon at atanasyan.com
Wed Apr 30 12:03:45 PDT 2014
Author: atanasyan
Date: Wed Apr 30 14:03:45 2014
New Revision: 207688
URL: http://llvm.org/viewvc/llvm-project?rev=207688&view=rev
Log:
[Driver] Remove the redundant cast.
No functional changes.
Modified:
lld/trunk/lib/Driver/GnuLdInputGraph.cpp
Modified: lld/trunk/lib/Driver/GnuLdInputGraph.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/Driver/GnuLdInputGraph.cpp?rev=207688&r1=207687&r2=207688&view=diff
==============================================================================
--- lld/trunk/lib/Driver/GnuLdInputGraph.cpp (original)
+++ lld/trunk/lib/Driver/GnuLdInputGraph.cpp Wed Apr 30 14:03:45 2014
@@ -88,7 +88,7 @@ error_code ELFGNULdScript::parse(const L
_elfLinkingContext, _elfLinkingContext.allocateString(path._path),
attributes);
std::unique_ptr<InputElement> inputFile(inputNode);
- cast<Group>(groupStart.get())->addFile(std::move(inputFile));
+ groupStart.get()->addFile(std::move(inputFile));
}
_expandElements.push_back(std::move(groupStart));
}
More information about the llvm-commits
mailing list