Anastasia added a comment.

In D100980#2719196 <https://reviews.llvm.org/D100980#2719196>, @azabaznov wrote:

>> When the pragma is parsed we can't know why it is in the code to be able to 
>> issue any warning.
>
> I mean diagnose once when, for example in your particular case, double type 
> is parsed.  Does it require much effort? I think this warning might be useful 
> for developers who already rely on pragma usage in their kernels.

I am not sure I understand your suggestion. Could you show an example perhaps?


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

https://reviews.llvm.org/D100980

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

Reply via email to