[cfe-dev] How to dump clang version

Devchandra L Meetei dlmeetei at gmail.com
Thu Jul 19 00:46:18 PDT 2012


is there way to dump the version of clang something like
gcc -dumpversion.

clang -v gives lot more information
[deleisha at deleisha CertificateProvider]$ clang -v
clang version 3.0 (tags/RELEASE_30/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
[deleisha at deleisha CertificateProvider]$

i m interested to get only 3.0 without any further processing.

--Dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120719/8a1f6d4d/attachment.html>


More information about the cfe-dev mailing list