| /llvm-project-15.0.7/clang/test/Index/ |
| H A D | index-pch-with-module.m | 26 // 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 D | annotate-toplevel-in-objccontainer.m | 31 // 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 D | annotate-macro-args.m | 1 // Test without PCH 5 // Test with PCH
|
| H A D | get-cursor-macro-args.m | 1 // Test without PCH 10 // Test with PCH
|
| /llvm-project-15.0.7/clang/test/Modules/ |
| H A D | resolution-change.m | 3 // 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 D | module-imported-by-pch-path.m | 15 // CHECK: module 'MyModule' in AST file '{{.*MyModule.*pcm}}' (imported by AST file '[[PCH:.*header… 17 // CHECK: imported by '[[PCH]]'
|
| H A D | implicit-private-with-different-name.m | 3 // 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 D | implicit-private-canonical.m | 2 // 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 D | load-module-with-errors.m | 4 // 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 D | validate-file-content.m | 7 // 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 D | DiagnosticSerializationKinds.td | 13 "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 D | leakfiles.test | 1 // Test that compiling using a PCH doesn't leak file descriptors. 24 // Test without PCH. 27 // Test with PCH.
|
| H A D | replaced-decl.m | 1 // Without PCH 4 // With PCH
|
| H A D | pending-ids.m | 4 // Without PCH 7 // With PCH
|
| H A D | externally-retained.m | 4 // Without PCH 7 // With PCH
|
| H A D | chain-class-extension.m | 1 // Without PCH 4 // With PCH
|
| H A D | chain-categories.m | 1 // Without PCH 4 // With PCH
|
| H A D | chain-categories2.m | 3 // Without PCH 6 // With PCH
|
| H A D | arc.m | 17 // 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 D | validate-file-content.m | 7 // 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 D | PCHInternals.rst | 9 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 D | PreprocessorOptions.h | 52 PCH = 0x1, enumerator 58 All = PCH | Module,
|
| /llvm-project-15.0.7/clang/test/CodeCompletion/ |
| H A D | pch-and-module.m | 16 // ===--- PCH 21 // ===--- PCH + Modules
|
| /llvm-project-15.0.7/lld/test/COFF/ |
| H A D | precomp-link.test | 23 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 D | CrossTranslationUnit.rst | 14 …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.
|