[PATCH] D50278: [Sema] Fix for crash on conditional operation with address_space pointer
John McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 6 13:18:08 PDT 2018
rjmccall added inline comments.
================
Comment at: test/Sema/conditional-expr.c:78
+ // expected-error at -1{{converting '__attribute__((address_space(2))) int *' to type 'void *' changes address space of pointer}}
+ // expected-error at -2{{converting '__attribute__((address_space(3))) int *' to type 'void *' changes address space of pointer}}
----------------
Also, these diagnostics seem wrong. Where is `void *` coming from?
Repository:
rC Clang
https://reviews.llvm.org/D50278
More information about the cfe-commits
mailing list