UPSTREAM: kbuild: add clang-version.sh
authorSami Tolvanen <samitolvanen@google.com>
Thu, 30 Nov 2017 23:38:26 +0000 (15:38 -0800)
committerSami Tolvanen <samitolvanen@google.com>
Wed, 25 Apr 2018 23:04:04 +0000 (16:04 -0700)
commit550306ee8a755569c1d0b6ae8f7df560f3559ea6
tree8bf8f23d9efe54044eb5b3182901749cc8d5aae0
parentd354d0d06129444ecf8e6b47e9551581c9565ba8
UPSTREAM: kbuild: add clang-version.sh

Based on gcc-version.sh, clang-version.sh prints out the correct
version of clang.

Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Tested-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Change-Id: I71ccd673392841ea99fbb76a0b41040625ebd307
(cherry picked from commit ae0c553c24c009596c3a3e903433824fe050c547)
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
scripts/clang-version.sh [new file with mode: 0755]