lebedev.ri added a comment.

While not directly related to this Differential, i wonder if it would make 
sense to also not warn on calls to (especially non-member) functions marked 
with `__attribute__((const))`, maybe `__attribute__((pure))` too.
At least i'm not sure what side-effects such calls may have..


Repository:
  rL LLVM

https://reviews.llvm.org/D33827



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

Reply via email to