commit | ab94bccca64c9b126cbd1b732aa5e681d8639b99 | [log] [tgz] |
---|---|---|
author | Stephen Hines <srhines@google.com> | Thu Jun 11 17:00:04 2015 -0700 |
committer | Stephen Hines <srhines@google.com> | Fri Jun 12 16:11:30 2015 -0700 |
tree | a16a605fae76f95b669a59ba6ba1a040dee65af5 | |
parent | 4d92ce4d09d7d30a59d9cab0a727cf93c3287547 [diff] |
Move the error for pointers in structures earlier in the compile. Bug: 21597073 This fixes an issue where a function argument is not checked for compatibility until the reflected code generation (at which point the message is far more cryptic). We do this by checking parameters for externally-visible functions and externally-visible globals in our ValidateType() routine. Change-Id: I5ab9db1a11ed0e395c7623f1c9997632da057269