summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-11-29 19:55:02 +0000
committerChris Lattner <sabre@nondot.org>2003-11-29 19:55:02 +0000
commitd2aa7b8ee7fb751c42a6f89096043e1ac24c49f2 (patch)
tree6f0cf257df69077a6fbd7b7085fdd30e678e380f
parent9e6f686559b186982d8f4af0e3a78b3f8f79ab3b (diff)
downloadllvm-d2aa7b8ee7fb751c42a6f89096043e1ac24c49f2.tar.gz
llvm-d2aa7b8ee7fb751c42a6f89096043e1ac24c49f2.tar.bz2
llvm-d2aa7b8ee7fb751c42a6f89096043e1ac24c49f2.tar.xz
Hrm, how could this compile?
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10263 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/Support/Tree.h2
-rw-r--r--include/llvm/ADT/Tree.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/Support/Tree.h b/include/Support/Tree.h
index bc5495f25a..48ecf5b06d 100644
--- a/include/Support/Tree.h
+++ b/include/Support/Tree.h
@@ -36,7 +36,7 @@ public:
inline Tree(const std::vector<ConcreteTreeNode*> &children,
ConcreteTreeNode *par, const Payload &data)
- : Children(children), Parent(parent), Data(data) {}
+ : Children(children), Parent(par), Data(data) {}
// Tree dtor - Free all children
inline ~Tree() {
diff --git a/include/llvm/ADT/Tree.h b/include/llvm/ADT/Tree.h
index bc5495f25a..48ecf5b06d 100644
--- a/include/llvm/ADT/Tree.h
+++ b/include/llvm/ADT/Tree.h
@@ -36,7 +36,7 @@ public:
inline Tree(const std::vector<ConcreteTreeNode*> &children,
ConcreteTreeNode *par, const Payload &data)
- : Children(children), Parent(parent), Data(data) {}
+ : Children(children), Parent(par), Data(data) {}
// Tree dtor - Free all children
inline ~Tree() {