1 # This file is licensed under the Apache License v2.0 with LLVM Exceptions.
2 # See https://llvm.org/LICENSE.txt for license information.
3 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
5 load("@rules_cc//cc:defs.bzl", "cc_test")
8 default_visibility = ["//visibility:public"],
9 features = ["layering_check"],
15 name = "clang_tidy_test",
24 includes = ["clang-tidy/include"],
27 "//clang:ast_matchers",
31 "//clang:serialization",
34 "//clang:tooling_core",
35 "//clang:transformer",
36 "//clang-tools-extra/clang-tidy:android",
37 "//clang-tools-extra/clang-tidy:google",
38 "//clang-tools-extra/clang-tidy:lib",
39 "//clang-tools-extra/clang-tidy:llvm",
40 "//clang-tools-extra/clang-tidy:misc",
41 "//clang-tools-extra/clang-tidy:modernize",
42 "//clang-tools-extra/clang-tidy:objc",
43 "//clang-tools-extra/clang-tidy:performance",
44 "//clang-tools-extra/clang-tidy:readability",
45 "//clang-tools-extra/clang-tidy:tool",
46 "//clang-tools-extra/clang-tidy:utils",
47 "//llvm:FrontendOpenMP",
49 "//llvm:TestingAnnotations",
50 "//llvm:TestingSupport",
51 "//third-party/unittest:gmock",
52 "//third-party/unittest:gtest",
53 "//third-party/unittest:gtest_main",
58 name = "clang_doc_test",
70 "//clang-tools-extra/clang-doc:lib",
71 "//llvm:BitstreamReader",
72 "//llvm:BitstreamWriter",
73 "//third-party/unittest:gtest",
74 "//third-party/unittest:gtest_main",