From bda73ae0bbb0d8a11c5e4b58dd1461748f8f54dd Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Tue, 13 Aug 2019 13:55:38 +0000 Subject: Fix -Wdocumentation warning (@returns used in void function). NFCI. llvm-svn: 368693 --- llvm/tools/llvm-reduce/deltas/ReduceFunctions.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'llvm/tools/llvm-reduce/deltas/ReduceFunctions.cpp') diff --git a/llvm/tools/llvm-reduce/deltas/ReduceFunctions.cpp b/llvm/tools/llvm-reduce/deltas/ReduceFunctions.cpp index 30c2748b0ba..5eb57c0b7d4 100644 --- a/llvm/tools/llvm-reduce/deltas/ReduceFunctions.cpp +++ b/llvm/tools/llvm-reduce/deltas/ReduceFunctions.cpp @@ -16,7 +16,6 @@ /// Removes all the Defined Functions (as well as their calls) /// that aren't inside any of the desired Chunks. -/// @returns the Module stripped of out-of-chunk functions static void extractFunctionsFromModule(const std::vector &ChunksToKeep, Module *Program) { // Get functions inside desired chunks @@ -77,4 +76,4 @@ void llvm::reduceFunctionsDeltaPass(TestRunner &Test) { unsigned Functions = countDefinedFunctions(Test.getProgram()); runDeltaPass(Test, Functions, extractFunctionsFromModule); outs() << "----------------------------\n"; -} \ No newline at end of file +} -- cgit v1.2.3