llvm.org GIT mirror llvm / a692313
Sundry dependent-name fixes flagged by clang++. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91636 91177308-0d34-0410-b5e6-96231b3b80d8 John McCall 10 years ago
2 changed file(s) with 6 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
128128 // Add existing passes to option.
129129 for (RegistryClass *Node = RegistryClass::getList();
130130 Node; Node = Node->getNext()) {
131 addLiteralOption(Node->getName(),
131 this->addLiteralOption(Node->getName(),
132132 (typename RegistryClass::FunctionPassCtor)Node->getCtor(),
133 Node->getDescription());
133 Node->getDescription());
134134 }
135135
136136 // Make sure we listen for list changes.
131131 }
132132
133133 NodeData& getNodeData(const NodeIterator &nodeItr) {
134 return getNodeEntry(nodeItr).getNodeData();
134 return PGraph::getNodeEntry(nodeItr).getNodeData();
135135 }
136136
137137 const NodeData& getNodeData(const NodeIterator &nodeItr) const {
138 return getNodeEntry(nodeItr).getNodeData();
138 return PGraph::getNodeEntry(nodeItr).getNodeData();
139139 }
140140
141141 EdgeData& getEdgeData(const EdgeIterator &edgeItr) {
142 return getEdgeEntry(edgeItr).getEdgeData();
142 return PGraph::getEdgeEntry(edgeItr).getEdgeData();
143143 }
144144
145145 const EdgeEntry& getEdgeData(const EdgeIterator &edgeItr) const {
146 return getEdgeEntry(edgeItr).getEdgeData();
146 return PGraph::getEdgeEntry(edgeItr).getEdgeData();
147147 }
148148
149149 SimpleGraph toSimpleGraph() const {