Home
last modified time | relevance | path

Searched +refs:clang +refs:format +refs:executable (Results 1 – 25 of 162) sorted by relevance

1234567

/external/bazelbuild-rules_rust/bindgen/private/
Dbindgen.bzl33 """find the libraries used for linking a static executable.
61 …bindgen_flags (list, optional): Flags to pass directly to the bindgen executable. See https://rust…
63 clang_flags (list, optional): Flags to pass directly to the clang executable.
147 rustc_flags.append("-lstatic={}".format(get_lib_name_default(lib.static_library)))
151 … rustc_flags.append("-lstatic={}".format(get_lib_name_default(lib.pic_static_library)))
156 fail("No static libraries found in {}".format(
160 rustc_flags_file = ctx.actions.declare_file("{}.rustc_flags".format(ctx.label.name))
166 link_search_paths = ctx.actions.declare_file("{}.link_search_paths".format(ctx.label.name))
170 "-Lnative=${{pwd}}/{}".format(path)
192 … fail("Header {} is not in {}'s transitive headers.".format(ctx.attr.header, cc_lib), "header")
[all …]
/external/jazzer-api/
DWORKSPACE.bazel105 executable = True,
232 name = "clang-format-15-darwin-x64",
233 downloaded_file_path = "clang-format",
234 executable = True,
237 "https://github.com/angular/clang-format/raw/master/bin/darwin_x64/clang-format",
242 name = "clang-format-15-linux-x64",
243 downloaded_file_path = "clang-format",
244 executable = True,
247 "https://github.com/angular/clang-format/raw/master/bin/linux_x64/clang-format",
254 executable = True,
[all …]
/external/sandboxed-api/sandboxed_api/bazel/
Dllvm_config.bzl26 "llvm-project-include/clang-c/**/*.h",
27 "llvm-project-include/clang/**/*.def",
28 "llvm-project-include/clang/**/*.h",
29 "llvm-project-include/clang/**/*.inc",
44 visibility = ["@llvm-project//clang:__pkg__"],
56 cc_library(name = "format", deps = ["@llvm-project//llvm:llvm"])
68 ["llvm-config-{}".format(ver) for ver in range(20, 10, -1)] +
88 for suffix in ["llvm", "llvm-c", "clang", "clang-c"]:
103 lib_strs = sorted(["\"-l{}\",".format(a[5:-2]) for a in archives])
109 "\n".join(["\"{}\",".format(s) for s in system_libs]),
[all …]
Dsapi.bzl31 arguments.append("{}".format(name))
47 executable = True,
53 return ctx.executable._generator_v1
54 return ctx.executable._generator_v2
117 extra_flags += ["--extra-arg=-D{}".format(d) for d in cc_ctx.defines.to_list()]
118 … extra_flags += ["--extra-arg=-isystem{}".format(i) for i in cc_ctx.system_includes.to_list()]
119 extra_flags += ["--extra-arg=-iquote{}".format(i) for i in cc_ctx.quote_includes.to_list()]
120 …extra_flags += ["--extra-arg=-isystem{}".format(d) for d in cpp_toolchain.built_in_include_directo…
121 extra_flags += ["--extra-arg=-I{}".format(d) for d in cc_ctx.includes.to_list()]
150 "").format(ctx.outputs.out.short_path, len(input_files_paths))
[all …]
/external/skia/
D.clang-format3 # change. Make sure to install git-clang-format [1] by adding it to your
4 # path and make it executable.
7 # $ git clang-format
13 # Some clients are running on older versions of clang-format, so please limit
14 # flag choices to options supported by clang-format version 10 and below.
15 # - XcodeClangFormat: clang-format 10
16 # - bin/clang-format: clang-format 11
17 # - brew: clang-format 14
19 …//source.chromium.org/chromium/chromium/src/+/HEAD:third_party/clang-format/script/git-clang-format
/external/openscreen/
DREADME.md25 `git cl format`, `git cl lint`, and `git cl upload.`
63 - Code formatter: `clang-format`
65 - Compiler/Linker: `clang` (installed by default) or `gcc` (installed by you)
73 `clang-format` is used for maintaining consistent coding style, but it is not a
78 ## Linux clang
83 Ensure that libstdc++ 8 is installed, as clang depends on the system
107 ## Mac clang
109 On Mac OS X, the build will use the clang provided by
149 ninja -C out/debug osp_demo # Builds the executable with ninja
150 ./out/debug/osp_demo # Runs the executable
[all …]
/external/rust/android-crates-io/crates/clang-sys/
DCHANGELOG.md4 - Added support for `clang` 18.0.x
14 - Added error logging when `CLANG_PATH` set but it isn't a full path to an executable
24 when using target-prefixed `clang` binaries
29 - Added support for `clang` 17.0.x
61 - Added additional support for `clang` 16.0.x
72 - Added support for `clang` 16.0.x
73 - Added support for `clang` 15.0.x
74 - Added support for `clang` 14.0.x
79 - Fixed `Clang::find` to check that `CLANG_PATH` is an executable file before
95 - Added support for `clang` 13.0.x
[all …]
/external/cronet/tot/third_party/llvm-libc/src/docs/gpu/
Dusing.rst31 support standard compilation flows, the ``clang`` driver uses fat binaries,
32 described in the `clang documentation
33 <https://clang.llvm.org/docs/OffloadingDesign.html>`_. This linking mode is used
39 forwards an argument to a ``clang`` job used to create the final GPU executable.
45 $> clang openmp.c -fopenmp --offload-arch=gfx90a -Xoffload-linker -lc
46 $> clang cuda.cu --offload-arch=sm_80 --offload-new-driver -fgpu-rdc -Xoffload-linker -lc
47 $> clang hip.hip --offload-arch=gfx940 --offload-new-driver -fgpu-rdc -Xoffload-linker -lc
60 These are located in ``<clang-resource-dir>/include/llvm-libc-wrappers`` in your
92 $> clang openmp.c -fopenmp --offload-arch=gfx90a
102 Binary format
[all …]
/external/cronet/stable/third_party/llvm-libc/src/docs/gpu/
Dusing.rst31 support standard compilation flows, the ``clang`` driver uses fat binaries,
32 described in the `clang documentation
33 <https://clang.llvm.org/docs/OffloadingDesign.html>`_. This linking mode is used
39 forwards an argument to a ``clang`` job used to create the final GPU executable.
45 $> clang openmp.c -fopenmp --offload-arch=gfx90a -Xoffload-linker -lc
46 $> clang cuda.cu --offload-arch=sm_80 --offload-new-driver -fgpu-rdc -Xoffload-linker -lc
47 $> clang hip.hip --offload-arch=gfx940 --offload-new-driver -fgpu-rdc -Xoffload-linker -lc
60 These are located in ``<clang-resource-dir>/include/llvm-libc-wrappers`` in your
92 $> clang openmp.c -fopenmp --offload-arch=gfx90a
102 Binary format
[all …]
/external/mesa3d/src/compiler/clc/
Dmeson.build11 _libmesaclc_cpp_args = ['-DLLVM_LIB_DIR="@0@"'.format(llvm_libdir)]
15 # LLVM 16 moved clang header path from using full version to only major version
23 clang_resource_dir = join_paths(llvm_libdir, 'clang', clang_version_dir, 'include')
56 _libmesaclc_c_args += '-DHAVE_STATIC_LIBCLC_@0@'.format(s.to_upper())
57 f = '@0@-mesa3d-.spv'.format(s)
61 '@0@.zstd'.format(f),
64 output : '@0@.zstd'.format(f),
68 '@0@.h'.format(f),
71 '-n', 'libclc_@0@_mesa3d_spv'.format(s),
74 output : '@0@.h'.format(f),
[all …]
/external/angle/build/apple/
Dapple_info_plist.gni17 # and executable name as specified in the output Info.plist.
19 # format:
20 # string, the format to `plutil -convert` the plist to when
42 "format",
53 "GCC_VERSION=com.apple.compilers.llvm.clang.1_0",
/external/pigweed/pw_presubmit/py/
DBUILD.bazel34 "pw_presubmit/format/__init__.py",
35 "pw_presubmit/format/bazel.py",
36 "pw_presubmit/format/core.py",
37 "pw_presubmit/format/cpp.py",
38 "pw_presubmit/format/gn.py",
39 "pw_presubmit/format/private/__init__.py",
40 "pw_presubmit/format/private/cli.py",
41 "pw_presubmit/format/private/cli_support.py",
42 "pw_presubmit/format/python.py",
43 "pw_presubmit/format/test_data/__init__.py",
[all …]
/external/OpenCL-CTS/
DREADME.md52 See the `--help` output on each executable for the list of sub-tests available,
84 * `--compilation-program` Accepts a path to an executable (default:
86 compilation of OpenCL-C source code. This executable must match the
112 PRs to the repository are required to be `clang-format` clean to pass CI.
113 Developers can either use the `git-clang-format` tool locally to verify this
/external/bazelbuild-rules_cc/cc/private/toolchain/
Dbsd_cc_toolchain_config.bzl61 toolchain_identifier = "local_{}".format(cpu) if is_bsd else "stub_armeabi-v7a"
245 cxx_builtin_include_directories = ["/usr/lib/clang", "/usr/local/include", "/usr/include"]
255 tool_path(name = "gcc", path = "/usr/bin/clang"),
279 ctx.actions.write(out, "Fake executable")
297 executable = out,
307 executable = True,
/external/bazelbuild-rules_go/go/private/actions/
Dlink.bzl38 return "{}={}={}".format(d.label, d.importmap, d.file.path)
58 …print("Multiple copies of {} passed to the linker. Ignoring {} in favor of {}".format(d.importmap,…
67 executable = None,
75 if executable == None:
76 fail("executable is a required parameter")
117 # (clang-15.0.3):
146 for f in rpath.flags(go, d, executable = executable)
174 builder_args.add("-o", executable)
207 outputs = [executable],
209 executable = go.toolchain._builder,
[all …]
/external/pigweed/pw_toolchain/build_external/
Dllvm_clang.BUILD58 "@rules_cc//cc/toolchains/actions:c_compile_actions": ":clang",
59 "@rules_cc//cc/toolchains/actions:cpp_compile_actions": ":clang++",
86 actual = ":clang",
90 name = "clang",
92 "@platforms//os:windows": "//:bin/clang.exe",
93 "//conditions:default": "//:bin/clang",
98 "lib/clang/**/include/**",
101 ":lib-clang-include",
106 name = "clang++",
108 "@platforms//os:windows": "//:bin/clang++.exe",
[all …]
/external/lz4/build/meson/meson/tests/
Dmeson.build45 'args': ['-v', '-T@0@s'.format(fuzzer_time)],
52 'build': cc.get_id() in ['gcc', 'clang'] and
65 'args': ['-T@0@s'.format(fuzzer_time)],
82 t = executable(
152 script = find_program(lz4_source_root / 'tests/test-@0@.sh'.format(s))
155 '@0@'.format(s),
/external/jsoncpp/
DCONTRIBUTING.md48 `jsontest` executable that was compiled on your platform.
79 * a `TESTNAME.json` file, that contains the input document in JSON format.
83 The `TESTNAME.expected` file format is as follows:
146 …e modifying (or the above rules for new files), and run clang format. Meson exposes clang format w…
148 ninja -v -C build-${LIB_TYPE}/ clang-format
/external/bazelbuild-rules_cc/cc/
Dsystem_library.bzl28 .format(assignment, var_name),
56 clang = _execute_bash(repo_ctx, "which clang++")
59 elif clang:
60 return clang
88 """.format(
116 """.format(compiler)
124 """.format(dir = directory, hdr = header_name)
154 fail("Library {} could not be found".format(repo_name))
165 fail("Could not find required header {}".format(hdr))
174 hdrs_param = "hdrs = {},".format(str(hdr_names))
[all …]
/external/clang/docs/
DSourceBasedCodeCoverage.rst11 This document explains how to use clang's source-based code coverage feature.
61 % clang++ -fprofile-instr-generate -fcoverage-mapping foo.cc -o foo
184 profile format. Raw profiles may be dependent on the specific compiler
189 These formats are not forwards-compatible: i.e, a tool which uses format
190 version X will not be able to understand format version (X+k).
192 * There is a third format in play: the format of the coverage mappings emitted
204 library and executable. When the linker finds a definition of this symbol, it
209 once from each instrumented executable. This function parses
DAddressSanitizer.rst32 AddressSanitizer run-time library should be linked to the final executable, so
33 make sure to use ``clang`` (not ``ld``) for the final link step. When linking
51 % clang -O1 -g -fsanitize=address -fno-omit-frame-pointer example_UseAfterFree.cc
58 % clang -O1 -g -fsanitize=address -fno-omit-frame-pointer -c example_UseAfterFree.cc
60 % clang -g -fsanitize=address example_UseAfterFree.o
76 executable. (You can find the library by searching for dynamic libraries with
78 try to re-exec. Also keep in mind that when moving the executable to another machine,
162 path of the file relative to the location of your executable.
168 Use the following format to specify the names of the functions or libraries
DUsersManual.rst16 `Clang Web Site <http://clang.llvm.org>`_ or the `LLVM Web
23 `Clang Static Analyzer <http://clang-analyzer.llvm.org>`_, please see its web
47 Clang also provides an alternative driver, :ref:`clang-cl`, that is designed
154 output format of the diagnostics that it generates.
245 .. option:: -fdiagnostics-format=clang/msvc/vi
247 Changes diagnostic output format to better match IDEs and command line tools.
249 This option controls the output format of the filename, line number,
253 **clang** (default)
303 For example, a format string warning will produce these three
342 parsable format after the file/line/column number information. The
[all …]
/external/swiftshader/
DREADME.md41 …de to use SwiftShader's DLLs by placing them in the same folder as the executable. On Linux, the `…
72clang-format 11.0.1](tests/kokoro/gcp_ubuntu/check_style.sh). Most IDEs come with clang-format sup…
/external/perfetto/docs/contributing/
Dbuild-instructions.md169 We use `eslint` to lint TypeScript and JavaScript, and `prettier` to format
172 To auto-format all source files, run ui/format-sources, which takes care of
179 ui/format-sources
210 - Hermetic clang + libcxx toolchain (both following chromium's revisions)
217 - AOSP's in-tree clang (using in-tree libcxx)
221 - XCode 9 / clang (maintained best-effort).
225 - Windows 10 with either MSVC 2019 or clang-cl (maintained best-effort).
230 need the full IDE, just the build tools) or the LLVM clang-cl compiler.
235 clang-cl support is more stable because that build configuration is actively
255 You need all of these both for MSVC and clang-cl:
[all …]
/external/clang/docs/CommandGuide/
Dclang.rst1 clang - the Clang C, C++, and Objective-C compiler
7 :program:`clang` [*options*] *filename ...*
12 :program:`clang` is a C, C++, and Objective-C compiler which encompasses
20 The clang executable is actually a small driver which controls the overall
56 executable or dynamic library. The output of this stage is typically called
63 the same driver. Please see <http://clang-analyzer.llvm.org> for more details
92 linker is run to combine the results into an executable or shared library.
271 option transparently switches the Clang module format to object file
330 assembly files, otherwise this generates LLVM bitcode format object files
465 Do not search clang's builtin directory for include files.

1234567