Home
last modified time | relevance | path

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

12345

/external/clang/test/Modules/
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" */{{$}}
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…
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 \
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 \
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
/external/clang/test/Driver/
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"
/external/clang/docs/
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 …]
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 …]
DClangPlugins.rst15 simple clang plugin.
70 example is checked into the clang repository; please take a look at
87 Note that those options must reach clang's cc1 process. There are two
91 has the downside of not configuring the default header search paths, so
94 * Use clang as usual, but prefix all arguments to the cc1 process with
98 clang, first build the plugin, and then call clang with the plugin from the
105 $ clang++ -D_GNU_SOURCE -D_DEBUG -D__STDC_CONSTANT_MACROS \
107 -I$BD/tools/clang/include -Itools/clang/include -I$BD/include -Iinclude \
108 tools/clang/tools/clang-check/ClangCheck.cpp -fsyntax-only \
116 Using the clang command line
[all …]
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 …]
/external/clang/
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.
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/dsymutil/X86/
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 -D ODR_VIOLATION_C -E -o odr_violation.c modules.m
15 clang -c -fmodules -fmodule-map-file=modules.modulemap \
18 clang -c -g odr_violation.c -o 2.o
26 // RUN: %p/dummy-debug-map.map -o %t 2>&1 | FileCheck --check-prefix=WARN %s
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
/external/llvm/test/tools/dsymutil/X86/
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
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
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-cov/
Dmultiple-objects.test3 RUN: -object %S/Inputs/multiple_objects/use_1.covmapping | FileCheck -check-prefix=REPORT %s
7 REPORT-NEXT: header.h{{ +}}25{{ +}}14{{ +}}44.00%
16 clang -std=c++11 -mllvm -enable-name-compression=false -fprofile-instr-generate -fcoverage-mapping …
17 clang -std=c++11 -mllvm -enable-name-compression=false -fprofile-instr-generate -fcoverage-mapping …
/external/swiftshader/third_party/llvm-7.0/llvm/test/DebugInfo/Generic/
Ddebug-names-one-cu.ll4 ; RUN: llvm-dwarfdump -debug-names -verify %t | FileCheck --check-prefix=VERIFY %s
6 ; Check the header
33 !2 = distinct !DICompileUnit(language: DW_LANG_C99, file: !3, producer: "clang version 7.0.0 (trunk…
41 !10 = !{!"clang version 7.0.0 (trunk 325496) (llvm/trunk 325732)"}
Ddebug-names-two-cu.ll4 ; RUN: llvm-dwarfdump -debug-names -verify %t | FileCheck --check-prefix=VERIFY %s
6 ; Check the header
41 !0 = !{!"clang version 7.0.0 (trunk 325496) (llvm/trunk 325732)"}
49 !12 = distinct !DICompileUnit(language: DW_LANG_C99, file: !3, producer: "clang version 7.0.0 (trun…
55 !22 = distinct !DICompileUnit(language: DW_LANG_C99, file: !3, producer: "clang version 7.0.0 (trun…
/external/swiftshader/third_party/llvm-7.0/llvm/test/DebugInfo/X86/
Dstring-offsets-multiple-cus.ll3 ; RUN: FileCheck --check-prefix=DEFAULT --check-prefix=BOTH %s
5 ; RUN: llvm-dwarfdump -v - | FileCheck --check-prefix=TYPEUNITS --check-prefix=BOTH %s
12 ; clang -gdwarf-5 -emit-llvm -S a.cpp
13 ; clang -gdwarf-5 -emit-llvm -S b.cpp
14 ; clang -gdwarf-5 -emit-llvm -S c.cpp
94 ; Check the .debug_str_offsets section header and make sure the referenced string
123 !2 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !3, producer: "clang version 7.0.…
134 !13 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !14, producer: "clang version 7.…
145 !24 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !25, producer: "clang version 7.…
154 !33 = !{!"clang version 7.0.0 (trunk 322415)"}
Dstring-offsets-table.ll3 ; RUN: | FileCheck --check-prefix=MONOLITHIC %s
5 ; RUN: | llvm-dwarfdump -v - | FileCheck --check-prefix=SPLIT %s
11 ; clang -S -emit-llvm -gdwarf-5
30 ; MONOLITHIC: DW_AT_producer [DW_FORM_strx1] ( indexed (00000000) string = "clang{{.*}}")
45 ; with an 8-byte header, followed by offsets into the .debug_str section.
115 !2 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !3, producer: "clang version 7.0.…
127 !14 = !{!"clang version 7.0.0 (trunk 322415)"}
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LoopInterchange/
Ddebuginfo.ll3 ; RUN: FileCheck -check-prefix=REMARK --input-file=%t %s
21 br label %for1.header
23 for1.header:
29 %j = phi i64 [ %j.next, %for2 ], [ 0, %for1.header ]
44 br i1 %exitcond26, label %for.end12, label %for1.header
56 !0 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "clang", isOptimized: true,…
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
Ddwarf-headers.ll3 ; RUN: | llvm-dwarfdump -v - | FileCheck %s --check-prefix=SINGLE-4
8 ; RUN: | llvm-dwarfdump -v - | FileCheck %s --check-prefix=O-4
9 ; RUN: llvm-dwarfdump -v %t.dwo | FileCheck %s --check-prefix=DWO-4
13 ; RUN: | llvm-dwarfdump -v - | FileCheck %s --check-prefix=SINGLE-5
18 ; RUN: | llvm-dwarfdump -v - | FileCheck %s --check-prefix=O-5
19 ; RUN: llvm-dwarfdump -v %t.dwo | FileCheck %s --check-prefix=DWO-5
38 ; the length of the header.
106 !2 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !3, producer: "clang version 5.0.…
116 !12 = !{!"clang version 5.0.0 (trunk 295942)"}
/external/conscrypt/release/
DDockerfile22 …--header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie…
31 ENV CC /opt/rh/llvm-toolset-7/root/usr/bin/clang
32 ENV CXX /opt/rh/llvm-toolset-7/root/usr/bin/clang++
56 --prefix=/usr && \
/external/llvm/test/Linker/
Dtype-unique-simple-a.ll4 ; RUN: cat %t | FileCheck %s -check-prefix=LINK
25 ; Content of header files:
71 …CompileUnit(language: DW_LANG_C_plus_plus, producer: "clang version 3.4 (http://llvm.org/git/clang
/external/swiftshader/third_party/llvm-7.0/llvm/test/Linker/
Dtype-unique-simple-a.ll4 ; RUN: cat %t | FileCheck %s -check-prefix=LINK
25 ; Content of header files:
71 …CompileUnit(language: DW_LANG_C_plus_plus, producer: "clang version 3.4 (http://llvm.org/git/clang

12345