]> granicus.if.org Git - llvm/commitdiff
Fix -Wdocumentation warning (@returns used in void function). NFCI.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 13 Aug 2019 13:55:38 +0000 (13:55 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 13 Aug 2019 13:55:38 +0000 (13:55 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@368693 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-reduce/deltas/ReduceFunctions.cpp

index 30c2748b0bae1dcb7d4cd7473f893ecaff42ce5f..5eb57c0b7d4656061c09f3aad3d13866915f6f4a 100644 (file)
@@ -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<Chunk> &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
+}