[PATCH] D74387: [SYCL] Do not diagnose use of __float128

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 11 08:36:06 PST 2020


rjmccall added a comment.

The right approach here is probably what we do in ObjC ARC when we see types that are illegal in ARC: in system headers, we allow the code but add a special `UnavailableAttr` to the declaration so that it can't be directly used.

That is straightforward enough that I think you should just do it instead of leaving this as technical debt.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D74387/new/

https://reviews.llvm.org/D74387





More information about the cfe-commits mailing list