commit | f5b882cc561f656eb650d0fa6db7bac57989ab12 | [log] [tgz] |
---|---|---|
author | Matt Wala <wala@google.com> | Mon Jun 15 17:45:45 2015 -0700 |
committer | Matt Wala <wala@google.com> | Mon Jun 15 17:45:45 2015 -0700 |
tree | 266165799511e7b3aa7b5728c7f99bb3458430fd | |
parent | 5d2a6099f03ac4f347d6bb3b3fc52ce957f83e9e [diff] |
Move kernel/static incompatibility check into AST validator. The predicate RSExportForEach::isRSForEachFunc() was checking and reporting an error if kernel attributes were paired with static function declarations, which is an error in RenderScript. It makes more sense to do the check in the AST validator. That way the work of the predicate function doesn't involve validation. Change-Id: I8a956f5e4ad72845ed759f9088cf8e3d543d2a0a