One of the new features of the clang-3.4 distribution is the tool clang-format: http://llvm.org/releases/3.4/tools/clang/docs/ReleaseNotes.html#clang-format It resides in the tools-subdirectory of the clang-tree and seems to be enabled by default in the CMakeLists-flags. In the Gentoo-ebuild, only the static-analyzer macros may be extracted when the corresponding USE-flag is set, but all other clang-tools in that directory appear to be silently ignored (unless I am missing something). It would be nice to also have an USE-flag to enable installation of all tools (I'd guess they will grow in the future, so adding separate flags for each will probably bloat). Reproducible: Always
Duplicate of bug #497428 maybe?
(In reply to Lars Wendler (Polynomial-C) from comment #1) > Duplicate of bug #497428 maybe? #497428 is dealing with the (separately distributed) clang-extra-tools (such as clang-modernize ) which are by now installed by sys-devel/llvm-3.4 . The clang-core-tools (such as clang-format ) distributed with the main clang package are not installed yet (apart from the static analyzer). I tried to differentiate this bug from #497428 via the "Non-extra" in the bug-title, but apparently I failed miserably ;-).
It seems that I have mistakenly broken their install in -3.3-r2. Will prepare a fix before 3.4 gets unmasked.
+ 10 Jan 2014; Michał Górny <mgorny@gentoo.org> llvm-3.4.ebuild, + llvm-9999.ebuild: + Restore building clang-check and clang-format, bug #497620. But I've tested -9999 only :). Not sure if there's a point backporting it to 3.3-r3. We'd have to revbump it to make this effective, and we can instead unmask 3.4 soon enough to save users one more rebuild.
(In reply to Michał Górny from comment #4) > + 10 Jan 2014; Michał Górny <mgorny@gentoo.org> llvm-3.4.ebuild, > + llvm-9999.ebuild: > + Restore building clang-check and clang-format, bug #497620. > > But I've tested -9999 only :). I just rebuilt llvm-3.4 and (as expected) your fix also works, thanks! I don't think there is really a point backporting this to 3.3-r3 but rather save the unnecessary rebuild and instead unmask 3.4 soon: I guess most users aren't even aware of the core tools / would not want to rebuild full llvm just to get them now.
Also /usr/bin/clang-check is not installed after updating from llvm-3.3-r1 to llvm-3.3-r3.
(assuming this is fixed in 3.4.1-r1)