commit | 1575356d79e669ccb5c68a719dc4f4e5300dd4e3 | [log] [tgz] |
---|---|---|
author | Sven van Haastregt <sven.vanhaastregt@arm.com> | Fri Apr 09 11:54:15 2021 +0100 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Apr 12 11:13:26 2021 -0700 |
tree | e847d1d2d456740f76c436e450e0ee6881c668cd | |
parent | cc6968120b34749ff3aba5aff7d23df2eb550251 [diff] |
[OpenCL] Simplify InsertOCLBuiltinDeclarationsFromTable - Use a range-based for loop. This will help a later patch to skip prototypes that use an unavailable return type or argument type. - Replace a dyn_cast with a cast, as we are only dealing with FunctionProtoType Types here. GitOrigin-RevId: af67deb005cae4e87109d8ad534446b300351483