[PATCH] D23581: [GraphWriter] Change GraphWriter to use NodeRef in GraphTraits

Tim Shen via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 17 13:10:48 PDT 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL278963: [GraphWriter] Change GraphWriter to use NodeRef in GraphTraits (authored by timshen).

Changed prior to commit:
  https://reviews.llvm.org/D23581?vs=68258&id=68406#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D23581

Files:
  cfe/trunk/lib/Serialization/ModuleManager.cpp

Index: cfe/trunk/lib/Serialization/ModuleManager.cpp
===================================================================
--- cfe/trunk/lib/Serialization/ModuleManager.cpp
+++ cfe/trunk/lib/Serialization/ModuleManager.cpp
@@ -434,6 +434,7 @@
   template<>
   struct GraphTraits<ModuleManager> {
     typedef ModuleFile NodeType;
+    typedef ModuleFile *NodeRef;
     typedef llvm::SetVector<ModuleFile *>::const_iterator ChildIteratorType;
     typedef ModuleManager::ModuleConstIterator nodes_iterator;
     


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23581.68406.patch
Type: text/x-patch
Size: 510 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160817/82293a15/attachment.bin>


More information about the cfe-commits mailing list