#include "SetLongJmpCheck.h"
#include "clang/AST/ASTContext.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/Frontend/CompilerInstance.h"
#include "clang/Lex/PPCallbacks.h"
#include "clang/Lex/Preprocessor.h"
usingnamespaceclang::ast_matchers;
namespace clang::tidy::cert {
namespace {
const char DiagWording[] = …;
class SetJmpMacroCallbacks : public PPCallbacks { … };
}
void SetLongJmpCheck::registerPPCallbacks(const SourceManager &SM,
Preprocessor *PP,
Preprocessor *ModuleExpanderPP) { … }
void SetLongJmpCheck::registerMatchers(MatchFinder *Finder) { … }
void SetLongJmpCheck::check(const MatchFinder::MatchResult &Result) { … }
}