jdoerfert added a comment.

I don't understand the concerns. A array to ptr decay, by itself, does not 
capture the pointer such that multiple threads can access it. You need to check 
the uses of the decay and decide based on them. Thus, I think this is fine.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D148805

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
  • [PATCH] D148805: [C... Gheorghe-Teodor Bercea via Phabricator via cfe-commits
    • [PATCH] D14880... Alexey Bataev via Phabricator via cfe-commits
    • [PATCH] D14880... Gheorghe-Teodor Bercea via Phabricator via cfe-commits
    • [PATCH] D14880... Johannes Doerfert via Phabricator via cfe-commits

Reply via email to