Olivier Deprez | f4ef2d0 | 2021-04-20 13:36:24 +0200 | [diff] [blame] | 1 | //===--- tools/extra/clang-tidy/ClangTidyMain.h - 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 declares the main function for the clang-tidy tool. |
| 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 | namespace clang { |
| 18 | namespace tidy { |
| 19 | |
| 20 | int clangTidyMain(int argc, const char **argv); |
| 21 | |
| 22 | } // namespace tidy |
| 23 | } // namespace clang |