summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2015-02-22 09:51:42 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2015-02-22 09:51:42 +0000
commit6c24684c95e0601b8aa8b80ab7d93f20967728be (patch)
treee044bc244b828a6f7d3b60355c437859d50287e7 /llvm/lib/Transforms
parentb9aa3a61c9f4fdf4acca3522c304879f6a0a3f11 (diff)
downloadbcm5719-llvm-6c24684c95e0601b8aa8b80ab7d93f20967728be.tar.gz
bcm5719-llvm-6c24684c95e0601b8aa8b80ab7d93f20967728be.zip
LowerBitSets.cpp: Prune incorrect \param(s). [-Wdocumentation]
\param should be used as itemized. llvm-svn: 230167
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/IPO/LowerBitSets.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/lib/Transforms/IPO/LowerBitSets.cpp b/llvm/lib/Transforms/IPO/LowerBitSets.cpp
index 3be7dd504d9..9c6f6268efd 100644
--- a/llvm/lib/Transforms/IPO/LowerBitSets.cpp
+++ b/llvm/lib/Transforms/IPO/LowerBitSets.cpp
@@ -186,8 +186,8 @@ bool LowerBitSets::doInitialization(Module &M) {
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(IRBuilder<> &B, Value *Bits,
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) {
OpenPOWER on IntegriCloud