1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00

Fix -Wdocumentation warning (@returns used in void function). NFCI.

llvm-svn: 368693
This commit is contained in:
Simon Pilgrim 2019-08-13 13:55:38 +00:00
parent 1e00e2024f
commit 68d1415581

View File

@ -16,7 +16,6 @@
/// Removes all the Defined Functions (as well as their calls) /// Removes all the Defined Functions (as well as their calls)
/// that aren't inside any of the desired Chunks. /// 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, static void extractFunctionsFromModule(const std::vector<Chunk> &ChunksToKeep,
Module *Program) { Module *Program) {
// Get functions inside desired chunks // Get functions inside desired chunks
@ -77,4 +76,4 @@ void llvm::reduceFunctionsDeltaPass(TestRunner &Test) {
unsigned Functions = countDefinedFunctions(Test.getProgram()); unsigned Functions = countDefinedFunctions(Test.getProgram());
runDeltaPass(Test, Functions, extractFunctionsFromModule); runDeltaPass(Test, Functions, extractFunctionsFromModule);
outs() << "----------------------------\n"; outs() << "----------------------------\n";
} }