123456789101112131415161718192021 |
- //===--- tools/extra/clang-tidy/ClangTidyToolMain.cpp - Clang tidy tool ---===//
- //
- // 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
- //
- //===----------------------------------------------------------------------===//
- ///
- /// \file This file contains clang-tidy tool entry point main function.
- ///
- /// This tool uses the Clang Tooling infrastructure, see
- /// http://clang.llvm.org/docs/HowToSetupToolingForLLVM.html
- /// for details on setting it up with LLVM source tree.
- ///
- //===----------------------------------------------------------------------===//
- #include "ClangTidyMain.h"
- int main(int argc, const char **argv) {
- return clang::tidy::clangTidyMain(argc, argv);
- }
|