llvm-project/clang/test/Modules
Iain Sandoe f60dc3caa6 [C++20][Modules] Adjust handling of exports of namespaces and using-decls.
This adjusts the handling for:

export module  M;

export namespace {};

export namespace N {};
export using namespace N;

In the first case, we were allowing empty anonymous namespaces
as part of an extension allowing empty top-level entities, but that seems
inappropriate in this case, since the linkage would be internal for the
anonymous namespace.  We now report an error for this.

The second case was producing a warning diagnostic that this was
accepted as an extension - however the C++20 standard does allow this
as well-formed.

In the third case we keep the current practice that this is accepted with a
warning (as an extension). The C++20 standard says it's an error.

We also ensure that using decls are only applied to items with external linkage.

This adjusts error messages for exports involving redeclarations in modules to
be more specific about the reason that the decl has been rejected.

Differential Revision: https://reviews.llvm.org/D122119
2022-04-08 08:57:37 +01:00
..
Inputs [clang][modules] NFC: Simplify and clarify test 2022-03-07 10:47:46 +01: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 Relax assertion to account for private framework modules, too. 2019-02-15 20:24:26 +00:00
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
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
Rmodule-build.m Modules: Add -Rmodule-import 2019-03-06 02:50:46 +00:00
Rmodule-import.m Fix slashes in path references in -Rmodule-import test from r355477 2019-03-06 05:42:56 +00:00
Werror-Wsystem-headers.m
Werror.m
add-remove-irrelevant-module-map.m [clang][modules] Fix failing test 2022-03-07 11:21:21 +01:00
add-remove-private.m
adl.cpp
anon-linkage.cpp
anon-namespace.cpp
anon-redecl.cpp
asm-goto.c [clang][CGStmt] emit i constraint rather than X for asm goto indirect dests 2022-01-11 11:48:40 -08: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 Use functions with prototypes when appropriate; NFC 2022-02-10 16:06:03 -05: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 [test] Use %clang_cc1 instead of %clang -cc1 2019-09-27 05:37:06 +00:00
builtins.m Use functions with prototypes when appropriate; NFC 2022-02-10 16:06:03 -05:00
check-for-sanitizer-feature.cpp [Driver] Add float-divide-by-zero back to supported sanitizers after D63793/rC365272 2019-07-10 00:30:02 +00:00
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 -fmodules-codegen should not emit extern templates 2020-01-14 23:39:50 +01:00
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
compiler_builtins.m
compiler_builtins_aarch64.m
compiler_builtins_arm.m
compiler_builtins_x86.c [X86] Make `x86intrin.h`, `immintrin.h` includable with `-fno-gnu-inline-asm`. 2019-05-13 22:40:11 +00:00
concept.cppm [NFC] Use %clang_cc instead of %clang in c++20 module tests 2021-12-22 11:50:47 +08:00
config-mismatch.cpp
config_macros.m Use functions with prototypes when appropriate; NFC 2022-02-10 16:06:03 -05:00
conflicts.m
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 Prefer 'env not' over 'not env' in tests. 2019-10-14 01:41:56 +00:00
crash-vfs-include-pch.m Prefer 'env not' over 'not env' in tests. 2019-10-14 01:41:56 +00:00
crash-vfs-ivfsoverlay.m Fix `sed -e s@FOO@%/S@` and similar when there's @'s in the working directory 2019-12-03 15:44:01 -08:00
crash-vfs-path-emptydir-entries.m Prefer 'env not' over 'not env' in tests. 2019-10-14 01:41:56 +00:00
crash-vfs-path-symlink-component.m Prefer 'env not' over 'not env' in tests. 2019-10-14 01:41:56 +00:00
crash-vfs-path-symlink-topheader.m Prefer 'env not' over 'not env' in tests. 2019-10-14 01:41:56 +00:00
crash-vfs-path-traversal.m Prefer 'env not' over 'not env' in tests. 2019-10-14 01:41:56 +00:00
crash-vfs-relative-incdir.m Prefer 'env not' over 'not env' in tests. 2019-10-14 01:41:56 +00:00
crash-vfs-relative-overlay.m Prefer 'env not' over 'not env' in tests. 2019-10-14 01:41:56 +00:00
crash-vfs-run-reproducer.m Prefer 'env not' over 'not env' in tests. 2019-10-14 01:41:56 +00:00
crash-vfs-umbrella-frameworks.m Prefer 'env not' over 'not env' in tests. 2019-10-14 01:41:56 +00:00
crashes.m
cstd.m Use functions with prototypes when appropriate; NFC 2022-02-10 16:06:03 -05:00
cxx-decls.cpp
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][Modules][8/8] Amend module visibility rules for partitions. 2022-03-01 08:29:05 +00: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-ex3.cpp [C++20][Modules] Adjust handling of exports of namespaces and using-decls. 2022-04-08 08:57:37 +01:00
cxx20-10-2-ex4.cpp [C++20][Modules] Adjust handling of exports of namespaces and using-decls. 2022-04-08 08:57:37 +01: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 [C++20][Modules] Adjust handling of exports of namespaces and using-decls. 2022-04-08 08:57:37 +01:00
cxx20-10-2-ex7.cpp [C++20][Modules] Adjust handling of exports of namespaces and using-decls. 2022-04-08 08:57:37 +01: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-disable.cpp [clang][cli] Expose -fno-cxx-modules in cc1 2021-08-04 13:46:40 +02:00
cxx20-export-import.cpp [clang][sema] Add missing diagnostic parameter 2022-01-24 09:59:20 +01: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-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.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
declare-use-compatible.cpp
declare-use.S
declare-use1.cpp
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
deferred-lookup.cpp
dependency-dump-dependent-module.m Re-land Remove REQUIRES:shell from tests that pass for me on Windows 2019-09-10 20:15:45 +00:00
dependency-dump.m Re-land Remove REQUIRES:shell from tests that pass for me on Windows 2019-09-10 20:15:45 +00:00
dependency-gen-inferred-map.m
dependency-gen-pch.m
dependency-gen.m
dependency-gen.modulemap
diag-flags.cpp
diag-pragma.c
diag-pragma.cpp
diagnose-missing-import.m Use functions with prototypes when appropriate; NFC 2022-02-10 16:06:03 -05: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
elaborated-type-specifier-from-hidden-module.m
embed-files-compressed.cpp
embed-files.cpp
empty.modulemap Fix clang/test/Modules/empty.modulemap by increasing limit. 2020-06-15 12:27:25 +01:00
enum-codegen.cpp Fix r361428 for Windows buildbots/mangling 2019-05-22 21:58:17 +00:00
epic-fail.m
exception-spec.cpp Make AST reading work better with LLVM_APPEND_VC_REV=NO 2020-01-27 22:08:37 -05: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
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] Make a module map referenced by a system map a system one too. 2021-10-15 12:46:51 -07:00
framework-name.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
framework-public-includes-private.m Use functions with prototypes when appropriate; NFC 2022-02-10 16:06:03 -05:00
friend-definition-2.cpp [NFC] Explicitly add -std=c++14 option to tests that rely on the C++14 default 2019-02-05 12:05:53 +00:00
friend-definition.cpp Diagnose friend function template redefinitions. 2018-12-06 09:35:04 +00:00
fsystem-module.m [clang][Modules] Add -fsystem-module flag 2020-03-03 14:14:24 -08:00
getSourceDescriptor-crash.cpp
global-init.cpp
global_index.m Use functions with prototypes when appropriate; NFC 2022-02-10 16:06:03 -05:00
gnumode-non-benign.cpp
header-attribs.cpp
header-import.m
header-in-multiple-maps.cpp
hidden-definition.cpp
hidden-names.cpp
ignored_macros.m
implementation-of-module.m Fix the behavior of clang's -w flag. 2019-01-29 19:33:48 +00:00
implicit-build-config-out-of-date.m
implicit-built-Werror-using-W.cpp
implicit-invalidate-chain.c Revert "[modules] Do not cache invalid state for modules that we attempted to load." 2020-03-10 10:59:26 -07:00
implicit-invalidate-common.c Re-land Remove REQUIRES:shell from tests that pass for me on Windows 2019-09-10 20:15:45 +00:00
implicit-map-dot-private.m
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 [modules] Allow frameworks to have only a private module without a public one. 2020-02-28 15:40:24 -08:00
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
inferred-attributes.mm
inferred-framework-case.m
inferred-frameworks.m
inferred-submodules.m Use functions with prototypes when appropriate; NFC 2022-02-10 16:06:03 -05:00
inherit-attribute.cpp Re-land 7a527f1777 with fixes. 2020-08-21 14:40:09 -04:00
initializer_list.cpp
initializers.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
inner-struct-redefines-invisible.m
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 Add -Wno-strict-prototypes to C tests; NFC 2022-02-24 15:30:30 -05:00
malformed.cpp
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-decl-context.cpp
merge-decl-order.cpp
merge-deduced-return.cpp
merge-dependent-friends.cpp
merge-enumerators.cpp
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 [NFC] Explicitly add -std=c++14 option to tests that rely on the C++14 default 2019-02-05 12:05:53 +00:00
merge-lifetime-extended-temporary.cpp Make AST reading work better with LLVM_APPEND_VC_REV=NO 2020-01-27 22:08:37 -05:00
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
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-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 Fix test from r346439 to also work on Windows due to path separator differences. 2018-11-09 02:44:07 +00:00
misplaced-1.cpp
misplaced-2.cpp
misplaced-3.cpp
misplaced-4.cpp
misplaced-5.c
missing-flag.cpp
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-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-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 [clang] Pass the NamedDecl* instead of the DeclarationName into many diagnostics. 2020-07-28 10:30:35 +01: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 [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
module_map_cwd.c
modulemap-locations.m Use functions with prototypes when appropriate; NFC 2022-02-10 16:06:03 -05: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: Fix minor grammar-o in diag added in c354b2e3b 2020-08-13 10:06:40 -04:00
nested-template-default-arg-redecl.cpp Modules: Adopt template parameters for variable templates to set their decl context correctly 2019-04-19 23:04:05 +00:00
new-delete.cpp
no-implicit-builds.cpp
no-implicit-maps.cpp
no-linkage.cpp
no-module-map.cpp Improve diagnostics for missing import / #include of module. 2020-04-28 18:41:14 -07:00
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 Make AST reading work better with LLVM_APPEND_VC_REV=NO 2020-01-27 22:08:37 -05:00
objc-type-param.m Fix a reentrance bug with deserializing ObjC type parameters. 2020-02-12 18:44:19 -05:00
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
odr_hash-vector.cpp
odr_hash.cl
odr_hash.cpp [clang] Fix wrong -Wunused-local-typedef warning within a template function 2022-03-21 13:21:25 +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 Modules: Rename MemoryBufferCache to InMemoryModuleCache 2019-03-09 17:33:56 +00:00
overloadable-attrs.cpp
parse-attributes.modulemap
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 [llvm-objdump] Print file format in lowercase to match GNU output. 2020-02-12 08:17:01 -08:00
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
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
preprocess-build-diamond.m
preprocess-build.cpp
preprocess-decluse.cpp
preprocess-missing.modulemap
preprocess-module.cpp make -frewrite-includes also rewrite conditions in #if/#elif 2019-09-18 19:09:41 +00:00
preprocess-nested.cpp [test] Fix unuses FileCheck prefixes in clang/test/Modules 2021-02-01 19:46:23 -08:00
preprocess-umbrella.cpp Fix buildbot break after r360195 2019-05-08 02:03:32 +00:00
preprocess-unavailable.cpp
preprocess.cpp
preprocess.m
private.cpp
private.modulemap
private1.cpp
protocol-redefinition.m
prune.m [test] Disable Modules/prune.m on NetBSD as it requires 'touch -a' 2018-12-05 11:17:50 +00:00
public-private.modulemap
rebuild.m
recursive.c
recursive_visibility.mm
redecl-add-after-load.cpp
redecl-found-building-chains.cpp
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-same-header.m
redundant-include.mm
relative-dep-gen.cpp
relative-import-path.c Remove an unnecessary -f when cp'ing to a file that was just deleted. NFC. 2019-03-11 10:44:10 +00: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
requires.mm
resolution-change.m
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 Reapply "Fix regression in behavior of clang -x c++-header -fmodule-name=XXX" 2018-11-05 12:46:02 +00:00
strict-decluse.cpp
string_names.cpp
structural-equivalent-recursive-types.c Add a test to cover structural match for recursive data types 2019-11-14 18:32:27 -08:00
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 Use functions with prototypes when appropriate; NFC 2022-02-10 16:06:03 -05: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 Improve diagnostics for missing import / #include of module. 2020-04-28 18:41:14 -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 Use functions with prototypes when appropriate; NFC 2022-02-10 16:06:03 -05: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-specialization-visibility.cpp
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 [test] Use %clang_cc1 instead of %clang -cc1 2019-09-27 05:37:06 +00:00
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
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 Make AST reading work better with LLVM_APPEND_VC_REV=NO 2020-01-27 22:08:37 -05:00
using-decl-redecl.cpp
using-decl.cpp
using-directive-redecl.cpp
using-directive.cpp
va_list.cpp
va_list.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
validate-file-content.m Reapply: [Modules][PCH] Hash input files content 2019-10-15 14:23:55 +00:00
validate-system-headers.m
var-templates.cpp Revert "[CodeGenModule] Assume dso_local for -fpic -fno-semantic-interposition" 2020-02-03 10:09:39 -08:00
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