aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2009-12-17 23:49:16 +0000
committerJohn McCall <rjmccall@apple.com>2009-12-17 23:49:16 +0000
commita6923131032be5e47b5e1155e69b23aa4c5e65ac (patch)
treea68a0b030d4733b2c39367b81fb96a8da84057aa
parent6532ff889cdd671a715ea27cd7fe0e71e4418a91 (diff)
Sundry dependent-name fixes flagged by clang++.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91636 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/CodeGen/MachinePassRegistry.h4
-rw-r--r--lib/CodeGen/PBQP/AnnotatedGraph.h8
2 files changed, 6 insertions, 6 deletions
diff --git a/include/llvm/CodeGen/MachinePassRegistry.h b/include/llvm/CodeGen/MachinePassRegistry.h
index 680d2b80df..6ee2e90a9f 100644
--- a/include/llvm/CodeGen/MachinePassRegistry.h
+++ b/include/llvm/CodeGen/MachinePassRegistry.h
@@ -129,9 +129,9 @@ public:
// 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.
diff --git a/lib/CodeGen/PBQP/AnnotatedGraph.h b/lib/CodeGen/PBQP/AnnotatedGraph.h
index 904061ca4f..a47dce9e67 100644
--- a/lib/CodeGen/PBQP/AnnotatedGraph.h
+++ b/lib/CodeGen/PBQP/AnnotatedGraph.h
@@ -132,19 +132,19 @@ public:
}
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 {