Home
last modified time | relevance | path

Searched refs:pch (Results 1 – 25 of 144) sorted by relevance

123456

/llvm-project-15.0.7/clang/test/Modules/
H A Dstress-objc.m3 // RUN: %clang_cc1 -emit-pch -x objective-c-header %s -o %t_c00.pch -fno-pch-timestamp
4 // RUN: %clang_cc1 -emit-pch -x objective-c-header %s -o %t_c00_1.pch -fno-pch-timestamp
5 // RUN: diff %t_c00.pch %t_c00_1.pch
7 // RUN: %clang_cc1 -emit-pch -x objective-c-header %s -o %t_c00_2.pch -fno-pch-timestamp
8 // RUN: diff %t_c00.pch %t_c00_2.pch
10 // RUN: %clang_cc1 -emit-pch -x objective-c-header %s -o %t_c00_3.pch -fno-pch-timestamp
11 // RUN: diff %t_c00.pch %t_c00_3.pch
13 // RUN: %clang_cc1 -emit-pch -x objective-c-header %s -o %t_c00_4.pch -fno-pch-timestamp
14 // RUN: diff %t_c00.pch %t_c00_4.pch
16 // RUN: %clang_cc1 -emit-pch -x objective-c-header %s -o %t_c00_5.pch -fno-pch-timestamp
[all …]
H A Ddiagnostic-options-out-of-date.m4 // Build pch that imports A.pcm
5 …t-pch -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -o %t.pch -I %S/Inputs -x objective…
6 // Make sure that we don't rebuild A.pcm and overwrite the original A.pcm that the pch imports
8 // Make sure we don't error out when using the pch
9 …t -fmodules -fimplicit-module-maps -fsyntax-only -I %S/Inputs -include-pch %t.pch %s -verify -fmod…
13 // Build pch that imports A.pcm
14 …t-pch -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -o %t.pch -I %S/Inputs -x objective…
15 // We will rebuild A.pcm and overwrite the original A.pcm that the pch imports, but the two version…
17 // Make sure we don't error out when using the pch
18 …-path=%t -fmodules -fimplicit-module-maps -fsyntax-only -I %S/Inputs -include-pch %t.pch %s -verify
H A Dcrash-vfs-include-pch.m6 // RUN: %clang_cc1 -x objective-c-header -emit-pch %S/Inputs/pch-used.h \
7 // RUN: -o %t/out/pch-used.h.pch -fmodules -fimplicit-module-maps \
12 // RUN: not %clang %s -E -include-pch %t/out/pch-used.h.pch -fmodules -nostdlibinc \
14 // RUN: -Xclang -fno-validate-pch -isystem %S/Inputs/System/usr/include \
28 // CHECKSH: "-include-pch" "/[[INCPATH:.*]]/out/pch-used.h.pch"
41 // CHECKYAML-NEXT: 'name': "pch-used.h.pch",
42 // CHECKYAML-NEXT: 'external-contents': "/[[PATH]]/out/pch-used.h.pch"
H A Dignored_macros.m3 …dules -DIGNORED=1 -fmodules -fimplicit-module-maps -I %S/Inputs -emit-pch -o %t.pch -x objective-c…
4 …%t.modules -DIGNORED=1 -fmodules -fimplicit-module-maps -I %S/Inputs -include-pch %t.pch %s -verify
10 …e-path=%t.modules -fmodules -fimplicit-module-maps -I %S/Inputs -emit-pch -o %t.pch -x objective-c…
11 …ules -DIGNORED=1 -fmodules -fimplicit-module-maps -I %S/Inputs -include-pch %t.pch %s > %t.err 2>&1
19 …e-path=%t.modules -fmodules -fimplicit-module-maps -I %S/Inputs -emit-pch -o %t.pch -x objective-c…
20 …les -DIGNORED=1 -fmodules -fimplicit-module-maps -I %S/Inputs -include-pch %t.pch -fmodules-ignore…
26 …ore-macro=IGNORED -fmodules -fimplicit-module-maps -I %S/Inputs -emit-pch -o %t.pch -x objective-c…
27 …les -DIGNORED=1 -fmodules -fimplicit-module-maps -I %S/Inputs -include-pch %t.pch -fmodules-ignore…
33 …e-macro=IGNORED=1 -fmodules -fimplicit-module-maps -I %S/Inputs -emit-pch -o %t.pch -x objective-c…
34 …les -DIGNORED=1 -fmodules -fimplicit-module-maps -I %S/Inputs -include-pch %t.pch -fmodules-ignore…
H A Dva_list.m5 // RUN: -x objective-c-header %s -o %t.pch -emit-pch
7 // Include the pch, as a basic correctness check.
9 … -fmodules-ignore-macro=PREFIX -I %S/Inputs/va_list -Wno-error=implicit-int -include-pch %t.pch \
12 // Repeat the previous emit-pch, but not we will have a global module index.
14 // emitted into the pch.
17 // RUN: -x objective-c-header %s -o %t.pch -emit-pch
19 // Include the pch, which now has __va_list_tag in it, which needs to be merged.
21 … -fmodules-ignore-macro=PREFIX -Wno-error=implicit-int -I %S/Inputs/va_list -include-pch %t.pch \
H A Dresolution-change.m4 …ules-with-same-name/DependsOnA -I %S/Inputs/modules-with-same-name/path1/A -emit-pch -o %t-A.pch %s
7 …-name/DependsOnA -I %S/Inputs/modules-with-same-name/path1/A -include-pch %t-A.pch %s -fsyntax-onl…
10 …-name/DependsOnA -I %S/Inputs/modules-with-same-name/path1/A -include-pch %t-A.pch %s -fsyntax-onl…
13 …cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -include-pch %t-A.pch %s -fsyntax-onl…
14 …pendsOnA' in AST file '{{.*DependsOnA.*pcm}}' (imported by AST file '{{.*A.pch}}') is not defined …
17 …cache-path=%t -I %S/Inputs/modules-with-same-name/DependsOnA -include-pch %t-A.pch %s -fsyntax-onl…
21 …-name/DependsOnA -I %S/Inputs/modules-with-same-name/path2/A -include-pch %t-A.pch %s -fsyntax-onl…
24 …pch -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I %S/Inputs/modules-with-same-name/D…
H A Dmacro-undef-through-pch.m3 // RUN: -I%S/Inputs/macro-undef-through-pch -emit-pch \
4 // RUN: %S/Inputs/macro-undef-through-pch/foo.h -o %t.pch
6 // RUN: -I%S/Inputs/macro-undef-through-pch -emit-pch \
7 // RUN: -include-pch %t.pch %s
H A Dimplicit-private-canonical.m3 …fmodules-cache-path=%t -F %S/Inputs/implicit-private-canonical -emit-pch -o %t-A.pch %s -Wprivate-…
5 …odules-cache-path=%t -F %S/Inputs/implicit-private-canonical -include-pch %t-A.pch %s -fsyntax-onl…
8 …fmodules-cache-path=%t -F %S/Inputs/implicit-private-canonical -emit-pch -o %t-A.pch %s -Wprivate-…
9 …odules-cache-path=%t -F %S/Inputs/implicit-private-canonical -include-pch %t-A.pch %s -fsyntax-onl…
12 …fmodules-cache-path=%t -F %S/Inputs/implicit-private-canonical -emit-pch -o %t-A.pch %s -Wprivate-…
13 …odules-cache-path=%t -F %S/Inputs/implicit-private-canonical -include-pch %t-A.pch %s -fsyntax-onl…
H A Dredecls.m2 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps %s -emit-pch -o %t1.pch -fmodules-cache-path=%t…
3 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps %s -emit-pch -o %t2.pch -include-pch %t1.pch -f…
4 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps %s -fsyntax-only -include-pch %t2.pch -I %S/Inp…
H A Dpch-with-module-name.m2 …odule-maps -fmodules-cache-path=%t -I %S/Inputs/pch-with-module-name -emit-pch -o %t-A.pch %S/Inpu…
3 …licit-module-maps -fmodules-cache-path=%t -I %S/Inputs/pch-with-module-name -include-pch %t-A.pch …
H A Dpch-used.m4 // RUN: %clang_cc1 -x objective-c-header -emit-pch %S/Inputs/pch-used.h -o %t/pch-used.h.pch -fmodu…
5 // RUN: %clang_cc1 %s -include-pch %t/pch-used.h.pch -fmodules -fimplicit-module-maps -fmodules-cac…
H A Dpch-module-macro.m2 …t-pch -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -o %t.pch -I %S/Inputs -x objective…
3 …-path=%t -fmodules -fimplicit-module-maps -fsyntax-only -I %S/Inputs -include-pch %t.pch %s -verify
H A Dmodule-imported-by-pch-with-modulemap.m2 // RUN: mkdir -p %t.dst/folder-with-modulemap %t.dst/pch-folder
8 // RUN: %clang_cc1 -emit-pch -o %t.dst/pch-folder/header.pch -fmodule-map-file=%t.dst/folder-with-m…
9 …-path=%t.cache -fmodules -fimplicit-module-maps %s -include-pch %t.dst/pch-folder/header.pch -veri…
H A Dbuiltins.m7 // RUN: rm -rf %t.pch.cache
8 …UN: %clang_cc1 -fmodules-cache-path=%t.pch.cache -fmodules -fimplicit-module-maps -I %S/Inputs -em…
9 …: %clang_cc1 -fmodules-cache-path=%t.pch.cache -fmodules -fimplicit-module-maps -I %S/Inputs %s -i…
H A Dvalidate-file-content.m13 // RUN: %clang_cc1 -emit-pch -fmodules-cache-path=%t/cache -fmodules -fimplicit-module-maps -o %t/a…
15 …s-cache-path=%t/cache -fmodules -fimplicit-module-maps -I %t -include-pch %t/a.pch %s -verify -fva…
23 // RUN: %clang_cc1 -emit-pch -fmodules-cache-path=%t/cache -fmodules -fimplicit-module-maps -o %t/a…
26 …s-cache-path=%t/cache -fmodules -fimplicit-module-maps -I %t -include-pch %t/a.pch %s -fvalidate-a…
29 …[/\\]m\.h]]' has been modified since the precompiled header '[[A_PCH:.*/a\.pch]]' was built: conte…
/llvm-project-15.0.7/clang/test/PCH/
H A Dheadermap.m3 // RUN: %clang_cc1 -x objective-c -emit-pch -o %t.h.pch %S/headermap.h
4 // RUN: %clang_cc1 -include-pch %t.h.pch %s
6 // RUN: %clang_cc1 -x objective-c -emit-pch -o %t.h.pch %S/headermap.h
7 // RUN: %clang_cc1 -include-pch %t.h.pch -I%t.hmap %s
9 // RUN: %clang_cc1 -x objective-c -I%t.hmap -emit-pch -o %t.h.pch %S/headermap.h
10 // RUN: %clang_cc1 -include-pch %t.h.pch %s
12 // RUN: %clang_cc1 -x objective-c -I%t.hmap -emit-pch -o %t.h.pch %S/headermap.h
13 // RUN: %clang_cc1 -include-pch %t.h.pch -I%t.hmap %s
H A Dverify_pch.m8 // RUN: %clang_cc1 -isystem %t/usr/include -x objective-c-header -emit-pch -o %t.pch %t.h
11 // RUN: %clang_cc1 -isystem %t/usr/include -verify-pch %t.pch
14 // RUN: %clang_cc1 -isystem %t/usr/include -x objective-c -fno-builtin -verify-pch %t.pch
18 // RUN: not %clang_cc1 -isystem %t/usr/include -verify-pch %t.pch 2> %t.log.2
20 // CHECK-STALE-DEP: file '{{.*}}.h' has been modified since the precompiled header '{{.*}}.pch' was…
23 // RUN: %clang_cc1 -isystem %t/usr/include -x objective-c-header -emit-pch -o %t.pch %t.h
24 // RUN: %clang_cc1 -isystem %t/usr/include -verify-pch %t.pch
26 // RUN: not %clang_cc1 -isystem %t/usr/include -verify-pch %t.pch 2> %t.log.3
28 …-H: file '{{.*}}sys_header.h' has been modified since the precompiled header '{{.*}}.pch' was built
H A Darc.m2 // Test this without pch.
5 // Test with pch.
6 // RUN: %clang_cc1 -emit-pch -fblocks -triple x86_64-apple-darwin11 -fobjc-arc -x objective-c-heade…
7 // RUN: %clang_cc1 -fblocks -triple x86_64-apple-darwin11 -fobjc-arc -include-pch %t -fsyntax-only …
9 // Test error when pch's -fobjc-arc state is different.
10 // RUN: not %clang_cc1 -fblocks -triple x86_64-apple-darwin11 -include-pch %t -fsyntax-only -emit-l…
11 // RUN: %clang_cc1 -emit-pch -fblocks -triple x86_64-apple-darwin11 -x objective-c-header -o %t %S/…
12 // RUN: not %clang_cc1 -fblocks -triple x86_64-apple-darwin11 -fobjc-arc -include-pch %t -fsyntax-o…
H A Dvalidate-file-content.m12 // RUN: %clang_cc1 -emit-pch -o %t/a.pch -I %t -x objective-c-header %t/a.h -fvalidate-ast-input-fi…
14 // RUN: %clang_cc1 -fsyntax-only -I %t -include-pch %t/a.pch %s -verify -fvalidate-ast-input-files-…
21 // RUN: %clang_cc1 -emit-pch -o %t/a.pch -I %t -x objective-c-header %t/a.h -fvalidate-ast-input-fi…
24 // RUN: not %clang_cc1 -fsyntax-only -I %t -include-pch %t/a.pch %s -fvalidate-ast-input-files-cont…
27 …[/\\]m\.h]]' has been modified since the precompiled header '[[A_PCH:.*/a\.pch]]' was built: conte…
/llvm-project-15.0.7/clang/test/CodeGenOpenCL/
H A Drelaxed-fpmath.cl9 …%clang_cc1 %s -DGEN_PCH=1 -finclude-default-header -triple spir-unknown-unknown -emit-pch -o %t.pch
10 // RUN: %clang_cc1 %s -include-pch %t.pch -fno-validate-pch -emit-llvm -o - | FileCheck %s -check-p…
11 // RUN: %clang_cc1 %s -include-pch %t.pch -fno-validate-pch -emit-llvm -cl-fast-relaxed-math -o - |…
12 // RUN: %clang_cc1 %s -include-pch %t.pch -fno-validate-pch -emit-llvm -cl-finite-math-only -o - | …
13 // RUN: %clang_cc1 %s -include-pch %t.pch -fno-validate-pch -emit-llvm -cl-unsafe-math-optimization…
14 // RUN: %clang_cc1 %s -include-pch %t.pch -fno-validate-pch -emit-llvm -cl-mad-enable -o - | FileCh…
15 // RUN: %clang_cc1 %s -include-pch %t.pch -fno-validate-pch -emit-llvm -cl-no-signed-zeros -o - | F…
/llvm-project-15.0.7/clang/test/Driver/
H A Dverify_pch.m1 // RUN: touch %t.pch
2 // RUN: %clang -### -verify-pch %t.pch 2> %t.log.1
4 // CHECK: -verify-pch
6 // Also ensure that the language setting is not affected by the .pch extension
9 // RUN: %clang -### -verify-pch -x objective-c %t.pch 2> %t.log.2
/llvm-project-15.0.7/clang/test/ARCMT/
H A Dmigrate-with-pch.m2 // RUN: %clang_cc1 -x objective-c %S/Common.h -emit-pch -o %t.pch
3 …cmt-action=migrate -mt-migrate-directory %t %S/Inputs/test1.m.in -x objective-c -include-pch %t.pch
4 …cmt-action=migrate -mt-migrate-directory %t %S/Inputs/test2.m.in -x objective-c -include-pch %t.pch
H A Dobjcmt-with-pch.m.result3 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -x objective-c %S/Common.h -emit-pch -o %t.pch
4 …iterals -objcmt-migrate-subscripting -mt-migrate-directory %t %s -x objective-c -include-pch %t.pch
6 …%clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c %s.result -include-pch %t.pch
H A Dobjcmt-with-pch.m3 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -x objective-c %S/Common.h -emit-pch -o %t.pch
4 …iterals -objcmt-migrate-subscripting -mt-migrate-directory %t %s -x objective-c -include-pch %t.pch
6 …%clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c %s.result -include-pch %t.pch
/llvm-project-15.0.7/clang/test/CodeCompletion/
H A Dpch-and-module.m18 // RUN: c-index-test -write-pch %t/import_moduleA.pch -x objective-c-header %S/Inputs/import_module…
19 // RUN: c-index-test -code-completion-at=%s:5:11 %s -include-pch %t/import_moduleA.pch -I %S/Inputs…
23 // RUN: c-index-test -write-pch %t/import_moduleA.pch -x objective-c-header %S/Inputs/import_module…
24 // RUN: c-index-test -code-completion-at=%s:5:11 %s -include-pch %t/import_moduleA.pch -I %S/Inputs…

123456