rnk added a comment.

In D64062#1581662 <https://reviews.llvm.org/D64062#1581662>, @sylvestre.ledru 
wrote:

> In D64062#1581290 <https://reviews.llvm.org/D64062#1581290>, @rnk wrote:
>
> > Perhaps we should just remove `__VERSION__` and keep `-dumpversion`.
>
>
> As you wish. clang --version seems an alternative and dumpversion never 
> //worked// for clang. so, I don't expect software to use it for clang.


That's true, but users seem to want some programmatic way to extract the 
compiler version number without having to resort to sed & co, and we don't 
provide that right now. `-dumpversion` can easily be the name for that feature.


Repository:
  rC Clang

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

https://reviews.llvm.org/D64062



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

Reply via email to