Home
last modified time | relevance | path

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

123

/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/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/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/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/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/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/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/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/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/infra/bots/recipe_modules/build/examples/
Dfull.py2 # Use of this source code is governed by a BSD-style license that can be
30 'Build-Debian9-Clang-arm-Release-Flutter_Android_Docker',
31 'Build-Debian10-GCC-x86-Debug-Docker',
32 'Build-Debian10-GCC-x86_64-Debug-Docker',
33 'Build-Debian10-GCC-x86_64-Release-NoGPU_Docker',
34 'Build-Debian10-GCC-x86_64-Release-Shared_Docker',
35 'Build-Debian10-Clang-arm-Release-Android_API26',
36 'Build-Debian10-Clang-arm-Release-Android_ASAN',
37 'Build-Debian10-Clang-arm-Release-Chromebook_GLES',
38 'Build-Debian9-Clang-x86_64-Debug-Chromebook_GLES_Docker',
[all …]
/third_party/flatbuffers/scripts/
Dclang-tidy-git.sh1 run-clang-tidy -fix -extra-arg=-std=c++11 -extra-arg=-Wno-unknown-warning-option `git diff --name-o…
/third_party/mesa3d/.gitlab-ci/container/debian/
Dandroid_build.sh3 set -ex
11 apt-get install -y --no-remove $EPHEMERAL
14 ndk=android-ndk-r21d
15 wget -O $ndk.zip https://dl.google.com/android/repository/$ndk-linux-x86_64.zip
16 unzip -d / $ndk.zip "$ndk/toolchains/llvm/*"
20 rdfind -makehardlinks true -makeresultsfile false /android-ndk-r21d/
22 find /android-ndk-r21d/ -type f | egrep -i "clang-check|clang-tidy|lldb" | xargs rm -f
24 sh .gitlab-ci/container/create-android-ndk-pc.sh /$ndk zlib.pc "" "-lz" "1.2.3"
26 sh .gitlab-ci/container/create-android-cross-file.sh /$ndk x86_64-linux-android x86_64 x86_64
27 sh .gitlab-ci/container/create-android-cross-file.sh /$ndk i686-linux-android x86 x86
[all …]
/third_party/vk-gl-cts/
DAndroid.mk1 LOCAL_PATH := $(call my-dir)
4 # The clang-tidy google-explicit-constructor warning is issued to nearly
8 # or NOLINT(implicit), we suppress the google-explicit-constructor check.
9 LOCAL_TIDY_CHECKS := -google-explicit-constructor
24 -DDEQP_SUPPORT_GLES1=1 \
25 -DDE_ANDROID_API=9 \
26 -D_XOPEN_SOURCE=600 \
27 -DDEQP_TARGET_NAME=\"android\" \
28 -DQP_SUPPORT_PNG=1 \
29 -Wall \
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/base/
Dattributes.h7 // https://www.apache.org/licenses/LICENSE-2.0
21 // Most macros here are exposing GCC or Clang features, and are stubbed out for
25 // https://gcc.gnu.org/onlinedocs/gcc-4.7.0/gcc/Function-Attributes.html
26 // https://gcc.gnu.org/onlinedocs/gcc-4.7.0/gcc/Variable-Attributes.html
27 // https://gcc.gnu.org/onlinedocs/gcc-4.7.0/gcc/Type-Attributes.html
30 // of them are not supported in older version of Clang. Thus, we check
41 // A function-like feature checking macro that is a wrapper around
42 // `__has_attribute`, which is defined by GCC 5+ and Clang and evaluates to a
47 // GCC: https://gcc.gnu.org/gcc-5/changes.html
48 // Clang: https://clang.llvm.org/docs/LanguageExtensions.html
[all …]
/third_party/skia/infra/bots/gen_tasks_logic/
Dcompile_cas.go2 // Use of this source code is governed by a BSD-style license that can be
46 ".clang-format",
47 ".clang-tidy",
48 "bin/fetch-clang-format",
49 "bin/fetch-gn",
67 cmd := exec.Command("git", "ls-files")
163 // - This Node is a leaf, ie. it represents an entry which was explicitly
166 // - This Node has immediate children exceeding combinePathsThreshold and
/third_party/libabigail/
DNEWS4 elf-helpers: make sure config.h is included first
8 release-text-template.txt: Modernize a little bit.
9 dwarf-reader: Don't compute canonical type while propagating one
10 Bug 29693 - clang-libs from f37 fails self test
11 Bug 30466 - harfbuzz fails self-check on f38
12 Bug 30467 - enlightenment fails self check on f38
14 Bug 30503 - Fail to compare non-anonymous struct vs named struct data members
15 Bug 30461 - insight fails self-compare
16 fedabipkgdiff: Don't choke Koji servers with self-signed SSL certs
19 corpus,tools-utils: Support loading a corpus, its deps & other binaries
[all …]
/third_party/skia/third_party/externals/tint/fuzzers/tint_ast_fuzzer/
Dfuzzer.cc7 // http://www.apache.org/licenses/LICENSE-2.0
86 std::memcpy( // NOLINT - clang-tidy warns about lack of null termination. in LLVMFuzzerCustomMutator()
/third_party/vixl/examples/aarch64/
Dnon-const-visitor.cc27 #include "non-const-visitor.h"
36 #define __ masm->
43 // Match the forms for 32/64-bit add/subtract with shift, with optional flag in Visit()
45 if (std::regex_match(form, // NOLINT: avoid clang-tidy-4.0 errors. in Visit()
47 int rn = instr->GetRn(); in Visit()
48 int rm = instr->GetRm(); in Visit()
49 // Only non-const visitors are allowed to discard constness of the visited in Visit()
52 Instr instr_bits = mutable_instr->GetInstructionBits(); in Visit()
59 mutable_instr->SetInstructionBits(instr_bits); in Visit()
67 // a -> x0 in GenerateNonConstVisitorTestCode()
[all …]
/third_party/json/
DCMakeLists.txt43 option(JSON_GlobalUDLs "Place use-defined string literals in the global namespa…
48 option(JSON_MultipleHeaders "Use non-amalgamated version of the library." ON)
49 option(JSON_SystemInclude "Include as system headers (skip for clang-tidy)." OFF)
73 message(STATUS "Using the multi-header code from ${NLOHMANN_JSON_INCLUDE_BUILD_DIR}")
76 message(STATUS "Using the single-header code from ${NLOHMANN_JSON_INCLUDE_BUILD_DIR}")
140 # Install a pkg-config file, so other tools can find this.
142 "${CMAKE_CURRENT_SOURCE_DIR}/cmake/pkg-config.pc.in"
162 # write_basic_package_version_file to ensure that it's architecture-independent

123