mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-11 11:34:02 +00:00
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
This commit is contained in:
parent
b2ef40c36f
commit
82493289e0
@ -71,7 +71,7 @@ public:
|
|||||||
typedef RootIt iterator_type;
|
typedef RootIt iterator_type;
|
||||||
typedef mapped_iterator<RootIt, UnaryFunc> _Self;
|
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)
|
inline explicit mapped_iterator(const RootIt &I, UnaryFunc F)
|
||||||
: current(I), Fn(F) {}
|
: current(I), Fn(F) {}
|
||||||
|
@ -70,6 +70,7 @@ void llvm::DisplayGraph(const sys::Path &Filename) {
|
|||||||
sys::Path dotty(LLVM_PATH_DOTTY);
|
sys::Path dotty(LLVM_PATH_DOTTY);
|
||||||
|
|
||||||
std::vector<const char*> args;
|
std::vector<const char*> args;
|
||||||
|
args.push_back(dotty.c_str());
|
||||||
args.push_back(Filename.c_str());
|
args.push_back(Filename.c_str());
|
||||||
args.push_back(0);
|
args.push_back(0);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user