xaizek / self-inc-first (License: GPLv2+) (since 2018-12-07)
Clang-based standalone tool that checks for first included file being self include.
Commit ac9a1cfdae3d276da6073594d29f791b0a4a2750

Fix compilation with up-to-date Clang
Author: xaizek
Author date (UTC): 2014-07-22 21:11
Committer name: xaizek
Committer date (UTC): 2014-07-22 21:11
Parent(s): b49e7b4d07a78b2674db81d074bcd0c4d37283fd
Signing key:
Tree: 9a032b5425621bb2f9c8fe07a6cb9b3d1c64749c
File Lines added Lines deleted
src/self-inc-first.cpp 1 1
File src/self-inc-first.cpp changed (mode: 100644) (index aa8b496..4dbc15f)
... ... main(int argc, const char *argv[])
51 51 } diagConsumer; } diagConsumer;
52 52 tool.setDiagnosticConsumer(&diagConsumer); tool.setDiagnosticConsumer(&diagConsumer);
53 53
54 return tool.run(newFrontendActionFactory<IncludeFinderAction>());
54 return tool.run(newFrontendActionFactory<IncludeFinderAction>().get());
55 55 } }
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/self-inc-first

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/self-inc-first

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master