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
typedef RootIt iterator_type;
typedef mapped_iterator<RootIt, UnaryFunc> _Self;
- inline RootIt &getCurrent() const { return current; }
+ inline const RootIt &getCurrent() const { return current; }
inline explicit mapped_iterator(const RootIt &I, UnaryFunc F)
: current(I), Fn(F) {}
sys::Path dotty(LLVM_PATH_DOTTY);
std::vector<const char*> args;
+ args.push_back(dotty.c_str());
args.push_back(Filename.c_str());
args.push_back(0);