llvm/clang-tools-extra/clang-tidy/performance/NoAutomaticMoveCheck.cpp

//===--- NoAutomaticMoveCheck.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 "NoAutomaticMoveCheck.h"
#include "../utils/Matchers.h"
#include "../utils/OptionsUtils.h"
#include "clang/AST/ASTContext.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"

usingnamespaceclang::ast_matchers;

namespace clang::tidy::performance {

namespace {

AST_MATCHER(VarDecl, isNRVOVariable) {}

} // namespace

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

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

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

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

} // namespace clang::tidy::performance