Home
last modified time | relevance | path

Searched +refs:clang +refs:prefix +refs:header (Results 1 – 25 of 300) sorted by relevance

12345678910>>...12

/aosp_15_r20/external/clang/test/Modules/
H A Dpreprocess.m2 …th=%t -I %S/Inputs -I %S/Inputs/preprocess -include %S/Inputs/preprocess-prefix.h -E %s | FileChec…
3 …t -I %S/Inputs -I %S/Inputs/preprocess -x objective-c-header -emit-pch %S/Inputs/preprocess-prefix
6 …s -I %S/Inputs/preprocess -x objective-c++ -include %S/Inputs/preprocess-prefix.h -E %s | FileChec…
7 …-I %S/Inputs -I %S/Inputs/preprocess -x objective-c++-header -emit-pch %S/Inputs/preprocess-prefix
19 // CHECK-NEXT: @import diamond_left; /* clang -E: implicit import for "{{.*}}diamond_left.h" */{{$}}
21 // CHECK: @import diamond_right; /* clang -E: implicit import for "{{.*}}diamond_right.h" */{{$}}
22 // CHECK: @import diamond_right; /* clang -E: implicit import for "{{.*}}diamond_right.h" */{{$}}
23 // CHECK: @import file; /* clang -E: implicit import for "{{.*}}file.h" */{{$}}
H A Dcrash-vfs-path-symlink-component.m6 // Test that clang is capable of collecting the right header files in the
15 // RUN: %clang -fsyntax-only %s -I %/t/i -isysroot %/t/sysroot/ \
18 // RUN: FileCheck --check-prefix=CHECKSRC %s -input-file %t/crash-vfs-*.m
19 // RUN: FileCheck --check-prefix=CHECKSH %s -input-file %t/crash-vfs-*.sh
20 // RUN: FileCheck --check-prefix=CHECKYAML %s -input-file \
56 // Test that by using the previous generated YAML file clang is able to find the
63 // RUN: %clang -E %s -I %/t/i -isysroot %/t/sysroot/ \
66 // RUN: | FileCheck %s --check-prefix=CHECKOVERLAY
68 // CHECKOVERLAY: @import cstd.stdio; /* clang -E: implicit import for "/{{[^ ].*}}/i/usr/x/../stdio…
H A Dcrash-vfs-path-emptydir-entries.m6 // Test clang can collect symbolic link headers used in modules.
7 // crash reproducer if there's a symbolic link header file used in a module.
14 // RUN: %clang -fsyntax-only %s -I %/t/i -isysroot %/t/sysroot/ \
17 // RUN: FileCheck --check-prefix=CHECKSRC %s -input-file %t/crash-vfs-*.m
18 // RUN: FileCheck --check-prefix=CHECKSH %s -input-file %t/crash-vfs-*.sh
19 // RUN: FileCheck --check-prefix=CHECKYAML %s -input-file \
H A Dcrash-vfs-path-symlink-topheader.m6 // Test clang can collect symbolic link headers used in modules.
7 // crash reproducer if there's a symbolic link header file used in a module.
16 // RUN: %clang -fsyntax-only %s -I %/t/i -isysroot %/t/sysroot/ \
19 // RUN: FileCheck --check-prefix=CHECKSRC %s -input-file %t/crash-vfs-*.m
20 // RUN: FileCheck --check-prefix=CHECKSH %s -input-file %t/crash-vfs-*.sh
21 // RUN: FileCheck --check-prefix=CHECKYAML %s -input-file \
H A Dcrash-vfs-run-reproducer.m7 // RUN: %clang -fsyntax-only -nostdinc %s \
11 // RUN: FileCheck --check-prefix=CHECKSRC %s -input-file %t/crash-vfs-*.m
12 // RUN: FileCheck --check-prefix=CHECKSH %s -input-file %t/crash-vfs-*.sh
13 // RUN: FileCheck --check-prefix=CHECKYAML %s -input-file \
51 // support is re-building the modules relying solely on the header files dumped
/aosp_15_r20/external/pytorch/c10/
H A Dovrsource_defs.bzl39 "ovr_config//toolchain/clang:win": [
125 header = "c10/macros/cmake_macros.h",
126 prefix = "ovrsource_c10_mobile_",
132 header = "c10/macros/cmake_macros.h",
133 prefix = "ovrsource_c10_non_mobile_",
159 header = "c10/cuda/impl/cuda_cmake_macros.h",
160 prefix = "ovrsource",
192 "ovr_config//toolchain/clang:win": [
230 # "ovr_config//compiler:clang": [
262 # "ovr_config//compiler:clang": [
/aosp_15_r20/external/libvpx/build/make/
H A Dconfigure.sh336 header=$1
338 var=`echo $header | sed 's/[^A-Za-z0-9_]/_/g'`
358 *c++-analyzer|*clang++|*g++*)
700 --prefix=*)
701 prefix="${optval}"
706 --libc|--as|--prefix|--libdir)
731 prefix="${prefix:-/usr/local}"
732 prefix="${prefix%/}"
733 libdir="${libdir:-${prefix}/lib}"
735 if [ "${libdir#${prefix}}" = "${libdir}" ]; then
[all …]
/aosp_15_r20/external/clang/test/Driver/
H A Dverify_pch.m2 // RUN: %clang -### -verify-pch %t.pch 2> %t.log.1
7 // CHECK-NOT: "-x" "precompiled-header"
9 // RUN: %clang -### -verify-pch -x objective-c %t.pch 2> %t.log.2
10 // RUN: FileCheck -check-prefix=CHECK2 %s < %t.log.2
12 // CHECK2-NOT: "-x" "precompiled-header"
/aosp_15_r20/external/angle/build/toolchain/apple/
H A Dtoolchain.gni10 import("//build/config/clang/clang.gni")
156 prefix = rebase_path("$clang_base_path/bin/", root_build_dir)
157 _cc = "${prefix}clang"
158 _cxx = "${prefix}clang++"
162 # Compute the compiler prefix.
170 # C/C++ (clang) rewrapper prefix to use when use_reclient is true.
182 # Set the explicit search path for clang++ so it uses the right linker
214 _installnametoolpath = "${prefix}llvm-install-name-tool"
232 rebase_path("//tools/clang/dsymutil/bin/dsymutil",
284 # We must always prefix with `lib` even if the library already starts
[all …]
/aosp_15_r20/external/cronet/build/toolchain/apple/
H A Dtoolchain.gni10 import("//build/config/clang/clang.gni")
155 prefix = rebase_path("$clang_base_path/bin/", root_build_dir)
156 _cc = "${prefix}clang"
157 _cxx = "${prefix}clang++"
161 # Compute the compiler prefix.
169 # C/C++ (clang) rewrapper prefix to use when use_remoteexec is true.
181 # Set the explicit search path for clang++ so it uses the right linker
213 _installnametoolpath = "${prefix}llvm-install-name-tool"
231 rebase_path("//tools/clang/dsymutil/bin/dsymutil",
283 # We must always prefix with `lib` even if the library already starts
[all …]
/aosp_15_r20/external/clang/docs/
H A DPTHInternals.rst10 Using Pretokenized Headers with ``clang`` (Low-level Interface)
13 The Clang compiler frontend, ``clang -cc1``, supports three command line
16 To generate PTH files using ``clang -cc1``, use the option ``-emit-pth``:
20 $ clang -cc1 test.h -emit-pth -o test.h.pth
22 This option is transparently used by ``clang`` when generating PTH
23 files. Similarly, PTH files can be used as prefix headers using the
28 $ clang -cc1 -include-pth test.h.pth test.c -o test.s
31 "content" cache) of the source included by the original header file.
33 for *any* source files that are used by ``clang -cc1`` to process a
40 $ clang -cc1 -emit-pth test.h -o test.h.pth
[all …]
H A 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
245 .. option:: -fdiagnostics-format=clang/msvc/vi
253 **clang** (default)
529 Disable auto-generation of preprocessed source files during a clang crash.
563 $ clang -O2 -Rpass=inline code.cc -o code
683 by running '``clang --print-diagnostic-categories``'.
711 particularly useful when writing a header file that will be compiled by
723 #pragma clang diagnostic ignored "-Wextra-tokens"
[all …]
H A DPCHInternals.rst12 Using Precompiled Headers with ``clang``
15 The Clang compiler frontend, ``clang -cc1``, supports two command line options
18 To generate PCH files using ``clang -cc1``, use the option `-emit-pch`:
22 $ clang -cc1 test.h -emit-pch -o test.h.pch
24 This option is transparently used by ``clang`` when generating PCH files. The
27 file can then be used as a prefix header with the `-include-pch`
32 $ clang -cc1 -include-pch test.h.pch test.c -o test.s
42 header (PCH file). Then, when compiling the source files in the project, we
43 load the PCH file first (as a prefix header), which acts as a stand-in for that
46 A precompiled header implementation improves performance when:
[all …]
/aosp_15_r20/external/rust/beto-rust/nearby/presence/np_c_ffi/cbindgen_configs/
Dc_config.toml3 # Instead go through CPP generated header
7 header = """ qkey
23 // clang-format off
26 // clang-format on
45 prefix = "np_ffi_" qkey
/aosp_15_r20/external/llvm/test/tools/dsymutil/X86/
H A Dmodules.m4 header "Foo.h"
8 header "Bar.h"
12 clang -D BAR_H -E -o Bar.h modules.m
13 clang -D FOO_H -E -o Foo.h modules.m
14 clang -cc1 -emit-obj -fmodules -fmodule-map-file=modules.modulemap \
24 // RUN: %p/dummy-debug-map.map -o %t 2>&1 | FileCheck --check-prefix=WARN %s
H A Dmodule-warnings.test4 # header "Foo.h"
8 # header "Bar.h"
15 # clang -cc1 -emit-obj -fmodules -fmodule-map-file=modules.modulemap \
41 # RUN: | FileCheck %s --check-prefix=STATIC
/aosp_15_r20/external/clang/
H A DINSTALL.txt12 source code is located at $LLVM_SRC_ROOT, then the clang source code should be
15 $LLVM_SRC_ROOT/tools/clang
17 The directory is not required to be called clang, but doing so will allow the
27 Assuming you installed clang at $LLVM_SRC_ROOT/tools/clang then Clang will
44 compiler and header files into the prefix directory selected when LLVM was
47 The Clang compiler is available as 'clang' and 'clang++'. It supports a gcc like
48 command line interface. See the man page for clang for more information.
/aosp_15_r20/external/zlib/patches/
H A D0005-infcover-gtest.patch21 +// clang-format off
101 -local void mem_used(z_stream *strm, char *prefix)
102 +local void mem_used(z_stream *strm, const char *prefix)
107 - fprintf(stderr, "%s: %lu allocated\n", prefix, zone->total);
108 + std::cout << prefix << ": " << zone->total << " allocated" << std::endl;
112 -local void mem_high(z_stream *strm, char *prefix)
113 +local void mem_high(z_stream *strm, const char *prefix)
118 - fprintf(stderr, "%s: %lu high water mark\n", prefix, zone->highwater);
119 + std::cout << prefix << ": " << zone->highwater << " high water mark" << std::endl;
123 -local void mem_done(z_stream *strm, char *prefix)
[all …]
/aosp_15_r20/prebuilts/cmake/linux-x86/share/cmake-3.22/Modules/Platform/
DWindows-Clang.cmake11 set(__pch_header_C "c-header")
12 set(__pch_header_CXX "c++-header")
13 set(__pch_header_OBJC "objective-c-header")
14 set(__pch_header_OBJCXX "objective-c++-header")
101 set(CMAKE_PCH_PROLOGUE "#pragma clang system_header")
143 "Use either clang or MSVC as both C and C++ compilers.")
150 "like variants. This is not supported. Use either clang/clang++ "
151 "or clang-cl as both C and C++ compilers.")
174 # Set the clang option forwarding prefix for clang-cl usage in the llvm-rc processing stage
175 __enable_llvm_rc_preprocessing("-clang:" "")
/aosp_15_r20/external/skia/toolchain/
H A Ddownload_linux_amd64_toolchain.bzl19 # The clang from CIPD has no prefix, and we download it directly from our GCS bucket
20 # This is clang 15.0.1 and iwyu built from source.
26 # (libm), etc. linux-libc-dev has the header files specific to linux. libc6-dev has the libc
173 def _download_and_extract_deb(ctx, deb, sha256, prefix, output = ""):
189 stripPrefix = prefix,
196 # Download the clang toolchain (the extraction can take a while)
218 # It is all locations that our toolchain could find a system header.
222 "lib/clang/15.0.1/include",
261 "bin/clang",
268 "lib/clang/15.0.1/**",
[all …]
/aosp_15_r20/build/bazel/rules/aidl/
H A Daidl_interface_test.bzl269 if arg.startswith("-header-filter="):
276 "did not find header-filter in ClangTidy actions: `%s`" % (
282 # configuration prefix ST-<hash>). So instead (lacking regexes) we can just check
283 # that the beginning and end of the header-filter is correct.
284 expected_header_filter_prefix = "-header-filter=" + paths.join(ctx.genfiles_dir.path)
290 "expected header-filter to start with `%s`; but was `%s`" % (
298 "expected header-filter to end with `%s`; but was `%s`" % (
373 …"-warnings-as-errors=*,-clang-analyzer-deadcode.DeadStores,-clang-analyzer-cplusplus.NewDeleteLeak…
381 …"-warnings-as-errors=*,-clang-analyzer-deadcode.DeadStores,-clang-analyzer-cplusplus.NewDeleteLeak…
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/ratio/doc/
Dratio.qbk193 __Boost_Ratio is a header only library, so no need to compile anything, you just need to `include <…
283 * clang 1.6
284 * clang 2.9
285 * clang 2.9 -std=c++0x
286 * clang 3.0
287 * clang 3.0 -std=c++0x
288 * clang 3.1
289 * clang 3.1 -std=c++0x
290 * clang 3.1 -std=c++0x -stdlib=libc++
291 * clang 3.2
[all …]
/aosp_15_r20/external/llvm/test/DebugInfo/X86/
H A Ddwarf-public-names.ll2 ; RUN: llvm-dwarfdump -debug-dump=pubnames %t.o | FileCheck --check-prefix=LINUX %s
4 ; RUN: llvm-dwarfdump -debug-dump=pubnames %t.o | FileCheck --check-prefix=NOPUB %s
6 ; RUN: llvm-dwarfdump -debug-dump=pubnames %t.o | FileCheck --check-prefix=NOPUB %s
44 ; Skip the output to the header of the pubnames section.
99 …CompileUnit(language: DW_LANG_C_plus_plus, producer: "clang version 3.3 (http://llvm.org/git/clang
/aosp_15_r20/external/llvm/docs/
H A DGettingStarted.rst15 contains all of the tools, libraries, and header files needed to use LLVM. It
20 The second piece is the `Clang <http://clang.llvm.org/>`_ front end. This
33 Getting Started <http://clang.llvm.org/get_started.html>`_ page might also be a
53 * ``svn co http://llvm.org/svn/llvm-project/cfe/trunk clang``
307 causes Clang to refuse to compile condition_variable header file. At the time
359 % $PWD/../gcc-4.8.2/configure --prefix=$HOME/toolchains --enable-languages=c,c++
391 or install Clang into the same prefix (``$HOME/toolchains`` above) as GCC.
392 Clang will look within its own prefix for libstdc++ and use it if found. You
393 can also add an explicit prefix for Clang to look in for a GCC toolchain with
394 the ``--gcc-toolchain=/opt/my/gcc/prefix`` flag, passing it to both compile and
[all …]
/aosp_15_r20/external/pigweed/docs/style/
H A Dcpp.rst33 Pigweed uses `clang-format <https://clang.llvm.org/docs/ClangFormat.html>`_ to
34 automatically format Pigweed source code. A ``.clang-format`` configuration is
40 ``clang-format`` prior to submission. Existing code may be reformatted at any
43 If ``clang-format`` formats code in an undesirable or incorrect way, it can be
44 disabled for the affected lines by adding ``// clang-format off``.
45 ``clang-format`` must then be re-enabled with a ``// clang-format on`` comment.
49 // clang-format off
55 // clang-format on
60 ``<cstdlib>`` instead of ``<stdlib.h>``). If the header is used by both C and
61 C++ code, only the C header should be used.
[all …]

12345678910>>...12