[llvm-commits] [llvm] r91636 - in /llvm/trunk: include/llvm/CodeGen/MachinePassRegistry.h lib/CodeGen/PBQP/AnnotatedGraph.h
John McCall
rjmccall at apple.com
Thu Dec 17 15:49:16 PST 2009
Author: rjmccall
Date: Thu Dec 17 17:49:16 2009
New Revision: 91636
URL: http://llvm.org/viewvc/llvm-project?rev=91636&view=rev
Log:
Sundry dependent-name fixes flagged by clang++.
Modified:
llvm/trunk/include/llvm/CodeGen/MachinePassRegistry.h
llvm/trunk/lib/CodeGen/PBQP/AnnotatedGraph.h
Modified: llvm/trunk/include/llvm/CodeGen/MachinePassRegistry.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/MachinePassRegistry.h?rev=91636&r1=91635&r2=91636&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/MachinePassRegistry.h (original)
+++ llvm/trunk/include/llvm/CodeGen/MachinePassRegistry.h Thu Dec 17 17:49:16 2009
@@ -129,9 +129,9 @@
// Add existing passes to option.
for (RegistryClass *Node = RegistryClass::getList();
Node; Node = Node->getNext()) {
- addLiteralOption(Node->getName(),
+ this->addLiteralOption(Node->getName(),
(typename RegistryClass::FunctionPassCtor)Node->getCtor(),
- Node->getDescription());
+ Node->getDescription());
}
// Make sure we listen for list changes.
Modified: llvm/trunk/lib/CodeGen/PBQP/AnnotatedGraph.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/PBQP/AnnotatedGraph.h?rev=91636&r1=91635&r2=91636&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/PBQP/AnnotatedGraph.h (original)
+++ llvm/trunk/lib/CodeGen/PBQP/AnnotatedGraph.h Thu Dec 17 17:49:16 2009
@@ -132,19 +132,19 @@
}
NodeData& getNodeData(const NodeIterator &nodeItr) {
- return getNodeEntry(nodeItr).getNodeData();
+ return PGraph::getNodeEntry(nodeItr).getNodeData();
}
const NodeData& getNodeData(const NodeIterator &nodeItr) const {
- return getNodeEntry(nodeItr).getNodeData();
+ return PGraph::getNodeEntry(nodeItr).getNodeData();
}
EdgeData& getEdgeData(const EdgeIterator &edgeItr) {
- return getEdgeEntry(edgeItr).getEdgeData();
+ return PGraph::getEdgeEntry(edgeItr).getEdgeData();
}
const EdgeEntry& getEdgeData(const EdgeIterator &edgeItr) const {
- return getEdgeEntry(edgeItr).getEdgeData();
+ return PGraph::getEdgeEntry(edgeItr).getEdgeData();
}
SimpleGraph toSimpleGraph() const {
More information about the llvm-commits
mailing list