Link include-fixer into libclang if clang-tools-extra is checked out.
authorBenjamin Kramer <benny.kra@googlemail.com>
Thu, 17 Nov 2016 15:22:36 +0000 (15:22 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Thu, 17 Nov 2016 15:22:36 +0000 (15:22 +0000)
commit9eba7354bb516effd6e151ef0b6867001137bb15
tree3a78177c55ed153fa8647cf67528a2ed44301c5e
parentcd2494e93f9637069e84c61e9c9c5518eac54f9a
Link include-fixer into libclang if clang-tools-extra is checked out.

include-fixer only slightly bloats the size of libclang, but since
libclang has no explicit plugin mechanism it's the only way of getting
this to work. Clang-tidy is already there and so far there weren't many
complaints ;)

This is designed to be easy to remove again if libclang ever grows
proper plugin support.

llvm-svn: 287229
clang/tools/libclang/CIndex.cpp
clang/tools/libclang/CMakeLists.txt