llvm/clang-tools-extra/clang-tidy/bugprone/SignedCharMisuseCheck.cpp

//===--- SignedCharMisuseCheck.cpp - clang-tidy ---------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "SignedCharMisuseCheck.h"
#include "../utils/OptionsUtils.h"
#include "clang/AST/ASTContext.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"

usingnamespaceclang::ast_matchers;
usingnamespaceclang::ast_matchers::internal;

namespace clang::tidy::bugprone {

static constexpr int UnsignedASCIIUpperBound =;

SignedCharMisuseCheck::SignedCharMisuseCheck(StringRef Name,
                                             ClangTidyContext *Context)
    :{}

void SignedCharMisuseCheck::storeOptions(ClangTidyOptions::OptionMap &Opts) {}

// Create a matcher for char -> integer cast.
BindableMatcher<clang::Stmt> SignedCharMisuseCheck::charCastExpression(
    bool IsSigned, const Matcher<clang::QualType> &IntegerType,
    const std::string &CastBindName) const {}

void SignedCharMisuseCheck::registerMatchers(MatchFinder *Finder) {}

void SignedCharMisuseCheck::check(const MatchFinder::MatchResult &Result) {}

} // namespace clang::tidy::bugprone