forked from OSchip/llvm-project
This is a patch to fix a compile error in STLExtras.h, and
a bug in GraphWriter.cpp. Patch by Florian Brandner llvm-svn: 36684
This commit is contained in:
parent
847f31ec25
commit
357882d27c
|
@ -71,7 +71,7 @@ public:
|
|||
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) {}
|
||||
|
|
|
@ -70,6 +70,7 @@ void llvm::DisplayGraph(const sys::Path &Filename) {
|
|||
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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue