commit | bb797e4ba03e95cd0b20aa77b83717dcf8cc6287 | [log] [tgz] |
---|---|---|
author | Andreas Huber <andih@google.com> | Wed Aug 03 12:53:02 2016 -0700 |
committer | Iliyan Malchev <malchev@google.com> | Sat Aug 06 09:02:59 2016 -0700 |
tree | eaee4876fc97186e6f44a7a3fed495f3813a6041 | |
parent | 5a545440766886a1bbd09ed7221bb337705e5d14 [diff] [blame] |
properly deref RefType and TypeDef to find boolean attributes of a Type.
diff --git a/TypeDef.cpp b/TypeDef.cpp index 36ced54..1d50e6e 100644 --- a/TypeDef.cpp +++ b/TypeDef.cpp
@@ -58,5 +58,13 @@ offsetText); } +bool TypeDef::needsEmbeddedReadWrite() const { + return mReferencedType->needsEmbeddedReadWrite(); +} + +bool TypeDef::resultNeedsDeref() const { + return mReferencedType->resultNeedsDeref(); +} + } // namespace android