[llvm] r368957 - [NFC] Remove documentation comment to fix warning.
Jonas Devlieghere via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 14 21:09:01 PDT 2019
Author: jdevlieghere
Date: Wed Aug 14 21:09:00 2019
New Revision: 368957
URL: http://llvm.org/viewvc/llvm-project?rev=368957&view=rev
Log:
[NFC] Remove documentation comment to fix warning.
Remove the @return to fix the warning: '@returns' command used in a
comment that is attached to a function returning void [-Wdocumentation]
Modified:
llvm/trunk/tools/llvm-reduce/deltas/ReduceGlobalVars.cpp
Modified: llvm/trunk/tools/llvm-reduce/deltas/ReduceGlobalVars.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-reduce/deltas/ReduceGlobalVars.cpp?rev=368957&r1=368956&r2=368957&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-reduce/deltas/ReduceGlobalVars.cpp (original)
+++ llvm/trunk/tools/llvm-reduce/deltas/ReduceGlobalVars.cpp Wed Aug 14 21:09:00 2019
@@ -14,7 +14,6 @@
#include "ReduceGlobalVars.h"
/// Removes all the Initialized GVs that aren't inside the desired Chunks.
-/// @returns the Module stripped of out-of-chunk GVs
static void extractGVsFromModule(std::vector<Chunk> ChunksToKeep,
Module *Program) {
// Get GVs inside desired chunks
More information about the llvm-commits
mailing list