[lld] r188988 - [lld][test] fix -Wreturn-type error
Shankar Easwaran
shankare at codeaurora.org
Wed Aug 21 22:44:08 PDT 2013
Author: shankare
Date: Thu Aug 22 00:44:08 2013
New Revision: 188988
URL: http://llvm.org/viewvc/llvm-project?rev=188988&view=rev
Log:
[lld][test] fix -Wreturn-type error
Modified:
lld/trunk/unittests/DriverTests/DriverTest.h
Modified: lld/trunk/unittests/DriverTests/DriverTest.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/unittests/DriverTests/DriverTest.h?rev=188988&r1=188987&r2=188988&view=diff
==============================================================================
--- lld/trunk/unittests/DriverTests/DriverTest.h (original)
+++ lld/trunk/unittests/DriverTests/DriverTest.h Thu Aug 22 00:44:08 2013
@@ -38,6 +38,7 @@ protected:
if (inputElement.kind() == InputElement::Kind::File)
return (llvm::dyn_cast<FileNode>(&inputElement))->path(*linkingContext());
assert(0 && "not handling other types of input files");
+ return "";
}
// For unit tests to call driver with various command lines.
More information about the llvm-commits
mailing list