xaizek / unused-funcs (License: GPLv2+) (since 2018-12-07)
Clang-based standalone tool that detects unused external functions in a set of source files.
Commit e4d4ee7ecedea4b4d7ef90aa36fc4e70a1fa516e

Fix includes in Finder.hpp
Author: xaizek
Author date (UTC): 2014-04-06 20:43
Committer name: xaizek
Committer date (UTC): 2014-04-06 20:43
Parent(s): aea6460b1bcb7557e52048ded971ddb94fda1d67
Signing key:
Tree: 4064f84f1981d42e8a0ec05af366d2511df17fc5
File Lines added Lines deleted
src/Finder.cpp 1 0
src/Finder.hpp 7 1
src/unused-funcs.cpp 2 0
File src/Finder.cpp changed (mode: 100644) (index 5a6363b..aa790ec)
27 27 #include <clang/AST/Decl.h> #include <clang/AST/Decl.h>
28 28
29 29 #include <clang/ASTMatchers/ASTMatchFinder.h> #include <clang/ASTMatchers/ASTMatchFinder.h>
30 #include <clang/ASTMatchers/ASTMatchers.h>
30 31
31 32 #include "FuncInfo.hpp" #include "FuncInfo.hpp"
32 33
File src/Finder.hpp changed (mode: 100644) (index 6a3e3ee..818187d)
23 23
24 24 #include <memory> #include <memory>
25 25
26 #include <clang/ASTMatchers/ASTMatchFinder.h>
26 namespace clang
27 {
28 namespace ast_matchers
29 {
30 class MatchFinder;
31 }
32 }
27 33
28 34 class Finder class Finder
29 35 { {
File src/unused-funcs.cpp changed (mode: 100644) (index 1d2728c..b31b2be)
22 22
23 23 #include <clang/Basic/Diagnostic.h> #include <clang/Basic/Diagnostic.h>
24 24
25 #include <clang/ASTMatchers/ASTMatchFinder.h>
26
25 27 #include <clang/Tooling/CommonOptionsParser.h> #include <clang/Tooling/CommonOptionsParser.h>
26 28 #include <clang/Tooling/Tooling.h> #include <clang/Tooling/Tooling.h>
27 29
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/unused-funcs

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

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