IDL compiler: Support multi-layered extended attributes
Adds IdlType.effective_annotations, which supports multi-layered extended attributes. For example, given the following IDL fragments, typedef [ExtAttr1] long NewLong; void f([ExtAttr2] NewLong arg); arg.idl_type.effective_annotations returns [ExtAttr1, ExtAttr2] while arg.idl_type.extended_attributes returns [ExtAttr1] only. c.f. https://crbug.com/1058762 Bug: 839389 Change-Id: I49cdd82dfa0b8c3468610ffce6458eec963d9148 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2096408Reviewed-by:Hitoshi Yoshida <peria@chromium.org> Commit-Queue: Yuki Shiino <yukishiino@chromium.org> Cr-Commit-Position: refs/heads/master@{#749556}
Showing
This diff is collapsed.
Please register or sign in to comment