jade
43cf487c25
It is a little bit scuffed, but it seems to produce correct results. We
can run it at a later date when we want to explode every in-flight
commit in existence and then need to filter-branch them.
Fixes: lix-project/lix#188
Change-Id: Id97e4651f78804a941d941df02c7c1b21ce453b6
22 lines
517 B
C++
22 lines
517 B
C++
#pragma once
|
|
///@file
|
|
|
|
#include <clang-tidy/ClangTidyCheck.h>
|
|
#include <clang/ASTMatchers/ASTMatchFinder.h>
|
|
#include <llvm/ADT/StringRef.h>
|
|
|
|
namespace nix::clang_tidy {
|
|
|
|
using namespace clang;
|
|
using namespace clang::tidy;
|
|
|
|
class FixIncludesCheck : public ClangTidyCheck {
|
|
public:
|
|
FixIncludesCheck(StringRef Name, ClangTidyContext *Context)
|
|
: ClangTidyCheck(Name, Context) {}
|
|
|
|
void registerPPCallbacks(const SourceManager &SM, Preprocessor *PP, Preprocessor *ModuleExpanderPP) override;
|
|
};
|
|
|
|
};
|