27 lines · c
1//===----------------------------------------------------------------------===//2//3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.4// See https://llvm.org/LICENSE.txt for license information.5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception6//7//===----------------------------------------------------------------------===//8///9/// \file This file declares the main function for the clang-tidy tool.10///11/// This tool uses the Clang Tooling infrastructure, see12/// https://clang.llvm.org/docs/HowToSetupToolingForLLVM.html13/// for details on setting it up with LLVM source tree.14///15//===----------------------------------------------------------------------===//16 17#ifndef LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_TOOL_CLANGTIDYMAIN_H18#define LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_TOOL_CLANGTIDYMAIN_H19 20namespace clang::tidy {21 22int clangTidyMain(int argc, const char **argv);23 24} // namespace clang::tidy25 26#endif // LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_TOOL_CLANGTIDYMAIN_H27