Home
last modified time | relevance | path

Searched +full:clang +full:- +full:tools +full:- +full:extra (Results 1 – 25 of 418) sorted by relevance

12345678910>>...17

/external/clang/docs/
DClangTools.rst5 Clang Tools are standalone command line (and potentially GUI) tools
7 Clang as their compiler. These tools provide developer-oriented
11 Only a couple of the most basic and fundamental tools are kept in the
12 primary Clang Subversion project. The rest of the tools are kept in a
13 side-project so that developers who don't want or need to build them
14 don't. If you want to get access to the extra Clang Tools repository,
15 simply check it out into the tools tree of your Clang checkout and
17 LLVM/Clang checkout:
19 - With Subversion:
21 - ``cd llvm/tools/clang/tools``
[all …]
DLibASTMatchersTutorial.rst2 Tutorial for building tools using LibTooling and LibASTMatchers
5 This document is intended to show how to build a useful source-to-source
6 translation tool based on Clang's `LibTooling <LibTooling.html>`_. It is
7 explicitly aimed at people who are new to Clang, so all you should need
12 skim the :doc:`Introduction to the Clang
15 Step 0: Obtaining Clang
18 As Clang is part of the LLVM project, you'll need to download LLVM's
19 source code first. Both Clang and LLVM are maintained as Subversion
24 .. code-block:: console
26 mkdir ~/clang-llvm && cd ~/clang-llvm
[all …]
DClangPlugins.rst2 Clang Plugins
5 Clang Plugins make it possible to run extra user defined actions during a
7 run a Clang Plugin.
12 Clang Plugins run FrontendActions over code. See the :doc:`FrontendAction
15 simple clang plugin.
24 .. code-block:: c++
29 if (args[i] == "-some-arg") {
42 .. code-block:: c++
44 static FrontendPluginRegistry::Add<MyPlugin> X("my-plugin-name", "my plugin description");
52 .. code-block:: c++
[all …]
/external/clang/tools/
DCMakeLists.txt1 create_subdirectory_options(CLANG TOOL)
5 add_clang_subdirectory(clang-format)
6 add_clang_subdirectory(clang-format-vs)
7 add_clang_subdirectory(clang-fuzzer)
9 add_clang_subdirectory(c-index-test)
12 add_clang_subdirectory(arcmt-test)
13 add_clang_subdirectory(c-arcmt-test)
17 add_clang_subdirectory(clang-check)
18 add_clang_subdirectory(scan-build)
19 add_clang_subdirectory(scan-view)
[all …]
/external/libcxx/utils/docker/scripts/
Dcheckout_git.sh2 #===- llvm/utils/docker/scripts/checkout.sh ---------------------===//
9 #===-----------------------------------------------------------------------===//
11 set -e
17 Checkout svn sources into /tmp/clang-build/src. Used inside a docker container.
20 -h|--help show this help message
21 -b|--branch svn branch to checkout, i.e. 'trunk',
24 -p|--llvm-project name of an svn project to checkout.
25 For clang, please use 'clang', not 'cfe'.
48 while [[ $# -gt 0 ]]; do
50 --to)
[all …]
/external/llvm/utils/release/
Dbuild_llvm_package.bat13 REM Visual Studio 2013 SDK (for the clang-format plugin).
22 set package_version=3.9.0-r%revision%
29 echo Clang format plugin version: %clang_format_vs_version%
38 svn.exe export -r %revision% http://llvm.org/svn/llvm-project/llvm/%branch% llvm || exit /b
39 svn.exe export -r %revision% http://llvm.org/svn/llvm-project/cfe/%branch% llvm/tools/clang || exit…
40 svn.exe export -r %revision% http://llvm.org/svn/llvm-project/clang-tools-extra/%branch% llvm/tools
41 svn.exe export -r %revision% http://llvm.org/svn/llvm-project/lld/%branch% llvm/tools/lld || exit /b
42 svn.exe export -r %revision% http://llvm.org/svn/llvm-project/compiler-rt/%branch% llvm/projects/co…
43 svn.exe export -r %revision% http://llvm.org/svn/llvm-project/openmp/%branch% llvm/projects/openmp …
47-DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=ON -DLLVM_INSTALL_TOOLCHAIN_ONLY=ON -DLLVM_USE…
[all …]
Dtest-release.sh2 #===-- test-release.sh - Test the LLVM release candidates ------------------===#
9 #===------------------------------------------------------------------------===#
13 #===------------------------------------------------------------------------===#
15 System=`uname -s`
23 Base_url="http://llvm.org/svn/llvm-project"
46 echo "usage: `basename $0` -release X.Y.Z -rc NUM [OPTIONS]"
48 echo " -release X.Y.Z The release version to test."
49 echo " -rc NUM The pre-release candidate number."
50 echo " -final The final release candidate."
51 echo " -triple TRIPLE The target triple for this machine."
[all …]
/external/clang/www/
Dget_started.html1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
5 <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
6 <title>Clang - Getting Started</title>
12 <!--#include virtual="menu.html.incl"-->
16 <h1>Getting Started: Building and Running Clang</h1>
18 <p>This page gives you the shortest path to checking out Clang and demos a few
21 involved</a> with the Clang community. If you run into problems, please file
24 <h2 id="download">Release Clang Versions</h2>
26 <p>Clang is released as part of regular LLVM releases. You can download the release versions from <…
27 <p>Clang is also provided in all major BSD or GNU/Linux distributions as part of their respective p…
[all …]
/external/nanopb-c/tests/
DSConstruct12 For example, for a clang build, use:
13 scons CC=clang CXX=clang++
17 env = Environment(ENV = os.environ, tools = ['default', 'nanopb'])
67 conf.env.Append(CPPPATH = "#../extra")
76 # Check if we can use pkg-config to find protobuf include path
77 status, output = conf.TryAction('pkg-config protobuf --variable=includedir > $TARGET')
84 status, output = conf.TryAction('$PROTOC --version > $TARGET')
91 conf.env.Append(CCFLAGS = '-fmudflap')
92 conf.env.Append(LINKFLAGS = '-fmudflap')
94 # Check if we can use extra strict warning flags (only with GCC)
[all …]
/external/pigweed/docs/
Dautomated_analysis.rst1 .. _docs-automated-analysis:
8 using a suite of automated tools. We also make it easy to use the same tools
11 -------
13 -------
18 * clang-tidy
22 * OSS-Fuzz
24 The rest of this document discusses these tools and their configuration in
27 --------------
28 Analysis tools
29 --------------
[all …]
/external/oss-fuzz/projects/llvm/
Dbuild.sh1 #!/bin/bash -eux
9 # http://www.apache.org/licenses/LICENSE-2.0
20 clang-fuzzer \
21 clang-format-fuzzer \
22 clang-objc-fuzzer \
23 clangd-fuzzer \
24 llvm-itanium-demangle-fuzzer \
25 llvm-microsoft-demangle-fuzzer \
26 llvm-dwarfdump-fuzzer \
27 llvm-isel-fuzzer \
[all …]
/external/ComputeLibrary/docs/contributor_guide/
Dcontribution_guidelines.dox2 /// Copyright (c) 2019-2022 Arm Limited.
4 /// SPDX-License-Identifier: MIT
34 - Release repository: https://github.com/arm-software/ComputeLibrary
35 - Development repository: https://review.mlplatform.org/#/admin/projects/ml/ComputeLibrary
36 - Please report issues here: https://github.com/ARM-software/ComputeLibrary/issues
48 Best practices (as suggested by clang-tidy):
50 - No uninitialised values
52 …hanged after initialisation. See http://clang.llvm.org/extra/clang-tidy/checks/cppcoreguidelines-p…
65 - No C-style casts (in C++ source code)
67-style casts do not differentiate between the different cast types and thus make it easy to violat…
[all …]
/external/bcc/
DINSTALL.md3 * [Kernel Configuration](#kernel-configuration)
5 - [Debian](#debian---binary)
6 - [Ubuntu](#ubuntu---binary)
7 - [Fedora](#fedora---binary)
8 - [Arch](#arch---binary)
9 - [Gentoo](#gentoo---portage)
10 - [openSUSE](#opensuse---binary)
11 - [RHEL](#rhel---binary)
12 - [Amazon Linux 1](#amazon-linux-1---binary)
13 - [Amazon Linux 2](#amazon-linux-2---binary)
[all …]
/external/clang/
D.gitignore5 # This file is intentionally different from the output of `git svn show-ignore`,
31 # Clang extra user tools, which is tracked independently (clang-tools-extra).
32 tools/extra
37 test/debuginfo-tests
/external/clang/lib/Tooling/
DCommonOptionsParser.cpp1 //===--- CommonOptionsParser.cpp - common options for clang tools ---------===//
8 //===----------------------------------------------------------------------===//
11 // command-line options for clang tools, so that they can be run as separate
12 // command-line applications with a consistent common interface for handling
15 // It provides a common subset of command-line options, common algorithm
17 // for the basic command-line interface.
19 // It creates a CompilationDatabase and reads common command-line options.
21 // This class uses the Clang Tooling infrastructure, see
22 // http://clang.llvm.org/docs/HowToSetupToolingForLLVM.html
25 //===----------------------------------------------------------------------===//
[all …]
/external/llvm/cmake/modules/
DLLVMExternalProjectUtils.cmake8 set(${out_var} "$(MAKE)" "-C" "${BINARY_DIR}" "${target}" PARENT_SCOPE)
10 set(${out_var} ${CMAKE_COMMAND} --build ${bin_dir} --target ${target}
11 --config $<CONFIGURATION> PARENT_SCOPE)
17 # Use just-built tools (see TOOLCHAIN_TOOLS)
23 # Always clean the sub-project before building
27 # Targets for toolchain tools (defaults to clang;lld)
31 # Extra targets in the subproject to generate targets for
33 # Extra variable prefixes (name is always included) to pass down
43 set(ARG_TOOLCHAIN_TOOLS clang lld)
53 set(ARG_RUNTIME_LIBRARIES compiler-rt libcxx)
[all …]
/external/mesa3d/.gitlab-ci/build/
Dgitlab-ci.yml2 .build-common:
3 extends: .container+build-rules
6 # Build jobs don't take more than 1-3 minutes. 5-8 min max on a fresh runner
18 - _build/meson-logs/*.txt
19 - _build/meson-logs/strace
20 - shader-db
21 - artifacts
24 .build-linux:
25 extends: .build-common
32 - !reference [default, before_script]
[all …]
/external/llvm/docs/
DTestingGuide.rst18 infrastructure, the tools needed to use it, and how to add and run
28 If you intend to run the :ref:`test-suite <test-suite-overview>`, you will also
29 need a development version of zlib (zlib1g-dev is known to work on several Linux
38 to always pass -- they should be run before every commit.
41 "test-suite") and are in the ``test-suite`` module in subversion. For
43 tests" in places, which is less ambiguous than "test-suite" and remains
47 ----------------
60 ``test-suite``
61 --------------
64 can be compiled and linked into a stand-alone program that can be
[all …]
/external/cronet/third_party/libc++/src/test/libcxx/
Dmodule_std.gen.py1 # ===----------------------------------------------------------------------===##
5 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 # ===----------------------------------------------------------------------===##
76 # https://libcxx.llvm.org/Status/Cxx20.html#note-p0619
100 # Adds an extra header file to scan
109 # The extra header is needed since two headers are required to provide the
119 //--- module_std.sh.cpp
121 // UNSUPPORTED{BLOCKLIT}: libcpp-has-no-std-modules
122 // UNSUPPORTED{BLOCKLIT}: clang-modules-build
124 // REQUIRES{BLOCKLIT}: has-clang-tidy
[all …]
/external/cronet/build/
Dnocompile.gni2 # Use of this source code is governed by a BSD-style license that can be
6 # invokes a set of no-compile tests. A no-compile test is a test that asserts
26 # often exceed 80 characters, which would make clang-format unhappy.
38 # // expected-error {{<expected error string here>}}
43 # static_assert(1 == 2); // expected-error {{static assertion failed due to requirement '1 ==…
46 # The verification logic is built as part of clang; full documentation is at
47 # https://clang.llvm.org/doxygen/classclang_1_1VerifyDiagnosticConsumer.html.
50 # http://dev.chromium.org/developers/testing/no-compile-tests
52 import("//build/config/clang/clang.gni")
68 script = "//tools/nocompile/wrapper.py"
[all …]
/external/libnl/.github/workflows/
Dci.yml1 name: libnl3-ci
11 clang-format:
12 runs-on: ubuntu-latest
16 - name: Install packages
18 sudo dnf install -y \
19 clang-tools-extra \
22 - name: Check out repository code
25 - name: Setup git
27 git config --global --add safe.directory "$PWD"
29 - name: Formatting with clang-format
[all …]
/external/sandboxed-api/sandboxed_api/bazel/
Dsapi.bzl7 # https://www.apache.org/licenses/LICENSE-2.0
23 load("@bazel_tools//tools/cpp:toolchain_utils.bzl", "find_cpp_toolchain", "use_cpp_toolchain")
50 # buildifier: disable=function-docstring
90 if not p.startswith("blaze-out") and not p.startswith("bazel-out"):
94 if i == -1:
111 append_arg(args, "--sapi_name", ctx.attr.lib_name)
112 append_arg(args, "--sapi_out", ctx.outputs.out.path)
113 append_arg(args, "--sapi_embed_dir", ctx.attr.embed_dir)
114 append_arg(args, "--sapi_embed_name", ctx.attr.embed_name)
115 append_arg(args, "--sapi_functions", ",".join(ctx.attr.functions))
[all …]
/external/bazelbuild-rules_go/go/
Dcrosstool.rst6 .. _Understanding CROSSTOOL: https://docs.bazel.build/versions/0.23.0/crosstool-reference.html
7 .. _Configuring C++ toolchains: https://docs.bazel.build/versions/master/tutorial/cc-toolchain-conf…
8 .. _cc_library: https://docs.bazel.build/versions/master/be/c-cpp.html#cc_library
16 ----------
23 ------------
27 TODOs. In particular, building and configuring a cross-compiling C++ toolchain
41 doesn't work with cross-compilation. Explicit configuration is required in these
44 This documented is intended to serve as a walk-through for configuring a custom
47 NOTE: The Go toolchain requires gcc, clang, or something that accepts the same
48 command-line arguments and produce the same error messages. MSVC is not
[all …]
/external/oss-fuzz/docs/advanced-topics/
Dcode_coverage.md1 ---
6 permalink: /advanced-topics/code-coverage/
7 ---
12 For projects written in C/C++, Rust, Go, Swift or Java and other JVM-based languages,
13 you can generate code coverage reports using Clang source-based code coverage.
15 For more details on C/C++ coverage, see [Clang's documentation].
19 - TOC
21 ---
25 Docker images get regularly updated with a newer version of build tools, build
40 $ python infra/helper.py build_fuzzers --sanitizer=coverage $PROJECT_NAME
[all …]
/external/cronet/third_party/cpu_features/src/.github/workflows/
DDockerfile1 # Create a virtual environment with all tools installed
5 RUN apk add --no-cache git clang-extra-tools

12345678910>>...17