summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/PBQP/Solution.h
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2013-11-09 03:54:05 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2013-11-09 03:54:05 +0000
commit332cbf1d4503fcad3b5f3bf6ff73889feff03ad7 (patch)
tree1ceeb9a55261874d5349f97b31fef648f4130535 /include/llvm/CodeGen/PBQP/Solution.h
parent91935b8d4c027b6a1b884a433c9a20404cf05516 (diff)
downloadllvm-332cbf1d4503fcad3b5f3bf6ff73889feff03ad7.tar.gz
llvm-332cbf1d4503fcad3b5f3bf6ff73889feff03ad7.tar.bz2
llvm-332cbf1d4503fcad3b5f3bf6ff73889feff03ad7.tar.xz
include/llvm/CodeGen/PBQP: Update @param(s) in comments. [-Wdocumentation]
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194314 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/PBQP/Solution.h')
-rw-r--r--include/llvm/CodeGen/PBQP/Solution.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/llvm/CodeGen/PBQP/Solution.h b/include/llvm/CodeGen/PBQP/Solution.h
index 98ba5a1848..091805d00f 100644
--- a/include/llvm/CodeGen/PBQP/Solution.h
+++ b/include/llvm/CodeGen/PBQP/Solution.h
@@ -70,15 +70,15 @@ namespace PBQP {
unsigned numRNReductions() const { return rNReductions; }
/// \brief Set the selection for a given node.
- /// @param nItr Node iterator.
- /// @param selection Selection for nItr.
+ /// @param nodeId Node id.
+ /// @param selection Selection for nodeId.
void setSelection(Graph::NodeId nodeId, unsigned selection) {
selections[nodeId] = selection;
}
/// \brief Get a node's selection.
- /// @param nItr Node iterator.
- /// @return The selection for nItr;
+ /// @param nodeId Node id.
+ /// @return The selection for nodeId;
unsigned getSelection(Graph::NodeId nodeId) const {
SelectionsMap::const_iterator sItr = selections.find(nodeId);
assert(sItr != selections.end() && "No selection for node.");