aboutsummaryrefslogtreecommitdiff
path: root/PointerType.h
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2017-03-30 09:10:56 -0700
committerAndreas Huber <andih@google.com>2017-03-31 10:07:44 -0700
commit60d3b22101e911242d2d41c8dc8309e8706f1fe1 (patch)
treefe829955504b8be873f6b4374ed2ce921f18e996 /PointerType.h
parent038903b7f99f27179d1e9411f9181b467ccd7ac1 (diff)
downloadhidl-60d3b22101e911242d2d41c8dc8309e8706f1fe1.tar.gz
More stringently verify expected alignment of fields in hidl compound types.
Change-Id: I222d78163ac5d7cc5af405b0c3d0586ed7528213 Bug: 33846034 Test: make
Diffstat (limited to 'PointerType.h')
-rw-r--r--PointerType.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/PointerType.h b/PointerType.h
index cd0f839d..415ba9fa 100644
--- a/PointerType.h
+++ b/PointerType.h
@@ -49,8 +49,7 @@ struct PointerType : public Type {
bool resultNeedsDeref() const override;
bool isJavaCompatible() const override;
-
- void getAlignmentAndSize(size_t *align, size_t *size) const override;
+ bool containsPointer() const override;
status_t emitVtsTypeDeclarations(Formatter &out) const override;
};