Home
last modified time | relevance | path

Searched refs:tidy (Results 1 – 25 of 300) sorted by relevance

12345678910>>...12

/external/openthread/script/
Dclang-tidy40 if command -v clang-tidy-14 >/dev/null; then
41 clang_tidy=$(command -v clang-tidy-14)
42 elif command -v clang-tidy >/dev/null; then
43 clang_tidy=$(command -v clang-tidy)
72 if command -v run-clang-tidy-14.py >/dev/null; then
73 run_clang_tidy=$(command -v run-clang-tidy-14.py)
74 elif command -v run-clang-tidy-14 >/dev/null; then
75 run_clang_tidy=$(command -v run-clang-tidy-14)
76 elif command -v run-clang-tidy.py >/dev/null; then
77 run_clang_tidy=$(command -v run-clang-tidy.py)
[all …]
Dmake-pretty175 (mkdir -p ./build/cmake-tidy \
176 && cd ./build/cmake-tidy \
178 && ../../script/clang-tidy -j"$OT_BUILD_JOBS" "${OT_CLANG_TIDY_FIX_DIRS[@]}" -fix)
187 (mkdir -p ./build/cmake-tidy \
188 && cd ./build/cmake-tidy \
190 && ../../script/clang-tidy -j"$OT_BUILD_JOBS" "${OT_CLANG_TIDY_FIX_DIRS[@]}")
/external/cronet/stable/third_party/libc++/src/test/tools/clang_tidy_checks/
DCMakeLists.txt7 # Since the Clang C++ ABI is not stable the Clang libraries and clang-tidy
9 # led to crashes and incorrect output of the clang-tidy based checks.
12 message(STATUS "Clang-tidy tests are disabled since the "
17 message(STATUS "Clang-tidy tests are disabled since the "
30 # which results in clang-tidy crashing
51 #if !__has_include(\"clang-tidy/ClangTidyCheck.h\")
52 # error No clang-tidy headers
62 message(STATUS "Clang-tidy tests are disabled since the "
63 "clang-tidy headers are not present.")
84 message(STATUS "Clang-tidy tests are disabled due to using "
[all …]
Dlibcpp_module.cpp22 class LibcxxTestModule : public clang::tidy::ClangTidyModule {
24 void addCheckFactories(clang::tidy::ClangTidyCheckFactories& check_factories) override { in addCheckFactories()
37 clang::tidy::ClangTidyModuleRegistry::Add<LibcxxTestModule> libcpp_module{
Dproper_version_checks.cpp19 …proper_version_checks_callbacks(clang::Preprocessor& preprocessor, clang::tidy::ClangTidyCheck& ch… in proper_version_checks_callbacks()
60 clang::tidy::ClangTidyCheck& check_;
64 proper_version_checks::proper_version_checks(llvm::StringRef name, clang::tidy::ClangTidyContext* c… in proper_version_checks()
65 : clang::tidy::ClangTidyCheck(name, context) {} in proper_version_checks()
Dinternal_ftm_use.cpp41 internal_ftm_use_callbacks(clang::tidy::ClangTidyCheck& check) : check_(check) {} in internal_ftm_use_callbacks()
72 clang::tidy::ClangTidyCheck& check_;
76 internal_ftm_use::internal_ftm_use(llvm::StringRef name, clang::tidy::ClangTidyContext* context) in internal_ftm_use()
77 : clang::tidy::ClangTidyCheck(name, context) {} in internal_ftm_use()
Dabi_tag_on_virtual.hpp12 class abi_tag_on_virtual : public clang::tidy::ClangTidyCheck {
14 abi_tag_on_virtual(llvm::StringRef, clang::tidy::ClangTidyContext*);
Dinternal_ftm_use.hpp12 class internal_ftm_use : public clang::tidy::ClangTidyCheck {
14 internal_ftm_use(llvm::StringRef, clang::tidy::ClangTidyContext*);
/external/cronet/tot/third_party/libc++/src/test/tools/clang_tidy_checks/
DCMakeLists.txt7 # Since the Clang C++ ABI is not stable the Clang libraries and clang-tidy
9 # led to crashes and incorrect output of the clang-tidy based checks.
12 message(STATUS "Clang-tidy tests are disabled since the "
17 message(STATUS "Clang-tidy tests are disabled since the "
30 # which results in clang-tidy crashing
51 #if !__has_include(\"clang-tidy/ClangTidyCheck.h\")
52 # error No clang-tidy headers
62 message(STATUS "Clang-tidy tests are disabled since the "
63 "clang-tidy headers are not present.")
84 message(STATUS "Clang-tidy tests are disabled due to using "
[all …]
Dlibcpp_module.cpp22 class LibcxxTestModule : public clang::tidy::ClangTidyModule {
24 void addCheckFactories(clang::tidy::ClangTidyCheckFactories& check_factories) override { in addCheckFactories()
37 clang::tidy::ClangTidyModuleRegistry::Add<LibcxxTestModule> libcpp_module{
Dproper_version_checks.cpp19 …proper_version_checks_callbacks(clang::Preprocessor& preprocessor, clang::tidy::ClangTidyCheck& ch… in proper_version_checks_callbacks()
60 clang::tidy::ClangTidyCheck& check_;
64 proper_version_checks::proper_version_checks(llvm::StringRef name, clang::tidy::ClangTidyContext* c… in proper_version_checks()
65 : clang::tidy::ClangTidyCheck(name, context) {} in proper_version_checks()
Dinternal_ftm_use.cpp41 internal_ftm_use_callbacks(clang::tidy::ClangTidyCheck& check) : check_(check) {} in internal_ftm_use_callbacks()
72 clang::tidy::ClangTidyCheck& check_;
76 internal_ftm_use::internal_ftm_use(llvm::StringRef name, clang::tidy::ClangTidyContext* context) in internal_ftm_use()
77 : clang::tidy::ClangTidyCheck(name, context) {} in internal_ftm_use()
Dabi_tag_on_virtual.hpp12 class abi_tag_on_virtual : public clang::tidy::ClangTidyCheck {
14 abi_tag_on_virtual(llvm::StringRef, clang::tidy::ClangTidyContext*);
Dinternal_ftm_use.hpp12 class internal_ftm_use : public clang::tidy::ClangTidyCheck {
14 internal_ftm_use(llvm::StringRef, clang::tidy::ClangTidyContext*);
/external/expat/expat/
Dapply-clang-tidy.sh89 type -P clang-tidy
91 clang-tidy --version
93 clang-tidy --checks="${checks}" --verify-config
95 clang-tidy --checks="${checks}" --list-checks
99 clang-tidy --checks=\* --list-checks \
100 | grep -v -f <(clang-tidy --checks="${checks}" --list-checks | xargs -n1) \
107 exec clang-tidy "${args[@]}" "${files[@]}" -- "${flags[@]}"
/external/pigweed/pw_toolchain/
Dbazel.rst105 <https://clang.llvm.org/extra/clang-tidy/checks/misc/include-cleaner.html>`__
106 in clang-tidy. See also :bug:`329671260`.
111 .. _module-pw_toolchain-bazel-clang-tidy:
113 clang-tidy
118 #. Add a ``.clang-tidy`` file at the root of your repository listing the checks
119 you wish to enable. `Pigweed's own .clang-tidy file
120 <https://cs.opensource.google/pigweed/pigweed/+/main:.clang-tidy>`__ shows
130 srcs = [".clang-tidy"],
148 #. Add a ``clang-tidy`` config in your ``.bazelrc`` file.
152 # clang-tidy configuration
[all …]
Dstatic_analysis_toolchain.gni26 # from the analysis. clang-tidy provides no alternative option.
28 # For example, the following disables clang-tidy on all source files in the
35 # Disable clang-tidy for specific include paths. In the clang-tidy command,
37 # are switched from -I to -isystem, which causes clang-tidy to ignore them.
38 # Unfortunately, clang-tidy provides no other way to filter header files.
52 # clang-tidy checks.
62 # The generated toolchain runs clang-tidy on all source files that are not
75 # static_analysis.clang_tidy_path: (optional) String indicating clang-tidy bin
106 # Clang tidy is invoked by a wrapper script which implements the missing
125 "--clang-tidy " +
[all …]
Dgn.rst48 ``clang-tidy`` can be run as a compiler replacement, to analyze all sources
51 that execute ``clang-tidy`` for C/C++ sources, and mock implementations of
64 # Optionally override clang-tidy binary to use by setting to proper path.
80 snippet below where we enable clang-tidy caching and add ``//.clang-tidy`` as a
87 clang_tidy_path = "//third_party/ctcache/clang-tidy"
88 _clang_tidy_cfg_path = rebase_path("//.clang-tidy", root_build_dir)
130 For example, to run ``clang-tidy`` on all source dependencies of the
149 any relevant .clang-tidy file is updated. You should
151 ``clang-tidy``.
/external/pigweed/docs/
Dautomated_analysis.rst18 * clang-tidy
69 clang-tidy
71 `clang-tidy`_ is a C++ "linter" and static analysis tool. It identifies
76 While powerful, clang-tidy defines a very large number of checks, many of which
80 signal-to-noise ratios. The full list of Pigweed's checks is in `.clang-tidy`_.
85 clang-tidy can be run with ``ninja static_analysis`` or ``pw presubmit --step
86 static_analysis`` or ``bazelisk build --config=clang-tidy //...``. Note that as
87 a static analysis tool, clang-tidy will not produce any runnable binaries: it
90 .. _clang-tidy: https://clang.llvm.org/extra/clang-tidy/ argument
92 .. _.clang-tidy: https://cs.pigweed.dev/pigweed/+/main:.clang-tidy argument
[all …]
/external/pigweed/
D.gn49 # Exclude GoogleTest, which fails some clang-tidy checks.
53 # Exclude Boringssl, which fails some clang-tidy checks.
56 # Exclude mbedtls, which fails some clang-tidy checks.
70 # Exclude GoogleTest, which fails some clang-tidy checks.
74 # Exclude Boringssl, which fails some clang-tidy checks.
77 # Exclude mbedtls, which fails some clang-tidy checks.
/external/llvm/test/CodeGen/ARM/
Deh-resume-darwin.ll1 ; RUN: llc < %s -mtriple=armv7-apple-ios -arm-atomic-cfg-tidy=0 | FileCheck %s -check-prefix=IOS
2 ; RUN: llc < %s -mtriple=armv7-apple-watchos -arm-atomic-cfg-tidy=0 | FileCheck %s -check-prefix=IOS
3 ; RUN: llc < %s -mtriple=armv7k-apple-ios -arm-atomic-cfg-tidy=0 | FileCheck %s -check-prefix=WATCH…
4 ; RUN: llc < %s -mtriple=armv7k-apple-watchos -arm-atomic-cfg-tidy=0 | FileCheck %s -check-prefix=W…
/external/antlr/runtime/Ruby/test/unit/
Dtest-template.rb134 define_template( :class_definition, tidy( <<-'END'.chomp ) )
150 define_template( :attribute, tidy( <<-'END'.chomp ) )
161 define_template( :method, tidy( <<-'END'.chomp ) )
190 vegetable.to_s.should == tidy( <<-END.chomp )
234 vegetable.to_s.should == tidy( <<-END.chomp )
/external/drm_hwcomposer/.ci/
DMakefile7 CLANG_TIDY := clang-tidy-19
88 .PHONY: all build tidy clean
90 all: build tidy
138 define process-tidy
140 _TARG := $(OUT_DIR)/$1.tidy.ts
162 $(foreach file,$(TIDY_FILES),$(eval $(call process-tidy,$(file))))
164 tidy: $(TIDY_DEPS) target
/external/licenseclassifier/v2/assets/Supplement/NCSA/
Dllvm.txt32 clang-tidy clang-tidy/cert
33 clang-tidy clang-tidy/hicpp
/external/llvm/test/CodeGen/Thumb2/
Dthumb2-ifcvt3.ll1 ; RUN: llc < %s -mtriple=thumbv7-apple-darwin -arm-atomic-cfg-tidy=0 | FileCheck %s
2 ; RUN: llc < %s -mtriple=thumbv7-apple-darwin -arm-atomic-cfg-tidy=0 -arm-default-it | FileCheck %s
3 ; RUN: llc < %s -mtriple=thumbv8-apple-darwin -arm-atomic-cfg-tidy=0 -arm-no-restrict-it | FileChec…

12345678910>>...12