c2hal: Emit camelCase and PascalCase things.
Test: built, verified test headers output. Made sure it still worked on
opengl/telephony/libhardware headers.
Change-Id: Iabeb0e912dc7df6b2eae76b962531a30c83593bf
diff --git a/c2hal/TypeDef.cpp b/c2hal/TypeDef.cpp
index 529bf99..2799f26 100644
--- a/c2hal/TypeDef.cpp
+++ b/c2hal/TypeDef.cpp
@@ -20,7 +20,9 @@
TypeDef::TypeDef(const std::string &name, Declaration* declaration)
: Declaration(name), mDeclaration(declaration)
- {}
+ {
+ mDeclaration->forcePascalCase();
+ }
TypeDef::~TypeDef() {}