Sundry dependent-name fixes flagged by clang++.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91636 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
John McCall 2009-12-17 23:49:16 +00:00
parent 6532ff889c
commit a692313103
2 changed files with 6 additions and 6 deletions

View File

@ -129,9 +129,9 @@ public:
// Add existing passes to option. // Add existing passes to option.
for (RegistryClass *Node = RegistryClass::getList(); for (RegistryClass *Node = RegistryClass::getList();
Node; Node = Node->getNext()) { Node; Node = Node->getNext()) {
addLiteralOption(Node->getName(), this->addLiteralOption(Node->getName(),
(typename RegistryClass::FunctionPassCtor)Node->getCtor(), (typename RegistryClass::FunctionPassCtor)Node->getCtor(),
Node->getDescription()); Node->getDescription());
} }
// Make sure we listen for list changes. // Make sure we listen for list changes.

View File

@ -132,19 +132,19 @@ public:
} }
NodeData& getNodeData(const NodeIterator &nodeItr) { NodeData& getNodeData(const NodeIterator &nodeItr) {
return getNodeEntry(nodeItr).getNodeData(); return PGraph::getNodeEntry(nodeItr).getNodeData();
} }
const NodeData& getNodeData(const NodeIterator &nodeItr) const { const NodeData& getNodeData(const NodeIterator &nodeItr) const {
return getNodeEntry(nodeItr).getNodeData(); return PGraph::getNodeEntry(nodeItr).getNodeData();
} }
EdgeData& getEdgeData(const EdgeIterator &edgeItr) { EdgeData& getEdgeData(const EdgeIterator &edgeItr) {
return getEdgeEntry(edgeItr).getEdgeData(); return PGraph::getEdgeEntry(edgeItr).getEdgeData();
} }
const EdgeEntry& getEdgeData(const EdgeIterator &edgeItr) const { const EdgeEntry& getEdgeData(const EdgeIterator &edgeItr) const {
return getEdgeEntry(edgeItr).getEdgeData(); return PGraph::getEdgeEntry(edgeItr).getEdgeData();
} }
SimpleGraph toSimpleGraph() const { SimpleGraph toSimpleGraph() const {