Home
last modified time | relevance | path

Searched +full:clang +full:- +full:tidy (Results 1 – 25 of 121) sorted by relevance

12345

/third_party/benchmark/.github/workflows/
Dclang-tidy.yml1 name: clang-tidy
9 name: run-clang-tidy
10 runs-on: ubuntu-latest
12 fail-fast: false
14 - uses: actions/checkout@v2
16 - name: install clang-tidy
17 run: sudo apt update && sudo apt -y install clang-tidy
19 - name: create build environment
20 run: cmake -E make_directory ${{ runner.workspace }}/_build
22 - name: configure cmake
[all …]
/third_party/skia/m133/third_party/externals/expat/expat/
Dapply-clang-tidy.sh31 set -e -u -o pipefail
33 cd "$(dirname "$(type -P "$0")")"
36 readability-avoid-const-params-in-decls
37 readability-named-parameter
43 clang-analyzer-optin.performance.Padding
46 clang-analyzer-security.insecureAPI.strcpy
48 # Disabling because buggy, see https://github.com/llvm/llvm-project/issues/40656
49 clang-analyzer-valist.Uninitialized
53 checks="${checks_to_enable_flat// /,},-${checks_to_disable_flat// /,-}"
56 --checks="${checks}"
[all …]
/third_party/vixl/tools/
Dclang_tidy.py41 DEFAULT_CLANG_TIDY = 'clang-tidy'
45 description = '''This tool runs `clang-tidy` on C++ files.''',
49 parser.add_argument('--jobs', '-j', metavar='N', type=int, nargs='?',
55 parser.add_argument('--clang-tidy', default=DEFAULT_CLANG_TIDY,
56 help='Path to clang-tidy.')
64 # We've incorrectly invoked or configured clang-tidy. This should never
119 clang_tidy = detect_clang_tool("clang-tidy")
122 error_message = "clang-tidy not found. Please ensure it " \
125 return -1
127 opts = ['--', '-DVIXL_INCLUDE_TARGET_AARCH64', '-DVIXL_CODE_BUFFER_MALLOC',
[all …]
Dtest.py111 '--negative_testing',
117 '--compiler',
123 '--mode',
129 '--std',
135 '--target',
142 general_arguments.add_argument('--dry-run', action='store_true',
146 general_arguments.add_argument('--verbose', action='store_true',
149 '--jobs', '-j', metavar='N', type=int, nargs='?',
154 general_arguments.add_argument('--clang-format',
156 help='Path to clang-format.')
[all …]
/third_party/grpc/tools/distrib/
Drun_clang_tidy.py8 # http://www.apache.org/licenses/LICENSE-2.0
29 clang_tidy = os.environ.get("CLANG_TIDY", "clang-tidy")
31 argp = argparse.ArgumentParser(description="Run clang-tidy against core")
32 argp.add_argument("files", nargs="+", help="Files to tidy")
33 argp.add_argument("--fix", dest="fix", action="store_true")
35 "-j",
36 "--jobs",
41 argp.add_argument("--only-changed", dest="only_changed", action="store_true")
45 # Explicitly passing the .clang-tidy config by reading it.
47 # in a different source tree so clang-tidy cannot find the right config file
[all …]
Dclang_tidy_code.sh8 # http://www.apache.org/licenses/LICENSE-2.0
16 echo "NOTE: to automagically apply fixes, invoke with --fix"
18 set -ex
26 export MANUAL_TARGETS=$(bazel query 'attr("tags", "manual", tests(//test/cpp/...))' | grep -v _on_i…
28 # generate a clang compilation database for all C/C++ sources in the repo.
30 --include_headers \
31 --ignore_system_headers \
32 --dedup_targets \
42 # build clang-tidy docker image
43 docker build -t grpc_clang_tidy tools/dockerfile/grpc_clang_tidy
[all …]
/third_party/rust/crates/cxx/.github/workflows/
Dci.yml20 runs-on: ${{matrix.os || 'ubuntu'}}-latest
22 fail-fast: false
25 - rust: nightly
26 - rust: beta
27 - rust: stable
28 - rust: 1.60.0
29 - rust: 1.64.0
30 - name: Cargo on macOS
33 - name: Cargo on Windows (msvc)
34 rust: nightly-x86_64-pc-windows-msvc
[all …]
/third_party/skia/m133/infra/bots/recipe_modules/build/examples/full.expected/
DBuild-Debian10-Clang-x86_64-Debug-Tidy.json5 "[START_DIR]/cache/work/skia/bin/fetch-gn"
13 "name": "fetch-gn"
18 "[START_DIR]/cache/work/skia/bin/fetch-ninja"
26 "name": "fetch-ninja"
31 "-u",
33 "--json-output",
50 "[START_DIR]/cache/work/skia/out/Build-Debian10-Clang-x86_64-Debug-Tidy/Debug",
51--args=cc=\"[START_DIR]/clang_linux/bin/clang\" cxx=\"[START_DIR]/cache/work/skia/tools/clang-tidy
63 "-C",
64 "[START_DIR]/cache/work/skia/out/Build-Debian10-Clang-x86_64-Debug-Tidy/Debug"
[all …]
/third_party/curl/lib/
DMakefile.am21 # SPDX-License-Identifier: curl
28 EXTRA_DIST = Makefile.mk config-win32.h config-win32ce.h config-plan9.h \
29 config-riscos.h config-mac.h curl_config.h.in config-dos.h libcurl.rc \
30 config-amigaos.h config-win32ce.h config-os400.h setup-os400.h \
31 $(CMAKE_DIST) setup-win32.h .checksrc Makefile.soname
41 # This might hold -Werror
53 AM_CPPFLAGS = -I$(top_srcdir)/include \
54 -I$(top_builddir)/lib \
55 -I$(top_srcdir)/lib
62 AM_CPPFLAGS += -DBUILDING_LIBCURL
[all …]
/third_party/curl/src/
DMakefile.am21 # SPDX-License-Identifier: curl
38 # $(top_srcdir)/src is for curl's src/tool_setup.h and "curl-private" files
40 AM_CPPFLAGS = -I$(top_srcdir)/include \
41 -I$(top_builddir)/lib \
42 -I$(top_builddir)/src \
43 -I$(top_srcdir)/lib \
44 -I$(top_srcdir)/src
53 AM_CPPFLAGS += -DCURL_STATICLIB
55 AM_CPPFLAGS += -DBUILDING_CURL
68 # This might hold -Werror
[all …]
/third_party/skia/infra/bots/recipe_modules/build/examples/full.expected/
DBuild-Debian10-Clang-x86_64-Debug-Tidy.json5 "-u",
7 "--json-output",
23 "-u",
24 "[START_DIR]/cache/work/skia/bin/fetch-gn"
32 "name": "fetch-gn"
38 "[START_DIR]/cache/work/skia/out/Build-Debian10-Clang-x86_64-Debug-Tidy/Debug",
39--args=cc=\"[START_DIR]/clang_linux/bin/clang\" cxx=\"[START_DIR]/cache/work/skia/tools/clang-tidy
51 "-C",
52 "[START_DIR]/cache/work/skia/out/Build-Debian10-Clang-x86_64-Debug-Tidy/Debug"
64 "-u",
[all …]
/third_party/grpc/tools/dockerfile/grpc_clang_tidy/
Dclang_tidy_all_the_things.sh8 # http://www.apache.org/licenses/LICENSE-2.0
16 set -ex
18 # clang format command
19 CLANG_TIDY=${CLANG_TIDY:-clang-tidy}
23 # run clang tidy for all source files
24 cat compile_commands.json | jq -r '.[].file' \
25 | grep -E "(^include/|^src/core/|^src/cpp/|^test/core/|^test/cpp/)" \
26 | grep -v -E "src/core/telemetry/stats_data" \
27 | grep -v -E "/upb-gen/|/upbdefs-gen/" \
DDockerfile7 # http://www.apache.org/licenses/LICENSE-2.0
15 FROM silkeh/clang:19-bookworm
17 # Install prerequisites for the clang-tidy script
18 RUN apt-get update && apt-get install -y python3 jq git && apt-get clean
20 # otherwise clang-tidy will report missing <gtest/gtest.h> header
21 RUN apt-get update && apt-get install -y libgtest-dev && apt-get clean
/third_party/vixl/
D.clang-tidy1 ---
2 # We use the clang-tidy defaults and the Google styles as a baseline, with a
4 # -clang-analyzer-security.insecureAPI.rand:
10 # -google-readability-todo:
12 # -google-readability-function-size:
14 # particularly involving macro-generated encoding tables and so on.
15 # -google-build-using-namespace:
16 # We do this in internal contexts (typically in .cc files), but clang-tidy
18 # -google-explicit-constructor:
23 # google-readability-braces-around-statements
[all …]
DOAT.xml1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Copyright (c) 2021 Huawei Device Co., Ltd.
8 http://www.apache.org/licenses/LICENSE-2.0
17 …All configurations in this file will be merged to OAT-Default.xml, if you have any questions or co…
23 …1. policy: If the OAT-Default.xml policies do not meet your requirements, please add policies here.
46 -->
53 …<!--policyitem type="compatibility" name="GPL-2.0+" path=".*" desc="Process that runs independentl…
54 … <!--policyitem type="license" name="LGPL" path=".*" desc="Dynamically linked by module X"/-->
55 …!--policyitem type="copyright" name="xxx" path=".*" rule="may" group="defaultGroup" filefilter="co…
71 <filteritem type="filename" name=".clang-tidy" desc=""/>
[all …]
DREADME.md30 ---------------------
32 …tps://ci.linaro.org/buildStatus/icon?job=linaro-art-vixlpresubmit)](https://ci.linaro.org/job/lina…
33 …rg/buildStatus/icon?job=linaro-art-vixlpresubmit-native-armv8)](https://ci.linaro.org/job/linaro-a…
34 …inaro.org/buildStatus/icon?job=linaro-art-vixlpresubmit-macos)](https://ci.linaro.org/job/linaro-a…
53 3. GCC 4.8+ or Clang 4.0+
55 A 64-bit host machine is required, implementing an LP64 data model. VIXL has
56 been tested using GCC on AArch64 Debian, GCC and Clang on amd64 Ubuntu
64 3. clang-format 11+
65 4. clang-tidy 11+
69 Note that in Ubuntu 18.04, clang-tidy-4.0 will only work if the clang-4.0
[all …]
/third_party/grpc/templates/tools/dockerfile/grpc_clang_tidy/
DDockerfile.template2 --- |
9 # http://www.apache.org/licenses/LICENSE-2.0
17 FROM silkeh/clang:19-bookworm
19 # Install prerequisites for the clang-tidy script
20 RUN apt-get update && apt-get install -y python3 jq git && apt-get clean
22 # otherwise clang-tidy will report missing <gtest/gtest.h> header
23 RUN apt-get update && apt-get install -y libgtest-dev && apt-get clean
/third_party/ninja/.github/workflows/
Dlinux.yml11 runs-on: [ubuntu-latest]
15 - uses: actions/checkout@v2
16 - uses: codespell-project/actions-codespell@master
19 - name: Install dependencies
21 … curl -L -O https://github.com/Kitware/CMake/releases/download/v3.16.4/cmake-3.16.4-Linux-x86_64.sh
22 chmod +x cmake-3.16.4-Linux-x86_64.sh
23 ./cmake-3.16.4-Linux-x86_64.sh --skip-license --prefix=/usr/local
24 …curl -L -O https://www.mirrorservice.org/sites/dl.fedoraproject.org/pub/epel/7/x86_64/Packages/p/p…
25 …curl -L -O https://www.mirrorservice.org/sites/dl.fedoraproject.org/pub/epel/7/x86_64/Packages/p/p…
26 rpm -U --quiet p7zip-16.02-20.el7.x86_64.rpm
[all …]
/third_party/skia/infra/bots/recipe_modules/build/
Ddefault.py2 # Use of this source code is governed by a BSD-style license that can be
13 '--chrome-dir', chrome_dir,
14 '--output-dir', out,
15 '--extra-gn-args', 'mac_sdk_min="10.13"',
16 '--no-sync', '--no-hooks', '--make-output-dir'])
31 '-DSWIFTSHADER_BUILD_TESTS=OFF',
32 '-DSWIFTSHADER_WARNINGS_AS_ERRORS=OFF',
33 '-DREACTOR_ENABLE_MEMORY_SANITIZER_INSTRUMENTATION=OFF', # Way too slow.
43 # CMakeLists.txt at a harmless non-existent path.
59 '-fsanitize=' + full,
[all …]
/third_party/skia/m133/infra/bots/recipe_modules/build/
Ddefault.py2 # Use of this source code is governed by a BSD-style license that can be
22 '-DSWIFTSHADER_BUILD_TESTS=OFF',
23 '-DSWIFTSHADER_WARNINGS_AS_ERRORS=OFF',
24 '-DREACTOR_ENABLE_MEMORY_SANITIZER_INSTRUMENTATION=OFF', # Way too slow.
34 # CMakeLists.txt at a harmless non-existent path.
48 '-fsanitize=' + full,
49 '-stdlib=libc++',
50 '-L%s/lib' % libcxx,
51 '-lc++abi',
52 '-I%s/include' % libcxx,
[all …]
/third_party/elfio/.vscode/
Dtasks.json8 "INCLUDES=-I..",
9 "CXXFLAGS='-g -O0'"
27 "INCLUDES=-I..",
28 "CXXFLAGS='-g -O0'"
40 "label": "clang-tidy",
41 "command": "clang-tidy",
43 …"--checks=*,-modernize-use-trailing-return-type,-modernize-avoid-c-arrays,-llvm*,-fuchsia-*,-alter…
44 "-header-filter=./*",
46 "--",
47 "-I.",
[all …]
/third_party/grpc/templates/tools/dockerfile/test/sanity/
DDockerfile.template2 --- |
9 # http://www.apache.org/licenses/LICENSE-2.0
17 FROM silkeh/clang:19-bookworm
23 RUN apt update && apt install -y build-essential zlib1g-dev libncurses5-dev libgdbm-dev ${'\\'}
24 libnss3-dev libssl-dev libreadline-dev libffi-dev libbz2-dev
25 RUN curl -O https://www.python.org/ftp/python/3.7.17/Python-3.7.17.tar.xz && ${'\\'}
26 tar -xf Python-3.7.17.tar.xz && ${'\\'}
27 cd Python-3.7.17 && ${'\\'}
29 make -j 4 && ${'\\'}
31 RUN curl https://bootstrap.pypa.io/pip/3.7/get-pip.py | python3
[all …]
/third_party/json/cmake/
Dci.cmake12 execute_process(COMMAND ${ASTYLE_TOOL} --version OUTPUT_VARIABLE ASTYLE_TOOL_VERSION ERROR_VARIABLE…
13 string(REGEX MATCH "[0-9]+(\\.[0-9]+)+" ASTYLE_TOOL_VERSION "${ASTYLE_TOOL_VERSION}")
16 …program(CLANG_TOOL NAMES clang++-HEAD clang++ clang++-17 clang++-16 clang++-15 clang++-14 clang++-
17 execute_process(COMMAND ${CLANG_TOOL} --version OUTPUT_VARIABLE CLANG_TOOL_VERSION ERROR_VARIABLE C…
18 string(REGEX MATCH "[0-9]+(\\.[0-9]+)+" CLANG_TOOL_VERSION "${CLANG_TOOL_VERSION}")
19 message(STATUS "�� Clang ${CLANG_TOOL_VERSION} (${CLANG_TOOL})")
21 …CLANG_TIDY_TOOL NAMES clang-tidy-17 clang-tidy-16 clang-tidy-15 clang-tidy-14 clang-tidy-13 clang-…
22 execute_process(COMMAND ${CLANG_TIDY_TOOL} --version OUTPUT_VARIABLE CLANG_TIDY_TOOL_VERSION ERROR_…
23 string(REGEX MATCH "[0-9]+(\\.[0-9]+)+" CLANG_TIDY_TOOL_VERSION "${CLANG_TIDY_TOOL_VERSION}")
24 message(STATUS "�� Clang-Tidy ${CLANG_TIDY_TOOL_VERSION} (${CLANG_TIDY_TOOL})")
[all …]
/third_party/skia/tools/
Dclang-tidy.sh4 # Use of this source code is governed by a BSD-style license that can be
7 set -e
18 if [ "$arg" == "-c" ]; then
27 clang-tidy -quiet -header-filter='.*' -warnings-as-errors='*' $src -- $args
29 exec clang++ $args
/third_party/skia/m133/tools/
Dclang-tidy.sh4 # Use of this source code is governed by a BSD-style license that can be
7 set -e
18 if [ "$arg" == "-c" ]; then
27 clang-tidy -quiet -header-filter='.*' -warnings-as-errors='*' $src -- $args
29 exec clang++ $args

12345