summaryrefslogtreecommitdiff
path: root/tools/aidl/macros.h
diff options
context:
space:
mode:
authorCasey Dahlin <sadmac@google.com>2015-09-09 17:59:06 -0700
committerCasey Dahlin <sadmac@google.com>2015-09-10 16:55:18 -0700
commit9941dcc7aadcc15f7a52b4a76af4025f33b7f45f (patch)
tree5168601a1e15decce5627da1c5ba001a922f84bd /tools/aidl/macros.h
parent596fd38af207727d508a63fca39506c90ba29c44 (diff)
First pass on reentrant C++-ish parser
We're flipping Flex/Bison in to reentrant mode, cutting down on global variables, and exposing a more C++-like interface earlier. This is the first phase. There's still a couple of weird hacks to deal with the previous code's reckless disregard for scope sanity, but the outline of things to come is starting to appear, and this CL really doesn't need to get any bigger. Change-Id: Ife2d70db026d7ab1319bdf6c586959315666d0bb Signed-off-by: Casey Dahlin <sadmac@google.com>
Diffstat (limited to 'tools/aidl/macros.h')
-rw-r--r--tools/aidl/macros.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/aidl/macros.h b/tools/aidl/macros.h
new file mode 100644
index 000000000000..67b8076404a4
--- /dev/null
+++ b/tools/aidl/macros.h
@@ -0,0 +1,8 @@
+#ifndef AIDL_MACROS_H_
+#define AIDL_MACROS_H_
+
+#define DISALLOW_COPY_AND_ASSIGN(TypeName) \
+ TypeName(const TypeName&); \
+ void operator=(const TypeName&)
+
+#endif // AIDL_MACROS_H_