Returns true if |decoration| cannot be applied to the same id more than once.
| 1609 | |
| 1610 | // Returns true if |decoration| cannot be applied to the same id more than once. |
| 1611 | bool AtMostOncePerId(spv::Decoration decoration) { |
| 1612 | return decoration != spv::Decoration::UserSemantic && |
| 1613 | decoration != spv::Decoration::FuncParamAttr; |
| 1614 | } |
| 1615 | |
| 1616 | // Returns true if |decoration| cannot be applied to the same member more than |
| 1617 | // once. |
no outgoing calls
no test coverage detected