From: Simon Pilgrim Date: Tue, 13 Aug 2019 13:55:38 +0000 (+0000) Subject: Fix -Wdocumentation warning (@returns used in void function). NFCI. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9b66f72f3f3b4b36189cb8a11877b0c8d830c0fc;p=llvm Fix -Wdocumentation warning (@returns used in void function). NFCI. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@368693 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/llvm-reduce/deltas/ReduceFunctions.cpp b/tools/llvm-reduce/deltas/ReduceFunctions.cpp index 30c2748b0ba..5eb57c0b7d4 100644 --- a/tools/llvm-reduce/deltas/ReduceFunctions.cpp +++ b/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 +}