llvm.org GIT mirror llvm / 8249328
This is a patch to fix a compile error in STLExtras.h, and a bug in GraphWriter.cpp. Patch by Florian Brandner git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36684 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 13 years ago
2 changed file(s) with 2 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
7070 typedef RootIt iterator_type;
7171 typedef mapped_iterator _Self;
7272
73 inline RootIt &getCurrent() const { return current; }
73 inline const RootIt &getCurrent() const { return current; }
7474
7575 inline explicit mapped_iterator(const RootIt &I, UnaryFunc F)
7676 : current(I), Fn(F) {}
6969 sys::Path dotty(LLVM_PATH_DOTTY);
7070
7171 std::vector args;
72 args.push_back(dotty.c_str());
7273 args.push_back(Filename.c_str());
7374 args.push_back(0);
7475