[PATCH] D60193: [OpenCL] Added addrspace_cast operator

Anastasia Stulova via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 6 14:44:41 PDT 2020


Anastasia added a comment.

In D60193#1549806 <https://reviews.llvm.org/D60193#1549806>, @mantognini wrote:

> When compiling this I get the following warning:
>
>   clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:1213:10: warning: enumeration value 'CXXAddrspaceCastExprClass' not handled in switch
>
>
> The fix is probably to just add the missing case with the other `*CastExprClass` cases.
>
> There's also a similar warning for `clang/tools/libclang/CXCursor.cpp:132`.


I had to add some more bits to CIndex to make it work!


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

https://reviews.llvm.org/D60193





More information about the cfe-commits mailing list