DeClang icon indicating copy to clipboard operation
DeClang copied to clipboard

The -v option needs to be a version of DeClang itself.

Open tkmru opened this issue 2 years ago • 0 comments

https://github.com/DeNA/DeClang/issues/23 に関連したissueです。 DeClangのバージョンアップに追従していこうと思うと、使っているDeClang自体のバージョン(ex. swift5.5-v1.0.0)を確認できる必要があります。-vでClangのバージョンだけではなく、DeClang自体のバージョンも出るとうれしいです。

$ ./clang -v
clang version 11.1.0 (https://github.com/DeNA/DeClang ec211549de54a69d8a1b877b4dcdb16b81fb9d75)
Target: x86_64-apple-darwin20.6.0
Thread model: posix
InstalledDir: /Users/tkmru/.DeClang/compiler/bin/.
clang: warning: argument unused during compilation: '-D DECLANG' [-Wunused-command-line-argument]

tkmru avatar Aug 17 '22 03:08 tkmru