rjmccall added a comment.

From the test case, it looks like the builtin just ignores pointer to volatile, 
which should be preserved by the conversions you're now doing in Sema.  That 
is, you should be able to just check 
`Ptr->getType()->castAs<PointerType>()->isVolatile()`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D131979

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to