Make llvm::ConvertDebugDeclareToDebugValue() be a void function (NFC)
authorKeith Walker <kwalker@arm.com>
Tue, 20 Sep 2016 10:36:17 +0000 (10:36 +0000)
committerKeith Walker <kwalker@arm.com>
Tue, 20 Sep 2016 10:36:17 +0000 (10:36 +0000)
commit22b5dbc8bf5763689c676f85bb3f00abffa69840
treeb9b07a4f74bd0e84cea9fef6cfd93b19368f3f0e
parent96a56bd0c6133088df5193c3c4add76289b0fbd5
Make llvm::ConvertDebugDeclareToDebugValue() be a void function (NFC)

The routines llvm::ConvertDebugDeclareToDebugValue() always returned
a true value which was never checked at the call site; change the
function return type to void.

This NFC cleanup was approved in the review https://reviews.llvm.org/D23715

llvm-svn: 281964
llvm/include/llvm/Transforms/Utils/Local.h
llvm/lib/Transforms/Utils/Local.cpp