llvm-project/clang/test/Modules
Fangrui Song fa7bc386ec [modules] Support zstd in .pcm file
Extend SM_SLOC_BUFFER_BLOB_COMPRESSED to allow zstd, which is much faster
(compression/decompression) than zlib with a similar compression ratio.

An alternative is to add a value beside SM_SLOC_BUFFER_BLOB_COMPRESSED, but
reusing SM_SLOC_BUFFER_BLOB_COMPRESSED slightly simplifies the implementation
and leads to better diagnostics when a slightly older Clang consumes zstd
compressed blob.

Compressing AST takes a small portion of WriteAST, so we can pick a higher
compression level.

Compiling a relatively large .pcm (absl endian) with -fmodules-embed-all-files,
zstd level 9 has comparable performance with zlib-chromium level 6 (default),
but provides smaller output (5809156 => 5796016). Higher zstd levels will make
"Compress AST" notably slower and do not provide significant more size saving.

```
2.219345 Total ExecuteCompiler
0.746799 Total Frontend
0.736862 Total Source
0.339434 Total ReadAST
0.165452 Total WriteAST
0.043045 Total Compress AST
0.008236 Total ParseClass
0.00633 Total InstantiateClass
0.001887 Total isPotentialConstantExpr
0.001808 Total InstantiateFunction
0.001535 Total EvaluateForOverflow
0.000986 Total EvaluateAsRValue
0.000536 Total EvaluateAsBooleanCondition
0.000308 Total EvaluateAsConstantExpr
0.000156 Total EvaluateAsInt
3.4e-05 Total EvaluateKnownConstInt
8e-06 Total EvaluateAsInitializer
0 Total PerformPendingInstantiations
```

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D137885
2022-11-23 11:27:49 -08:00
..
Inputs Enforce module decl-use restrictions and private header restrictions in textual headers 2022-09-06 17:12:57 -07:00
ASTSignature.c [NFC] Make AST_BLOCK_HASH test more robust with downstream changes 2020-06-19 09:41:15 +01:00
DebugInfo-fmodule-name.c
DebugInfoNamespace.cpp [AIX][ZOS] Disable LIT tests on AIX and z/OS due to lack of Objective-C support 2021-09-16 14:04:42 -04:00
DebugInfoSubmoduleImport.c [AIX] Disable tests failing due to missing DWARF sections 2021-10-08 12:06:38 -04:00
DebugInfoSubmodules.c
DebugInfoTransitiveImport.m [AIX][ZOS] Disable LIT tests on AIX and z/OS due to lack of Objective-C support 2021-09-16 14:04:42 -04:00
ExtDebugInfo.cpp [AIX][ZOS] Disable LIT tests on AIX and z/OS due to lack of Objective-C support 2021-09-16 14:04:42 -04:00
ExtDebugInfo.m [AIX][ZOS] Disable LIT tests on AIX and z/OS due to lack of Objective-C support 2021-09-16 14:04:42 -04:00
InheritDefaultArguments.cppm [AST] [Modules] Handle full cases of DefaultArgStorage::setInherited 2022-07-13 00:13:56 +08:00
ModuleDebugInfo.cpp Emit the C++ dialect in -gmodules .pcm files. 2022-01-10 16:13:40 -08:00
ModuleDebugInfo.m [AIX][ZOS] Disable tests due to lack of Objective-C support 2021-10-25 23:32:13 -04:00
ModuleDebugInfoDwoId.cpp [AIX][ZOS] Disable LIT tests on AIX and z/OS due to lack of Objective-C support 2021-09-16 14:04:42 -04:00
ModuleModuleDebugInfo.cpp [AIX][ZOS] Disable LIT tests on AIX and z/OS due to lack of Objective-C support 2021-09-16 14:04:42 -04:00
Reachability-Private.cpp [C++20][Modules] Improve handing of Private Module Fragment diagnostics. 2022-08-21 10:19:46 +01:00
Reachability-func-default-arg.cpp [C++20] [Module] Support reachable definition initially/partially 2022-06-29 12:48:48 +08:00
Reachability-func-ret.cpp [C++20] [Module] Support reachable definition initially/partially 2022-06-29 12:48:48 +08:00
Reachability-template-default-arg.cpp [C++20] [Module] Support reachable definition initially/partially 2022-06-29 12:48:48 +08:00
Reachability-template-instantiation.cpp [C++20] [Module] Support reachable definition initially/partially 2022-06-29 12:48:48 +08:00
Reachability-using-templates.cpp [C++20] [Module] Support reachable definition initially/partially 2022-06-29 12:48:48 +08:00
Reachability-using.cpp [C++20] [Module] Support reachable definition initially/partially 2022-06-29 12:48:48 +08:00
Rmodule-build.m
Rmodule-import.m
Werror-Wsystem-headers.m
Werror.m
add-remove-irrelevant-module-map.m [clang][modules] Account for non-affecting inputs in `ASTWriter` 2022-11-01 19:31:51 -07:00
add-remove-private.m
adl.cpp
anon-linkage.cpp
anon-namespace.cpp
anon-redecl.cpp
asm-goto.c [IR] Don't use blockaddresses as callbr arguments 2022-07-15 10:18:17 +02:00
at-import-in-framework-header.m Use functions with prototypes when appropriate; NFC 2022-02-10 16:06:03 -05:00
attr-unavailable.m
auto-import-unavailable.cpp
auto-module-import.m [modules] Replace `-Wauto-import` with `-Rmodule-include-translation`. 2022-07-21 17:42:04 -07:00
autolink.m Use functions with prototypes when appropriate; NFC 2022-02-10 16:06:03 -05:00
autolinkTBD.m Use functions with prototypes when appropriate; NFC 2022-02-10 16:06:03 -05:00
autoload-subdirectory.cpp
available-is-better.cpp
bad-private-include.m
build-fail-notes.m
builtin-import.mm
builtins.m Use functions with prototypes when appropriate; NFC 2022-02-10 16:06:03 -05:00
check-for-sanitizer-feature.cpp
clang_module_file_info.m [AIX][ZOS] Disable tests due to lack of Objective-C support 2021-10-25 23:32:13 -04:00
class-extension-protocol.m
codegen-extern-template.cpp [Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by default 2022-01-16 18:54:17 +09:00
codegen-extern-template.h
codegen-flags.test
codegen-nodep.test
codegen-opt.test [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
codegen.test [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
compare-objc-protocol.m [ODRHash] Detect duplicate `ObjCProtocolDecl` ODR mismatches during parsing. 2022-11-17 18:31:32 -08:00
compiler_builtins.m
compiler_builtins_aarch64.m
compiler_builtins_arm.m
compiler_builtins_x86.c
concept.cppm [AST] Accept identical TypeConstraint referring to other template 2022-07-12 23:57:44 +08:00
concept_differ.cpp [Modules] Add ODR Check for concepts 2022-07-12 23:45:53 +08:00
concept_differ.cppm [Modules] Add ODR Check for concepts 2022-07-12 23:45:53 +08:00
concept_serialization.cpp Re-apply "Deferred Concept Instantiation Implementation" 2022-09-22 05:53:59 -07:00
config-mismatch.cpp
config_macros.m Strengthen -Wint-conversion to default to an error 2022-07-22 15:24:54 -04:00
conflicts.m [modules] Replace `-Wauto-import` with `-Rmodule-include-translation`. 2022-07-21 17:42:04 -07:00
const-var-init-update.cpp
context-hash.c [clang] Include missing LangOpts in `getModuleHash`. 2020-07-07 17:13:23 -06:00
crash-typo-correction-visibility.cpp
crash-vfs-headermaps.m
crash-vfs-include-pch.m
crash-vfs-ivfsoverlay.m
crash-vfs-path-emptydir-entries.m
crash-vfs-path-symlink-component.m
crash-vfs-path-symlink-topheader.m
crash-vfs-path-traversal.m
crash-vfs-relative-incdir.m
crash-vfs-relative-overlay.m
crash-vfs-run-reproducer.m
crash-vfs-umbrella-frameworks.m
crashes.m
cstd.m Use functions with prototypes when appropriate; NFC 2022-02-10 16:06:03 -05:00
ctor.arg.dep.cppm [C++20] [Modules] Don't handle no linkage entities when overloading 2022-07-26 21:07:41 +08:00
cxx-decls.cpp [Sema] Add deprecation warnings for some compiler provided __has_* type traits 2022-07-12 19:24:17 +03:00
cxx-dtor.cpp
cxx-inline-namespace.cpp
cxx-irgen.cpp [Clang/Test]: Rename enable_noundef_analysis to disable-noundef-analysis and turn it off by default 2022-01-16 18:54:17 +09:00
cxx-linkage-cache.cpp
cxx-lookup.cpp
cxx-many-overloads.cpp
cxx-templates.cpp Recommit: Compress formatting of array type names (int [4] -> int[4]) 2021-10-21 11:34:43 -07:00
cxx17-exception-spec.cpp
cxx17-inline-variables.cpp
cxx17.cpp Don't diagnose a redeclaration of a deduction guide if the prior 2020-06-12 10:29:01 -07:00
cxx20-10-1-ex1.cpp [C++20][Modules][4/8] Handle generation of partition implementation CMIs. 2022-02-25 09:33:14 +00:00
cxx20-10-1-ex2.cpp [C++20] [Module] Support reachable definition initially/partially 2022-06-29 12:48:48 +08:00
cxx20-10-2-ex1.cpp [C++20][Modules] Adjust handling of exports of namespaces and using-decls. 2022-04-08 08:57:37 +01:00
cxx20-10-2-ex2.cpp [C++20][Modules] Add testcases from section 10.2 dependent on header units. 2022-04-11 11:30:45 +01:00
cxx20-10-2-ex3.cpp Use writable temporary file for test compiler output instead of hardcoded name. NFCI. 2022-04-08 10:57:27 -07:00
cxx20-10-2-ex4.cpp Use writable temporary file for test compiler output instead of hardcoded name. NFCI. 2022-04-08 10:57:27 -07:00
cxx20-10-2-ex5.cpp [C++20][Modules] Adjust handling of exports of namespaces and using-decls. 2022-04-08 08:57:37 +01:00
cxx20-10-2-ex6.cpp Use writable temporary file for test compiler output instead of hardcoded name. NFCI. 2022-04-08 10:57:27 -07:00
cxx20-10-2-ex7.cpp Use writable temporary file for test compiler output instead of hardcoded name. NFCI. 2022-04-08 10:57:27 -07:00
cxx20-10-3-ex1.cpp [C++20][Modules][5/8] Diagnose wrong import/export for partition CMIs. 2022-02-26 11:27:08 +00:00
cxx20-10-3-ex2.cpp [C++20][Modules][5/8] Diagnose wrong import/export for partition CMIs. 2022-02-26 11:27:08 +00:00
cxx20-10-5-ex1.cpp [C++20][Modules] Improve handing of Private Module Fragment diagnostics. 2022-08-21 10:19:46 +01:00
cxx20-disable.cpp [clang][cli] Expose -fno-cxx-modules in cc1 2021-08-04 13:46:40 +02:00
cxx20-export-import.cpp [test/Modules/cxx20-export-import.cpp] Pre-clean the modules cache directory of the test, NFC 2022-08-05 17:27:43 -07:00
cxx20-hu-01.cpp [C++20][Modules][HU 1/5] Introduce header units as a module type. 2022-03-25 09:17:14 +00:00
cxx20-hu-02.cpp [C++20][Modules][HU 2/5] Support searching Header Units in user or system search paths. 2022-03-26 10:17:17 +00:00
cxx20-hu-03.cpp [C++20][Modules][HU 2/5] Support searching Header Units in user or system search paths. 2022-03-26 10:17:17 +00:00
cxx20-hu-04.cpp [C++20][Modules] Fix a testcase warning on Windows [NFC]. 2022-04-03 11:39:00 +01:00
cxx20-hu-05.cpp [C++20][Modules][HU 4/5] Handle pre-processed header units. 2022-03-27 09:38:06 +01:00
cxx20-hu-06.cpp [C++20][Modules][HU 5/5] Add fdirectives-only mode for preprocessing output. 2022-03-28 07:38:22 +01:00
cxx20-hu-bad-input.cpp [C++20][Modules][HU 2/5] Support searching Header Units in user or system search paths. 2022-03-26 10:17:17 +00:00
cxx20-import-diagnostics-a.cpp [C++20][Modules][5/8] Diagnose wrong import/export for partition CMIs. 2022-02-26 11:27:08 +00:00
cxx20-include-translation.cpp [modules] Replace `-Wauto-import` with `-Rmodule-include-translation`. 2022-07-21 17:42:04 -07:00
cxx20-module-file-info-macros.cpp [C++20] [Modules] Don't emit macro definitions with named module 2022-11-18 11:11:17 +08:00
cxx20-module-file-info.cpp [Modules] Add module structure output to -module-file-info. 2022-02-23 10:26:42 +00:00
cxx20-multiple-partitions.cpp [C++20][Modules][3/8] Initial handling for module partitions. 2022-02-24 09:01:09 +00:00
cxx20-partition-diagnostics-a.cpp [C++20][Modules][3/8] Initial handling for module partitions. 2022-02-24 09:01:09 +00:00
cxx20-partition-redeclarations.cpp [C++20][Modules] Allow for redeclarations in partitions. 2022-07-08 19:02:59 +01:00
cxx20.cpp Don't diagnose a redeclaration of a deduction guide if the prior 2020-06-12 10:29:01 -07:00
cycles.c
darwin_specific_modulemap_hacks.m
debug-info-moduleimport-in-module.m [AIX][ZOS] Disable tests due to lack of Objective-C support 2021-10-25 23:32:13 -04:00
debug-info-moduleimport.m [AIX][ZOS] Disable LIT tests on AIX and z/OS due to lack of Objective-C support 2021-09-16 14:04:42 -04:00
decl-attr-merge.mm [Clang][Modules] Merge availability attributes on imported decls 2022-06-15 17:46:16 -07:00
declare-use-compatible.cpp
declare-use-textual.cpp Enforce module decl-use restrictions and private header restrictions in textual headers 2022-09-06 17:12:57 -07:00
declare-use.S
declare-use1.cpp Attempt to make AIX bot happier. 2022-09-02 18:43:27 -07:00
declare-use2.cpp
declare-use3.cpp
declare-use4.cpp
declare-use5.cpp
decldef.m Use functions with prototypes when appropriate; NFC 2022-02-10 16:06:03 -05:00
decldef.mm [modules] Fix tracking ObjCInterfaceType decl when there are multiple definitions. 2021-10-21 12:08:06 -07:00
deduction-guide.cppm [C++20] [Modules] Handle reachability for deduction guide 2022-07-18 15:46:26 +08:00
deduction-guide2.cppm [C++20] [Modules] Handle reachability for deduction guide 2022-07-18 15:46:26 +08:00
deduction-guide3.cppm [C++20] [Modules] Handle reachability for deduction guide 2022-07-18 15:46:26 +08:00
deferred-lookup.cpp
dependency-dump-dependent-module.m
dependency-dump.m
dependency-gen-inferred-map.m
dependency-gen-pch.m
dependency-gen.m
dependency-gen.modulemap
dependent-module-different-location.m [modules] Fix error "malformed or corrupted AST file: 'SourceLocation remap refers to unknown module...'". 2022-09-20 17:55:37 -07:00
derived_class.cpp [C++20] [Module] Support reachable definition initially/partially 2022-06-29 12:48:48 +08:00
diag-flags.cpp
diag-pragma.c
diag-pragma.cpp
diagnose-missing-import.m [C11/C2x] Change the behavior of the implicit function declaration warning 2022-04-20 11:30:12 -04:00
diagnostic-options-out-of-date.m
diagnostics.modulemap [Modules] Improve error message when cannot find parent module for submodule definition. 2020-08-25 16:31:27 -07:00
diamond-pch.c
diamond.c
direct-module-import.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
double-quotes.m Use functions with prototypes when appropriate; NFC 2022-02-10 16:06:03 -05:00
driver.c Set HOME for tests that use module cache path 2022-09-15 23:58:57 +00:00
elaborated-type-specifier-from-hidden-module.m
embed-files-compressed.cpp [modules] Support zstd in .pcm file 2022-11-23 11:27:49 -08:00
embed-files.cpp
empty.modulemap Fix clang/test/Modules/empty.modulemap by increasing limit. 2020-06-15 12:27:25 +01:00
enum-class.cppm [C++20] [Modules] Handle reachability for enum class 2022-07-15 15:57:04 +08:00
enum-codegen.cpp
epic-fail.m
exception-spec.cpp
exclude-header-fw-umbrella.m [clang][modules] Fix handling of `ModuleHeaderRole::ExcludedHeader` 2022-10-06 16:20:24 -07:00
exclude-header.c
explicit-build-diags.cpp [clang] Remove misleading assertion in FullSourceLoc 2021-08-06 14:48:28 +02:00
explicit-build-extra-files.cpp
explicit-build-flags.cpp
explicit-build-inferred.cpp [clang][modules] Infer framework modules in explicit builds 2022-02-23 14:46:23 +01:00
explicit-build-missing-files.cpp
explicit-build-overlap.cpp
explicit-build-prefer-self.cpp
explicit-build-relpath.cpp
explicit-build.cpp
explicitly-specialized-template.cpp [C++20] [Module] Support reachable definition initially/partially 2022-06-29 12:48:48 +08:00
exponential-paths.cpp
export-in-non-modules.cpp [C++20] [Modules] Exit early if export decl is not valid 2022-01-14 10:21:42 +08:00
export_as_test.c
extensions.c
extern_c.cpp Use functions with prototypes when appropriate; NFC 2022-02-10 16:06:03 -05:00
extern_c_bad.cpp
extern_cxx.cpp
fatal-module-loader-error.m
filename.cpp
find-privateheaders.m
fmodules-validate-once-per-build-session.c [modules] Allow to validate system headers less often with `-fmodules-validate-once-per-build-session`. 2022-10-12 11:10:08 -07:00
framework-name.m [modules] Replace `-Wauto-import` with `-Rmodule-include-translation`. 2022-07-21 17:42:04 -07:00
framework-public-includes-private.m Use functions with prototypes when appropriate; NFC 2022-02-10 16:06:03 -05:00
friend-definition-2.cpp
friend-definition.cpp
fsystem-module.m
getSourceDescriptor-crash.cpp
global-init.cpp
global_index.m [modules] Replace `-Wauto-import` with `-Rmodule-include-translation`. 2022-07-21 17:42:04 -07:00
gmodules-deduction-guide.cpp [gmodules] Skip CXXDeductionGuideDecls when visiting FunctionDecls in 2022-06-06 19:12:26 -07:00
gnumode-non-benign.cpp
header-attribs.cpp
header-import.m
header-in-multiple-maps.cpp
hidden-definition.cpp
hidden-duplicates.m XFAIL hidden-duplicates.m for AIX and zOS 2022-11-22 16:26:06 -05:00
hidden-names.cpp
ignored_macros.m
implementation-of-module.m [modules] Replace `-Wauto-import` with `-Rmodule-include-translation`. 2022-07-21 17:42:04 -07:00
implicit-build-config-out-of-date.m
implicit-built-Werror-using-W.cpp
implicit-declared-allocation-functions.cppm [C++20] [Modules] Attach implicitly declared allocation funcitons to 2022-11-15 17:21:48 +08:00
implicit-invalidate-chain.c
implicit-invalidate-common.c
implicit-map-dot-private.m [clang][modules] Consider M affecting after mapping M.Private to M_Private 2022-08-24 14:36:06 -07:00
implicit-module-with-missing-path.cpp [C++20] [Modules] Check if modulemap exists to avoid crash in implicit used C++ module 2022-02-11 11:22:50 +08:00
implicit-modules-use-lock.m Clean up test for -f{,no-}implicit-modules-uses-lock 2021-08-16 16:23:04 -07:00
implicit-private-canonical.m
implicit-private-with-different-name.m
implicit-private-with-submodule.m
implicit-private-without-public.m
import-decl.cpp Use functions with prototypes when appropriate; NFC 2022-02-10 16:06:03 -05:00
import-once.m [HeaderSearch] Fix processing #import-ed headers multiple times with modules enabled. 2020-08-20 17:41:28 -07:00
import-self.m
import-syntax.c
import-textual-noguard.mm
import-textual.mm
include-own-headers.m
include-relative.c Use functions with prototypes when appropriate; NFC 2022-02-10 16:06:03 -05:00
include_next.c
incomplete-framework-module.m
incomplete-module.m
incomplete-umbrella.m [clang][module] Improve incomplete-umbrella warning 2020-09-18 14:56:47 -07:00
inconsistent-deduction-guide-linkage.cppm [C++20] [Modules] Only allow redeclarations in partitions if they are in the same module 2022-10-08 17:44:04 +08:00
inferred-attributes.mm
inferred-framework-case.m
inferred-frameworks.m [modules] Replace `-Wauto-import` with `-Rmodule-include-translation`. 2022-07-21 17:42:04 -07:00
inferred-submodules.m [modules] Replace `-Wauto-import` with `-Rmodule-include-translation`. 2022-07-21 17:42:04 -07:00
inherit-attribute.cpp Re-land 7a527f1777 with fixes. 2020-08-21 14:40:09 -04:00
inherited_arg.cppm [C++20] [Modules] Avoid inifinite loop when iterating default args 2022-07-21 17:25:05 +08:00
initializer_list.cpp
initializers.cpp [IR] Add alignment for llvm.threadlocal.address 2022-09-13 23:10:55 +00:00
inner-struct-redefines-invisible.m
instantiation-argdep-lookup.cppm [C++20] [Modules] Handle linkage properly for specializations when overloading 2022-07-26 18:30:48 +08:00
interface-diagnose-missing-import.m [modules] Fix tracking ObjCInterfaceType decl when there are multiple definitions. 2021-10-21 12:08:06 -07:00
interface-visibility.m
internal-constants.cpp
invalid-pch-module-id.m
invalidate-identifiers.c
irgen.c [test] Add {{.*}} to make tests immune to dso_local/dso_preemptable/(none) differences 2020-12-30 20:52:01 -08:00
lambda-context.cpp
libc-libcxx.cpp
libstdcxx-ambiguous-internal.cpp
linkage-merge.cpp
linkage-merge.m
load-after-failure.m
load-module-with-errors.m [ASTReader] Only mark module out of date if not already compiled 2021-04-16 17:57:03 -07:00
load_failure.c
local-visibility.cpp
localsubmodulevis.m
lookup-assert-protocol.m
lookup-assert.m
lookup.cpp
lookup.m [clang][objc] Speed up populating the global method pool from modules. 2021-11-03 17:11:14 -07:00
lsv-debuginfo.cpp DebugInfo: workaround for context-sensitive use of non-type-template-parameter integer suffixes 2021-11-01 17:08:26 -07:00
lsv-private-macro.cpp Support #__private_macro and #__public_macro in local submodule 2021-03-23 16:54:28 -07:00
macro-ambiguity.cpp
macro-hiding.cpp
macro-masking.cpp
macro-redefinition.cpp
macro-reexport.cpp
macro-undef-through-pch.m
macros.c Use functions with prototypes when appropriate; NFC 2022-02-10 16:06:03 -05:00
macros2.c Use functions with prototypes when appropriate; NFC 2022-02-10 16:06:03 -05:00
malformed-overload.m Change the behavior of implicit int diagnostics 2022-05-04 08:35:47 -04:00
malformed.cpp [clang] Update ModuleMap::getModuleMapFile* to use FileEntryRef 2022-10-05 13:12:43 -07:00
merge-anon-in-extern_c.cpp
merge-anon-in-template.cpp
merge-anon-record-definition-in-objc.m [modules] Merge ObjC interface ivars with anonymous types. 2022-04-04 18:48:30 -07:00
merge-class-definition-visibility.cpp
merge-concepts-cxx-modules.cpp [Sema] Merge C++20 concept definitions from different modules in same TU 2022-07-25 14:43:38 +02:00
merge-concepts-redefinition-error.cpp [Sema] Merge C++20 concept definitions from different modules in same TU 2022-07-25 14:43:38 +02:00
merge-concepts.cpp [Sema] Return primary merged decl as canonical for concepts 2022-07-27 12:31:20 +02:00
merge-concepts.cppm [C++20] [Modules] Merge same concept decls in global module fragment 2022-07-29 10:50:27 +08:00
merge-decl-context.cpp
merge-decl-order.cpp
merge-deduced-return.cpp
merge-dependent-friends.cpp
merge-enumerators.cpp
merge-extension-ivars.m [modules] Merge equivalent extensions and diagnose ivar redeclarations for extensions loaded from different modules. 2022-04-27 15:52:59 -07:00
merge-fn-prototype-tags.c Use functions with prototypes when appropriate; NFC 2022-02-10 16:06:03 -05:00
merge-friends.cpp
merge-function-defs.cpp
merge-implicit-special-members.cpp
merge-lambdas.cpp
merge-lifetime-extended-temporary.cpp
merge-name-for-linkage.cpp
merge-nested-templates.cpp
merge-objc-interface-visibility.m [AIX][NFC] Unsupported object-c test 2021-11-01 13:44:23 +00:00
merge-objc-interface.m [AIX][ZOS] Excluding merge-objc-interface.m from Tests 2021-10-08 14:00:06 +00:00
merge-objc-protocol-visibility.m [AIX] Set D111860's test unsupported on AIX 2021-11-11 15:51:19 +00:00
merge-record-definition-nonmodular.m [AIX][ZOS] Disable LIT tests on AIX and z/OS due to lack of Objective-C support 2021-09-16 14:04:42 -04:00
merge-record-definition-visibility.m [AIX][ZOS] Disable LIT tests on AIX and z/OS due to lack of Objective-C support 2021-09-16 14:04:42 -04:00
merge-record-definition.m [AIX][ZOS] Disable LIT tests on AIX and z/OS due to lack of Objective-C support 2021-09-16 14:04:42 -04:00
merge-static-locals.cpp
merge-target-features.cpp
merge-template-friend.cpp
merge-template-members.cpp
merge-template-pattern-visibility-2.cpp
merge-template-pattern-visibility-3.cpp
merge-template-pattern-visibility.cpp
merge-template-specializations.cpp [modules] Merge variable template specializations. 2022-04-19 14:48:42 -07:00
merge-typedefs.cpp
merge-using-decls.cpp Support for merging UsingPackDecls across modules. 2021-07-01 18:43:49 -07:00
merge-var-template-def.cpp
merge-var-template-spec-cxx-modules.cppm [Sema] Merge variable template specializations 2022-08-09 12:17:41 +02:00
merge-var-template-spec.cpp [Sema] Merge variable template specializations 2022-08-09 12:17:41 +02:00
merge-vtable-codegen.cpp
method_pool.m
method_pool_transitive.m [clang][objc] Speed up populating the global method pool from modules. 2021-11-03 17:11:14 -07:00
method_pool_write.m
minimal-identifier-tables.cpp
mismatch-diagnostics.cpp
misplaced-1.cpp
misplaced-2.cpp
misplaced-3.cpp
misplaced-4.cpp
misplaced-5.c
missing-flag.cpp
missing-framework-header.cpp [clang][Modules] Fix a regression in handling missing framework headers. 2022-08-19 09:13:22 +01:00
missing-header-local-visibility.cpp When making modules transitively visible, don't take into account 2020-04-17 22:49:58 -07:00
missing-header.m
missing-module-declaration.cppm [C++20] [Modules] Remove assertion of current module when acting on import 2022-10-08 16:44:51 +08:00
missing-submodule.m Use functions with prototypes when appropriate; NFC 2022-02-10 16:06:03 -05:00
modify-module.m
modular_maps.cpp
module-debuginfo-prefix.m [AIX][ZOS] Disable tests due to lack of Objective-C support 2021-10-25 23:32:13 -04:00
module-feature.m
module-file-home-is-cwd.m [clang][Module][AIX] Mark test unsupported since objc doesn't have xcoff support 2022-10-13 12:03:55 +08:00
module-file-modified.c
module-impl-with-link.c
module-imported-by-pch-path.m
module-imported-by-pch-with-modulemap.m Use functions with prototypes when appropriate; NFC 2022-02-10 16:06:03 -05:00
module-map-path-hash.cpp
module-name-private.m Use functions with prototypes when appropriate; NFC 2022-02-10 16:06:03 -05:00
module-name-used-by-objc-bridge.m [clang][modules] Delay creating `IdentifierInfo` for names of explicit modules 2021-10-18 11:50:29 +02:00
module-pch-different-cache-path.c [clang][modules][pch] Allow loading PCH with different modules cache path 2021-06-14 11:04:56 +02:00
module-private.cpp [C++20] [Module] Support reachable definition initially/partially 2022-06-29 12:48:48 +08:00
module-transtive-instantiation-2.cpp [NFC] [C++20] [Modules] Add tests for template instantiation in transitively imported module 2021-12-22 11:09:41 +08:00
module-transtive-instantiation.cpp [C++20] [Modules] Mark imported module as imported if not exported 2021-12-23 21:14:13 +08:00
module_file_info.m [clang][modules][deps] Preserve module map load order 2022-09-22 12:54:51 -07:00
module_map_cwd.c
modulemap-locations.m [C11/C2x] Change the behavior of the implicit function declaration warning 2022-04-20 11:30:12 -04:00
modules-cache-path-canonicalization.m
modules-with-same-name.m
modules.idx
ms-enums.cpp Improve diagnostics for missing import / #include of module. 2020-04-28 18:41:14 -07:00
multiple-include.cpp
namespaces.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
nested-template-default-arg-redecl.cpp
new-delete.cpp
no-implicit-builds.cpp
no-implicit-maps.cpp
no-linkage.cpp
no-stale-modtime.m
no-undeclared-includes-builtins.cpp [clang] Always allow including builtin headers in [no_undeclared_headers] modules. 2020-06-04 08:33:39 +02:00
non-ambiguous-enum.m Use functions with prototypes when appropriate; NFC 2022-02-10 16:06:03 -05:00
normal-module-map.cpp Use functions with prototypes when appropriate; NFC 2022-02-10 16:06:03 -05:00
objc-at-keyword.m
objc-categories.m
objc-category-2.m
objc-category-3.m
objc-category.m
objc-designated-init-mod.m
objc-hidden.m
objc-initializer.m [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
objc-method-redecl.m
objc-type-param.m
objc_redef.m
odr.cpp
odr_hash-Friend.cpp
odr_hash-Unresolved.cpp
odr_hash-blocks.cpp
odr_hash-elaborated-types.cpp
odr_hash-gnu.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
odr_hash-vector.cpp
odr_hash.cl
odr_hash.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
odr_hash.mm [modules] While merging ObjCInterfaceDecl definitions, merge them as decl contexts too. 2021-10-20 18:48:29 -07:00
odr_using_dependent_name.cppm [NFC] Use %clang_cc instead of %clang in c++20 module tests 2021-12-22 11:50:47 +08:00
on-demand-build.m Use functions with prototypes when appropriate; NFC 2022-02-10 16:06:03 -05:00
on-demand-macros.m Use functions with prototypes when appropriate; NFC 2022-02-10 16:06:03 -05:00
outofdate-rebuild.m
overloadable-attrs.cpp
pair-unambiguous-ctor.cppm [C++20] Diagnose invalid and reserved module names 2022-11-03 08:29:59 -04:00
parse-attributes.modulemap
partial_specialization.cppm [C++20] [Modules] Handle reachability for partial specialization 2022-07-22 17:03:38 +08:00
path-resolution.modulemap
pch-module-macro.m
pch-shared-module.c [clang][modules] Cache loads of modules imported by PCH 2021-10-13 18:09:52 +02:00
pch-used.m Use functions with prototypes when appropriate; NFC 2022-02-10 16:06:03 -05:00
pch-with-module-name.m
pch_container.m
pr19692.cpp
pr20399.cpp
pr20786.cpp
pr21217.cpp
pr21547.cpp
pr21687.cpp
pr24954.cpp
pr25501.cpp
pr26014.cpp
pr26179.cpp
pr27041.cpp
pr27186.cpp
pr27401.cpp
pr27513.cpp
pr27699.cpp
pr27739.cpp
pr27754.cpp
pr27890.cpp
pr28332.cpp
pr28438.cpp
pr28752.cpp
pr28812.cpp
pr31469.cpp
pr56826.cppm [AST] [Modules] Introduce Decl::getNonTransparentDeclContext to handle exported friends 2022-08-12 11:50:35 +08:00
pragma-pack.cpp
prebuilt-implicit-modules.m Use functions with prototypes when appropriate; NFC 2022-02-10 16:06:03 -05:00
prebuilt-module.m Use functions with prototypes when appropriate; NFC 2022-02-10 16:06:03 -05:00
preferred_name.cppm [C++20] [Modules] Disable preferred_name when writing a C++20 Module interface 2022-07-26 23:58:07 +08:00
preprocess-build-diamond.m
preprocess-build.cpp
preprocess-decluse.cpp
preprocess-missing.modulemap
preprocess-module.cpp
preprocess-nested.cpp [test] Fix unuses FileCheck prefixes in clang/test/Modules 2021-02-01 19:46:23 -08:00
preprocess-umbrella.cpp
preprocess-unavailable.cpp
preprocess.cpp
preprocess.m
private.cpp
private.modulemap
private1.cpp
protocol-redefinition.m
prune.m
public-private.modulemap
rebuild.m
recursive.c
recursive_visibility.mm
redecl-add-after-load.cpp
redecl-found-building-chains.cpp
redecl-ivars.m [modules] Merge equivalent extensions and diagnose ivar redeclarations for extensions loaded from different modules. 2022-04-27 15:52:59 -07:00
redecl-merge.m Use functions with prototypes when appropriate; NFC 2022-02-10 16:06:03 -05:00
redecl-merge2.m
redecl-namespaces.mm
redecl-templates.cpp
redeclarations.m
redecls.m
redefinition-c-tagtypes.m
redefinition-merges.cppm [NFC] [C++20] [Modules] Add tests for merging redefinitions in modules 2022-07-28 11:32:47 +08:00
redefinition-same-header.m
redundant-include.mm
redundant-template-default-arg.cpp [C++20] [Modules] Don't complain about duplicated default template argument across modules 2022-07-08 11:10:51 +08:00
redundant-template-default-arg2.cpp [C++20] [Modules] Don't complain about duplicated default template argument across modules 2022-07-08 11:10:51 +08:00
redundant-template-default-arg3.cpp [C++20] [Modules] Don't complain about duplicated default template argument across modules 2022-07-08 11:10:51 +08:00
relative-dep-gen.cpp
relative-import-path.c
relative-submodule-topheader.m [clang] serialize SUBMODULE_TOPHEADER relative to BaseDirectory 2022-05-12 07:29:37 -07:00
renamed.m Use functions with prototypes when appropriate; NFC 2022-02-10 16:06:03 -05:00
require-modular-includes.m
requires-coroutines.mm
requires-gnuinlineasm.m
requires.m [modules] Replace `-Wauto-import` with `-Rmodule-include-translation`. 2022-07-21 17:42:04 -07:00
requires.mm [modules] Replace `-Wauto-import` with `-Rmodule-include-translation`. 2022-07-21 17:42:04 -07:00
reserved-names-1.cpp [C++20] Diagnose invalid and reserved module names 2022-11-03 08:29:59 -04:00
reserved-names-2.cpp [C++20] Diagnose invalid and reserved module names 2022-11-03 08:29:59 -04:00
reserved-names-3.cpp [C++20] Diagnose invalid and reserved module names 2022-11-03 08:29:59 -04:00
reserved-names-4.cpp [C++20] Diagnose invalid and reserved module names 2022-11-03 08:29:59 -04:00
reserved-names-system-header-1.cpp [C++20] Diagnose invalid and reserved module names 2022-11-03 08:29:59 -04:00
reserved-names-system-header-2.cpp [C++20] Diagnose invalid and reserved module names 2022-11-03 08:29:59 -04:00
resolution-change.m [modules] Replace `-Wauto-import` with `-Rmodule-include-translation`. 2022-07-21 17:42:04 -07:00
search-partitions.cpp [C++20] [Modules] Use '-' as the separator of partitions when searching 2022-03-31 11:21:58 +08:00
self-import-header.m
self-referencing-lambda.cpp
separate_map_tree.cpp
serialized-diags.m
set-pure-crash.cpp [modules] Fix crash in call to `FunctionDecl::setPure()` 2020-11-18 11:55:29 -08:00
shadow.m
shadowed-submodule.m
signal.m
static_assert.cpp
stddef.c Improve diagnostics for missing import / #include of module. 2020-04-28 18:41:14 -07:00
stddef.m Use functions with prototypes when appropriate; NFC 2022-02-10 16:06:03 -05:00
stress-objc.m
stress1.cpp
strict-decluse-headers.cpp
strict-decluse.cpp
string_names.cpp
structural-equivalent-recursive-types.c
subdirectory-module-maps-working-dir.m Use functions with prototypes when appropriate; NFC 2022-02-10 16:06:03 -05:00
subframework-from-intermediate-path.m
subframeworks.m [modules] Replace `-Wauto-import` with `-Rmodule-include-translation`. 2022-07-21 17:42:04 -07:00
submodule-in-private-mmap-vfs.m [clang][modules] Don't depend on sharing FileManager during module build 2022-08-05 12:24:40 -07:00
submodule-in-private-mmap.m
submodule-visibility-cycles.cpp Improve diagnostics for missing import / #include of module. 2020-04-28 18:41:14 -07:00
submodule-visibility.cpp Work around Windows buildbot failure. 2022-09-02 19:09:15 -07:00
submodules-merge-defs.cpp Improve diagnostics for missing import / #include of module. 2020-04-28 18:41:14 -07:00
submodules-preprocess.cpp
submodules.cpp Improve diagnostics for missing import / #include of module. 2020-04-28 18:41:14 -07:00
submodules.m [modules] Replace `-Wauto-import` with `-Rmodule-include-translation`. 2022-07-21 17:42:04 -07:00
suggest-include.cpp Improve diagnostics for missing import / #include of module. 2020-04-28 18:41:14 -07:00
system-out-of-date-test.m
system_headers.m
tag-injection.c Improve diagnostics for missing import / #include of module. 2020-04-28 18:41:14 -07:00
tag-injection.cpp Improve diagnostics for missing import / #include of module. 2020-04-28 18:41:14 -07:00
target-features.m [NFC][Clang][test] Inclusive language: Remove and rephrase uses of sanity test/check in clang/test 2021-11-24 14:03:49 -05:00
target-platform-features.m
template-default-args.cpp Improve diagnostics for missing import / #include of module. 2020-04-28 18:41:14 -07:00
template-function-specialization.cpp [C++20] [Module] Support reachable definition initially/partially 2022-06-29 12:48:48 +08:00
template-specialization-visibility.cpp
template_default_argument.cpp [C++20] [Module] Support reachable definition initially/partially 2022-06-29 12:48:48 +08:00
template_name_lookup.cpp [AST] lookup in parent DeclContext for transparent DeclContext 2022-01-11 10:16:26 +08:00
templates-2.mm
templates.mm [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
textual-hdr-in-umbrella-hdr.m
textual-headers.cpp
thread-safety.cpp
typedef-tag-not-visible.m
typo.m Use functions with prototypes when appropriate; NFC 2022-02-10 16:06:03 -05:00
umbrella-header-include-builtin.mm
unavailable-local-visibility.test
undefined-type-fixit1.cpp Improve diagnostics for missing import / #include of module. 2020-04-28 18:41:14 -07:00
unnecessary-module-map-parsing.c
unused-global-init.cpp
update-after-load.cpp
update-exception-spec.cpp [test] Make tests pass regardless of gnu++14/gnu++17 default 2022-09-04 05:29:32 +00:00
use-after-free.m
use-exportas-for-link.m [AIX][ZOS] Disable LIT tests on AIX and z/OS due to lack of Objective-C support 2021-09-16 14:04:42 -04:00
using-decl-friend-2.cpp
using-decl-friend.cpp
using-decl-inheritance.cpp
using-decl-redecl.cpp
using-decl.cpp
using-directive-redecl.cpp
using-directive.cpp
va_list.cpp
va_list.m Change the behavior of implicit int diagnostics 2022-05-04 08:35:47 -04:00
validate-file-content.m
validate-system-headers.m [modules] Allow to validate system headers less often with `-fmodules-validate-once-per-build-session`. 2022-10-12 11:10:08 -07:00
var-templates.cpp
visibility-in-instantiation.cpp Improve diagnostics for missing import / #include of module. 2020-04-28 18:41:14 -07:00
warn-unused-local-typedef.cpp
warning-mismatch.m
wildcard-submodule-exports.cpp
working-dir-flag.m Use functions with prototypes when appropriate; NFC 2022-02-10 16:06:03 -05:00