xref: /llvm-project/clang-tools-extra/clang-tidy/tool/ClangTidyToolMain.cpp (revision 3f8b100e94b5c848843fa91c9782d9d4df4bb026)
1 //===--- tools/extra/clang-tidy/ClangTidyToolMain.cpp - Clang tidy tool ---===//
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-exception
6 //
7 //===----------------------------------------------------------------------===//
8 ///
9 ///  \file This file contains clang-tidy tool entry point main function.
10 ///
11 ///  This tool uses the Clang Tooling infrastructure, see
12 ///    http://clang.llvm.org/docs/HowToSetupToolingForLLVM.html
13 ///  for details on setting it up with LLVM source tree.
14 ///
15 //===----------------------------------------------------------------------===//
16 
17 #include "ClangTidyMain.h"
18 
main(int argc,const char ** argv)19 int main(int argc, const char **argv) {
20   return clang::tidy::clangTidyMain(argc, argv);
21 }
22