summaryrefslogtreecommitdiff
path: root/node/BaseNode.hh
diff options
context:
space:
mode:
authorNagi5Yeq <wu@x-nagi.com>2020-05-13 00:40:23 +0800
committerNagi5Yeq <wu@x-nagi.com>2020-05-13 00:40:23 +0800
commitc7d52437db42232d98e585a52ed2fdf75eb7f1af (patch)
tree46f6c75f49de6c53937b53266fcf153cc0f8c510 /node/BaseNode.hh
parent61d670dda6f95aa414b4ea4a7dcaba25890b9e6b (diff)
code refactoring
Diffstat (limited to 'node/BaseNode.hh')
-rw-r--r--node/BaseNode.hh7
1 files changed, 3 insertions, 4 deletions
diff --git a/node/BaseNode.hh b/node/BaseNode.hh
index ae0ccea..60e25bd 100644
--- a/node/BaseNode.hh
+++ b/node/BaseNode.hh
@@ -1,12 +1,11 @@
-#ifndef PCC_BASE_H
-#define PCC_BASE_H
+#ifndef PCC_BASENODE_H
+#define PCC_BASENODE_H
#include <llvm/IR/Value.h>
-#include "Driver.hh"
-
namespace pcc {
using Value = llvm::Value*;
+class Driver;
class BaseNode {
public: