azabaznov added a comment.

> 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.


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