Add FmqType to templatize MQDescriptor
Also removed PredefinedType and renamed MQDescriptorSync to
fmq_sync and MQDescriptorUnsync to fmq_unsync.
Test: FMQ unit tests.
Bug: 33948735
Merged-In: I7f2802b76000a1e1a55d02381cca202530a0cd18
Change-Id: I7f2802b76000a1e1a55d02381cca202530a0cd18
diff --git a/hidl-gen_y.yy b/hidl-gen_y.yy
index 75843c5..4548b68 100644
--- a/hidl-gen_y.yy
+++ b/hidl-gen_y.yy
@@ -90,7 +90,7 @@
"int8_t", "int16_t", "int32_t", "int64_t", "bool", "float", "double",
"interface", "struct", "union", "string", "vec", "enum", "ref", "handle",
"package", "import", "typedef", "generates", "oneway", "extends",
- "MQDescriptorSync", "MQDescriptorUnsync",
+ "fmq_sync", "fmq_unsync",
});
static const std::vector<std::string> cppKeywords({
"alignas", "alignof", "and", "and_eq", "asm", "atomic_cancel", "atomic_commit",