#include "UseRangesCheck.h"
#include "clang/AST/Decl.h"
#include "clang/Basic/Diagnostic.h"
#include "clang/Basic/LLVM.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/IntrusiveRefCntPtr.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
#include <initializer_list>
#include <optional>
#include <string>
namespace clang::tidy::boost {
namespace {
class BoostReplacer : public UseRangesCheck::Replacer { … };
class BoostRangeAlgorithmReplacer : public BoostReplacer { … };
class CustomBoostAlgorithmHeaderReplacer : public BoostRangeAlgorithmReplacer { … };
class BoostAlgorithmReplacer : public BoostReplacer { … };
class CustomBoostAlgorithmReplacer : public BoostReplacer { … };
class MakeOverloadReplacer : public UseRangesCheck::Replacer { … };
class FixedBoostReplace : public BoostReplacer { … };
}
utils::UseRangesCheck::ReplacerMap UseRangesCheck::getReplacerMap() const { … }
UseRangesCheck::UseRangesCheck(StringRef Name, ClangTidyContext *Context)
: … { … }
void UseRangesCheck::storeOptions(ClangTidyOptions::OptionMap &Opts) { … }
DiagnosticBuilder UseRangesCheck::createDiag(const CallExpr &Call) { … }
ArrayRef<std::pair<StringRef, StringRef>>
UseRangesCheck::getFreeBeginEndMethods() const { … }
std::optional<UseRangesCheck::ReverseIteratorDescriptor>
UseRangesCheck::getReverseDescriptor() const { … }
}