self-inc-first

Clang-based standalone tool that checks for first included file being self include.

GPL-2.0 License

Stars
8

Brief description

Clang-based standalone tool that checks for first included file being self include.

Building

  1. Clone the repository to llvm/tools/clang/tools/extra.
  2. Add add_subdirectory(self-inc-first) to CMakeLists.txt in the same
    directory.
  3. Run ninja self-inc-first inside your LLVM's build/ directory.