[llvm] r181973 - Fix PBQP graph iterator typedefs.
Lang Hames
lhames at gmail.com
Wed May 15 19:20:41 PDT 2013
Author: lhames
Date: Wed May 15 21:20:41 2013
New Revision: 181973
URL: http://llvm.org/viewvc/llvm-project?rev=181973&view=rev
Log:
Fix PBQP graph iterator typedefs.
Modified:
llvm/trunk/include/llvm/CodeGen/PBQP/Graph.h
Modified: llvm/trunk/include/llvm/CodeGen/PBQP/Graph.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/PBQP/Graph.h?rev=181973&r1=181972&r2=181973&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/PBQP/Graph.h (original)
+++ llvm/trunk/include/llvm/CodeGen/PBQP/Graph.h Wed May 15 21:20:41 2013
@@ -37,11 +37,11 @@ namespace PBQP {
public:
- typedef NodeEntry* NodeItr;
- typedef const NodeEntry* ConstNodeItr;
+ typedef NodeList::iterator NodeItr;
+ typedef NodeList::const_iterator ConstNodeItr;
- typedef EdgeEntry* EdgeItr;
- typedef const EdgeEntry* ConstEdgeItr;
+ typedef EdgeList::iterator EdgeItr;
+ typedef EdgeList::const_iterator ConstEdgeItr;
private:
More information about the llvm-commits
mailing list