I read about tool called "include-what-you-use" which can help clean superfluous includes from source code. I understood that there is a version for compiler LLVM(clang) and version for GCC.
My questions are:
- Why this tool is compiler-dependent and not "cross-platform" for compilers. Why from the beginning the creators of the tool didn't make it compiler-independent? Is it related to the special implementation it has or something like that?
- If I want to take a version of the tool compatible for LLVM and I want to make it compatible with GCC (since I'm working with GCC), what do I have to do for that?