Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Sep 2017 15:31:12 +0930
From:      Shane Ambler <FreeBSD@ShaneWare.Biz>
To:        blubee blubeeme <gurenchan@gmail.com>, FreeBSD Ports <freebsd-ports@freebsd.org>, FreeBSD current <freebsd-current@freebsd.org>
Subject:   Re: Extra Clang Tools
Message-ID:  <6ec60c86-d1c0-b556-a95a-d9d257c28c7c@ShaneWare.Biz>
In-Reply-To: <CALM2mE=zgJw_YKdUdKM1c=uD3BNuE7zX=DB3aGvpYs79JF537g@mail.gmail.com>
References:  <CALM2mE=zgJw_YKdUdKM1c=uD3BNuE7zX=DB3aGvpYs79JF537g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 16/09/2017 11:59, blubee blubeeme wrote:
> FreeBSD switched to clang as it's compiler some time ago; was clang extra
> tools: http://clang.llvm.org/extra/index.html ever ported over?
> 
> If yes, where is it located?

You will find them included in the llvm ports with EXTRAS enabled

clang-tidy is in llvm 3.8+
clang-include-fixer is in llvm 3.9+
modularize is in llvm 3.8+
pp-trace doesn't appear to exist
clang-rename is in llvm 3.8+
clangd is in llvm-devel (5.0)

Note that llvm ports append the version to the app name - they can be
found in /usr/local/bin and /usr/local/llvm-<VERS>/bin/

Building base WITH_CLANG_EXTRAS offers a different set of extras which
are also in the llvm ports.
As listed in 11-STABLE from /usr/src/usr.bin/clang/Makefile

bugpoint clang-format llc lli llvm-ar llvm-as llvm-bcanalyzer llvm-cov
llvm-cxxdump llvm-cxxfilt llvm-diff llvm-dis llvm-dwarfdump llvm-extract
llvm-link llvm-lto llvm-lto2 llvm-mc llvm-modextract llvm-nm
llvm-pdbdump llvm-profdata llvm-rtdyld llvm-symbolizer llvm-xray opt


-- 
FreeBSD - the place to B...Software Developing

Shane Ambler




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6ec60c86-d1c0-b556-a95a-d9d257c28c7c>