commit | 70a59e1dc3dcf32f791d2dd7966111d4adf32eca | [log] [tgz] |
---|---|---|
author | Andreas Huber <andih@google.com> | Tue Aug 16 12:57:01 2016 -0700 |
committer | Andreas Huber <andih@google.com> | Tue Aug 16 13:02:13 2016 -0700 |
tree | 72dc0677ff37d23f4a7ec6290c03c6f9ffbd2aa2 | |
parent | c7dfef3fda2061dcaeeb144c10eef3cf7360b03c [diff] [blame] |
Validate upfront that an interface is compatible with our Java backend, emit diagnostics if it is not. Also cleans up all other error messages to clearly indicate an error condition. Bug: 30876839 Change-Id: I18bcd723107ab93abcad38c976f3c38dda60a743
diff --git a/Type.cpp b/Type.cpp index 59439c3..296aba8 100644 --- a/Type.cpp +++ b/Type.cpp
@@ -263,5 +263,9 @@ return emitVtsTypeDeclarations(out); } +bool Type::isJavaCompatible() const { + return true; +} + } // namespace android