Home
last modified time | relevance | path

Searched refs:PCH (Results 1 – 25 of 58) sorted by relevance

123

/llvm-project-15.0.7/clang/test/Index/
H A Dindex-pch-with-module.m26 // RUN: c-index-test -index-tu %t.h.pch | FileCheck %s -check-prefix=CHECK-PCH
28 // CHECK-PCH: [enteredMainFile]: {{.*[/\\]}}index-pch-with-module.m
29 // CHECK-PCH: [startedTranslationUnit]
30 // CHECK-PCH: [importedASTFile]: {{.*}}.cache{{[/\\]}}DependsOnModule.pcm | loc: 5:1 | name: "Depen…
31 // CHECK-PCH: [indexDeclaration]: kind: variable | name: pch_glob | {{.*}} | loc: 6:12
H A Dannotate-toplevel-in-objccontainer.m31 // RUN: | FileCheck -check-prefix=CHECK-PCH %s
32 // CHECK-PCH: Identifier: "meth1" [7:8 - 7:13] ObjCInstanceMethodDecl=meth1:7:8
33 // CHECK-PCH: Identifier: "meth2" [8:8 - 8:13] ObjCInstanceMethodDecl=meth2:8:8
H A Dannotate-macro-args.m1 // Test without PCH
5 // Test with PCH
H A Dget-cursor-macro-args.m1 // Test without PCH
10 // Test with PCH
/llvm-project-15.0.7/clang/test/Modules/
H A Dresolution-change.m3 // Build PCH using A from path 1
6 // Use the PCH with the same header search options; should be fine
12 // Use the PCH with no way to resolve DependsOnA
16 // Use the PCH with no way to resolve A
20 // Use the PCH and have it resolve to the other A
H A Dmodule-imported-by-pch-path.m15 // CHECK: module 'MyModule' in AST file '{{.*MyModule.*pcm}}' (imported by AST file '[[PCH:.*header…
17 // CHECK: imported by '[[PCH]]'
H A Dimplicit-private-with-different-name.m3 // Build PCH using A, with adjacent private module APrivate, which winds up being implicitly refere…
6 // Use the PCH with no explicit way to resolve APrivate, still pick it up by automatic second-chanc…
H A Dimplicit-private-canonical.m2 // Build PCH using A, with adjacent private module APrivate, which winds up being implicitly refere…
4 // Use the PCH with no explicit way to resolve APrivate, still pick it up by automatic second-chanc…
H A Dload-module-with-errors.m4 // pcherror-error@* {{PCH file contains compiler errors}}
64 // RUN: grep "PCH file contains compiler errors"
87 // the verify would fail as it would be the PCH error instead)
92 // allow-pcm-with-compiler-errors should also allow errors in PCH
H A Dvalidate-file-content.m7 // PCH+Modules: Test that a mtime mismatch without content change is fine
17 // PCH+Modules: Test that a mtime mismatch with content change
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DDiagnosticSerializationKinds.td13 "unable to read PCH file %0: '%1'">;
15 "input is not a PCH file: '%0'">;
19 "malformed block record in PCH file: '%0'">, DefaultFatal;
33 "PCH file was compiled for the %0 '%1' but the current translation "
40 "PCH file but is currently %select{disabled|enabled}2">;
42 "%0 differs in PCH file vs. current file">;
44 "the PCH file">;
49 "PCH file uses an older PCH format that is no longer supported">;
51 "PCH file uses a newer PCH format that cannot be read">;
55 "PCH file contains compiler errors">;
[all …]
/llvm-project-15.0.7/clang/test/PCH/
H A Dleakfiles.test1 // Test that compiling using a PCH doesn't leak file descriptors.
24 // Test without PCH.
27 // Test with PCH.
H A Dreplaced-decl.m1 // Without PCH
4 // With PCH
H A Dpending-ids.m4 // Without PCH
7 // With PCH
H A Dexternally-retained.m4 // Without PCH
7 // With PCH
H A Dchain-class-extension.m1 // Without PCH
4 // With PCH
H A Dchain-categories.m1 // Without PCH
4 // With PCH
H A Dchain-categories2.m3 // Without PCH
6 // With PCH
H A Darc.m17 // CHECK-ERR1: Objective-C automated reference counting was enabled in PCH file but is currently di…
18 // CHECK-ERR2: Objective-C automated reference counting was disabled in PCH file but is currently e…
H A Dvalidate-file-content.m7 // PCH only: Test that a mtime mismatch without content change is fine
16 // PCH only: Test that a mtime mismatch with content change
/llvm-project-15.0.7/clang/docs/
H A DPCHInternals.rst9 headers (PCH) and modules. If you are interested in the end-user view, please
16 for generating and using PCH files.
18 To generate PCH files using ``clang -cc1``, use the option `-emit-pch`:
24 This option is transparently used by ``clang`` when generating PCH files. The
25 resulting PCH file contains the serialized form of the compiler's internal
26 representation after it has completed parsing and semantic analysis. The PCH
49 headers stored within the PCH file. Thus, a precompiled header design
53 * The cost of generating the PCH file initially is not so large that it
57 build when all compilations require the PCH file to be up-to-date.
115 existing PCH, Clang can create the new PCH by referencing the original file and
[all …]
/llvm-project-15.0.7/clang/include/clang/Lex/
H A DPreprocessorOptions.h52 PCH = 0x1, enumerator
58 All = PCH | Module,
/llvm-project-15.0.7/clang/test/CodeCompletion/
H A Dpch-and-module.m16 // ===--- PCH
21 // ===--- PCH + Modules
/llvm-project-15.0.7/lld/test/COFF/
H A Dprecomp-link.test23 Check that a PCH object file with a missing S_OBJNAME record results in an
40 FAILURE-NO-SIGNATURE: error: {{.*}}.obj claims to be a PCH object, but does not have a valid signat…
42 Check that two PCH objs with duplicate signatures are an error.
48 FAILURE-DUP-SIGNATURE: error: a PCH object with the same signature has already been provided ({{.*p…
/llvm-project-15.0.7/clang/docs/analyzer/user-docs/
H A DCrossTranslationUnit.rst14 …be used in a variety of ways. The importing of external TU definitions can work with pre-dumped PCH
21 PCH-based analysis
23 The analysis needs the PCH dumps of all the translations units used in the project.
25 The index, which maps symbols' USR names to PCH dumps containing them must also be generated by the
27 is to use PCH-based analysis, as the lack of that extension signals that the entry is to be used as…
71 …o inline the definition of `foo` from `foo.cpp` first we have to generate the `AST` (or `PCH`) file
216 is to use On-demand analysis, as that extension signals that the entry is to be used as an PCH-dump.

123