#include "UncheckedOptionalAccessCheck.h"
#include "clang/AST/ASTContext.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/ASTMatchers/ASTMatchers.h"
#include "clang/Analysis/FlowSensitive/DataflowAnalysis.h"
#include "clang/Analysis/FlowSensitive/Models/UncheckedOptionalAccessModel.h"
#include "clang/Basic/SourceLocation.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/Support/Error.h"
namespace clang::tidy::bugprone {
MatchFinder;
UncheckedOptionalAccessDiagnoser;
UncheckedOptionalAccessModel;
static constexpr llvm::StringLiteral FuncID("fun");
void UncheckedOptionalAccessCheck::registerMatchers(MatchFinder *Finder) { … }
void UncheckedOptionalAccessCheck::check(
const MatchFinder::MatchResult &Result) { … }
}