[llvm] r230167 - LowerBitSets.cpp: Prune incorrect \param(s). [-Wdocumentation]

NAKAMURA Takumi geek4civic at gmail.com
Sun Feb 22 01:51:43 PST 2015


Author: chapuni
Date: Sun Feb 22 03:51:42 2015
New Revision: 230167

URL: http://llvm.org/viewvc/llvm-project?rev=230167&view=rev
Log:
LowerBitSets.cpp: Prune incorrect \param(s). [-Wdocumentation]

\param should be used as itemized.

Modified:
    llvm/trunk/lib/Transforms/IPO/LowerBitSets.cpp

Modified: llvm/trunk/lib/Transforms/IPO/LowerBitSets.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/IPO/LowerBitSets.cpp?rev=230167&r1=230166&r2=230167&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/IPO/LowerBitSets.cpp (original)
+++ llvm/trunk/lib/Transforms/IPO/LowerBitSets.cpp Sun Feb 22 03:51:42 2015
@@ -186,8 +186,8 @@ bool LowerBitSets::doInitialization(Modu
   return false;
 }
 
-/// Build a bit set for \param BitSet using the object layouts in
-/// \param GlobalLayout.
+/// Build a bit set for BitSet using the object layouts in
+/// GlobalLayout.
 BitSetInfo LowerBitSets::buildBitSet(
     MDString *BitSet,
     const DenseMap<GlobalVariable *, uint64_t> &GlobalLayout) {
@@ -213,8 +213,8 @@ BitSetInfo LowerBitSets::buildBitSet(
   return BSB.build();
 }
 
-/// Build a test that bit \param BitOffset mod sizeof(Bits)*8 is set in
-/// \param Bits. This pattern matches to the bt instruction on x86.
+/// Build a test that bit BitOffset mod sizeof(Bits)*8 is set in
+/// Bits. This pattern matches to the bt instruction on x86.
 static Value *createMaskedBitTest(IRBuilder<> &B, Value *Bits,
                                   Value *BitOffset) {
   auto BitsType = cast<IntegerType>(Bits->getType());
@@ -228,8 +228,8 @@ static Value *createMaskedBitTest(IRBuil
   return B.CreateICmpNE(MaskedBits, ConstantInt::get(BitsType, 0));
 }
 
-/// Build a test that bit \param BitOffset is set in \param BSI, where
-/// \param BitSetGlobal is a global containing the bits in \param BSI.
+/// Build a test that bit BitOffset is set in BSI, where
+/// BitSetGlobal is a global containing the bits in BSI.
 Value *LowerBitSets::createBitSetTest(IRBuilder<> &B, const BitSetInfo &BSI,
                                       GlobalVariable *BitSetGlobal,
                                       Value *BitOffset) {





More information about the llvm-commits mailing list