llvm-project/clang/test/Modules/Inputs
Richard Smith c32d261e27 Don't diagnose a redeclaration of a deduction guide if the prior
declaration is not visible.

In passing, add a test for a similar case of conflicting redeclarations
of internal-linkage structured bindings. (This case already works).
2020-06-12 10:29:01 -07:00
..
ASTHash Add AST_SIGNATURE record to unhashed control block of PCM files 2020-06-11 14:09:07 +01:00
AddRemovePrivate.framework
AlsoDependsOnModule.framework/Headers
AutolinkTBD.framework
CmdLine.framework/Headers
Conflicts
DebugInfoNamespace Module Debug Info: Emit namespaced C++ forward decls in the correct module. 2017-05-11 22:59:19 +00:00
DependsOnModule.framework [Modules] Add more language features to be used with requires-declaration 2018-02-14 19:01:03 +00:00
F.framework [Modules] Implement ODR-like semantics for tag types in C/ObjC 2017-07-01 00:06:47 +00:00
FooFramework.framework [Modules] Fix misleading warning about missing textual header in umbrella header 2017-01-12 19:15:33 +00:00
GNUAsm/NeedsGNUInlineAsm.framework [Modules] Add 'gnuinlineasm' to the 'requires-declaration' feature-list. 2016-08-30 21:25:42 +00:00
HasSubModules.framework
Main.framework [Modules] Find PrivateHeaders when looking into subframeworks 2017-03-21 16:43:51 +00:00
MainA.framework [Modules] Allow umbrella frameworks to define private submodules for subframeworks 2017-05-09 00:41:38 +00:00
Modified
Module.framework
ModuleDiags
ModuleMapLocations
MutuallyRecursive1.framework/Headers
MutuallyRecursive2.framework/Headers
NameInDir.framework
NameInDir2.framework
NameInDirInferred.framework/Headers
NoUmbrella.framework
NotAModule.framework/Headers
PR20399
PR20786
PR21547
PR21687
PR24954
PR25501
PR26014
PR26179
PR27041
PR27186
PR27401
PR27513
PR27699 Add regression test for PR27699. 2016-07-22 20:49:31 +00:00
PR27739 [modules] Ask the canonical decl whether the constructor was defaulted. 2016-05-24 12:10:36 +00:00
PR27754 PR27754: CXXRecordDecl::data() needs to perform an update even if it's called 2016-05-17 22:44:15 +00:00
PR27890 [modules] Allow emission of update records for predefined __va_list_tag. 2016-06-20 15:10:40 +00:00
PR28332 [modules] Teach the ASTWriter to ignore mutations coming from the ASTReader. 2016-07-22 21:08:24 +00:00
PR28438 PR28438: Update the information on an identifier with local definitions before 2016-08-18 01:16:55 +00:00
PR28752 Reinstate r284008 reverted in r284081, with two fixes: 2016-10-14 21:41:24 +00:00
PR28794 PR28794: Don't try to instantiate function templates which are not visible. 2016-08-18 22:01:25 +00:00
PR28812 [modules] PR28812: Modules can return duplicate field decls. 2016-10-26 10:24:29 +00:00
PR31469 PR31469: Don't add friend template class decls to redecl chain in dependent contexts. 2017-01-12 09:16:26 +00:00
Rmodule-import Modules: Add -Rmodule-import 2019-03-06 02:50:46 +00:00
SameHeader [Sema] Improve redefinition errors pointing to the same header 2017-05-11 06:20:07 +00:00
StdDef
System/usr/include Treat module headers wrapped by our builtin headers as implicitly being textual 2016-10-26 01:08:55 +00:00
UseAfterFree Modules: set SystemHeader to true if we are building a system module. 2016-05-17 02:15:12 +00:00
anon-namespace
anon-redecl [modules] Additional tests. 2017-01-26 23:07:59 +00:00
at-import-in-framework-header [Modules][ObjC] Warn on the use of '@import' in framework headers 2018-06-27 20:29:36 +00:00
attr-unavailable
auto-import-unavailable
autoload-subdirectory Reapply r336660: [Modules] Autoload subdirectory modulemaps with specific LangOpts 2018-07-18 23:21:19 +00:00
available-is-better
bad-private-include/Bad.framework [Modules] Honor -fmodule-name when handling private framework modules 2018-03-20 22:36:39 +00:00
check-for-sanitizer-feature [Modules] Handle sanitizer feature mismatches when importing modules 2017-06-01 20:01:01 +00:00
class-extension [Modules][ObjC] ASTReader should add protocols for class extensions 2018-04-27 18:01:23 +00:00
codegen Modular Codegen: Don't home always_inline functions 2017-11-02 22:28:50 +00:00
codegen-flags Revert "make -fmodules-codegen and -fmodules-debuginfo work also with PCHs" 2020-02-27 14:33:43 +01:00
codegen-nodep Modular Codegen: Support homing debug info for types in modular objects 2017-04-11 21:13:37 +00:00
codegen-opt Initialize builtins during modular codegen 2017-02-08 20:51:11 +00:00
crash-recovery [ModuleMap][CrashReproducer] Collect headers from inner frameworks 2016-05-13 22:21:51 +00:00
crash-typo-correction-visibility Fix crash when an 'import a module' TypoCorrection has its CorrectionDecls 2017-06-05 22:29:36 +00:00
cxx-dtor
cxx-lookup
cxx17 Don't diagnose a redeclaration of a deduction guide if the prior 2020-06-12 10:29:01 -07:00
cxx20 Don't diagnose a redeclaration of a deduction guide if the prior 2020-06-12 10:29:01 -07:00
declare-use Make module use diagnostics refer to the top-level module 2018-02-24 06:54:09 +00:00
deferred-lookup
diagnose-missing-import [Modules] Fix overly conservative assertion for import diagnostic 2017-05-23 23:53:17 +00:00
double-quotes Fix an assert in -Wquoted-include-in-framework-header 2018-09-20 19:00:03 +00:00
elsewhere
empty
exclude-header
explicit-build
explicit-build-overlap
explicit-build-prefer-self
exportas-link Add some infuriatingly necessary comments to this test case. 2018-04-17 11:08:05 +00:00
filename
framework-public-includes-private Warning for framework include violation from Headers to PrivateHeaders 2018-06-25 22:24:17 +00:00
getSourceDescriptor-crash
gnumode-non-benign [modules] Add missing test from r297030. 2017-03-06 17:47:57 +00:00
header-attribs Support lazy stat'ing of files referenced by module maps. 2017-06-02 01:55:39 +00:00
header-in-multiple-maps
hidden-names [modules] Additional tests. 2017-01-26 23:07:59 +00:00
implicit-built-Werror-using-W Serialization: Simulate -Werror settings in implicit modules 2017-04-12 03:58:58 +00:00
implicit-invalidate-chain 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 [Modules] Fix rebuilding an updated module for each of its consumers. 2019-08-28 23:31:32 +00:00
implicit-private-canonical/A.framework [Modules] Fix remapping from Foo.Private to Foo_Private to happen before typo correction 2018-02-12 23:43:21 +00:00
implicit-private-with-different-name/A.framework [Modules] Change private modules rules and warnings 2017-12-22 02:53:30 +00:00
implicit-private-with-submodule/A.framework [Modules] Improve .Private fix-its to handle 'explicit' and 'framework' 2018-06-15 20:13:28 +00:00
implicit-private-without-public [modules] Allow frameworks to have only a private module without a public one. 2020-02-28 15:40:24 -08:00
import-textual Revert "[Modules] Prevent #import to reenter header if not building a module." 2017-08-12 01:38:26 +00:00
include-relative
include_next
incomplete-framework-module/Foo.framework [Modules] Warning for module declarations lacking 'framework' qualifier 2018-06-01 01:26:18 +00:00
incomplete-umbrella/Foo.framework [Modules] Improve diagnostics for incomplete umbrella 2017-04-27 22:29:14 +00:00
inferred-attr
initializer_list
interface-diagnose-missing-import/Foo.framework [Modules][Objective-C] Use complete decl from module when diagnosing missing import 2019-09-16 22:00:29 +00:00
internal-constants
invalid-module-id [PCH] Fix a regression when PCH is used with -fmodules 2017-02-07 21:54:57 +00:00
invalidate-identifiers
libc-libcxx [Modules] Support #import when entering files with modules 2017-01-11 02:14:51 +00:00
libstdcxx-ambiguous-internal
lookup-assert Modules: for ObjectiveC try to keep the definition invariant. 2016-09-09 23:48:27 +00:00
lookup-assert-protocol [ASTReader] Add test for previous change r306583 / 145692e. 2017-06-29 19:42:35 +00:00
lsv-debuginfo Debug Info (-gmodules): emit full types for non-anchored template specializations 2018-10-24 00:06:02 +00:00
macro-ambiguity
macro-hiding
macro-masking
macro-reexport
macro-undef-through-pch
malformed
malformed-overload [Modules] Fix a crash-on-invalid with overloaded functions 2017-04-26 20:13:45 +00:00
merge-anon-in-template
merge-class-definition-visibility
merge-decl-context [modules] Mark deleted functions as implicitly inline to allow merging 2016-10-31 23:07:15 +00:00
merge-decl-order
merge-dependent-friends
merge-fn-prototype-tags [modules] Apply ODR merging for function scoped tags only in C++ mode. 2016-09-08 20:34:41 +00:00
merge-friends
merge-function-defs [modules] Additional tests. 2017-01-26 23:07:59 +00:00
merge-implicit-special-members
merge-lifetime-extended-temporary [clang][modules] Add support for merging lifetime-extended temporaries 2019-12-02 19:55:13 +01:00
merge-name-for-linkage Add files forgotten in r293219. 2017-01-26 23:06:10 +00:00
merge-nested-templates
merge-target-features
merge-template-friend
merge-template-members
merge-template-pattern-visibility Revert "Reinstate r281429, reverted in r281452, with a fix for its mishandling of" 2016-10-17 13:00:44 +00:00
merge-template-specializations [modules] Be sure to emit local specializations of imported templates, even if 2016-10-06 20:30:51 +00:00
merge-typedefs
merge-using-decls [Test] NFC: Fixed typo in comments 2017-03-01 17:55:03 +00:00
merge-var-template-def [modules] Do not report missing definitions of demoted constexpr variable templates. 2016-10-19 11:19:30 +00:00
merge-vtable-codegen
misplaced
missing-header-local-visibility When making modules transitively visible, don't take into account 2020-04-17 22:49:58 -07:00
modular_maps
module-impl-with-link Module: Do not add any link flags when an implementation TU of a module imports 2017-01-11 18:47:38 +00:00
module-map-path-hash
modules-with-same-name
ms-enums Re-land "[MS] Fix assert handling enum forward decls in hasVisibleDefinition" 2020-04-23 16:22:01 -07:00
multiple-include
nested-template-default-arg-redecl Modules: Search for a visible definition of the decl context when computing visibility of a default template parameter 2019-04-19 23:02:30 +00:00
no-implicit-builds
no-linkage
no-module-map [modules] Frontend support for building a header module from a list of 2018-09-15 01:21:15 +00:00
no-undeclared-includes-builtins [clang] Always allow including builtin headers in [no_undeclared_headers] modules. 2020-06-04 08:33:39 +02:00
non-ambiguous-enum [Modules] Fix testcases from r331232 2018-04-30 22:57:02 +00:00
normal-module-map
objc-category Modules: for ObjectiveC try to keep the definition invariant. 2016-09-09 23:48:27 +00:00
objc-category-2 Modules: for ObjectiveC try to keep the definition invariant. 2016-09-09 23:48:27 +00:00
objc-category-3 Modules: for ObjectiveC try to keep the definition invariant. 2016-09-09 23:48:27 +00:00
objc-desig-init [Modules][ObjC] Check definition from canonical decl on designated initializers 2017-04-26 05:06:20 +00:00
objc-hidden Module: for ObjectiveC, be consistent when checking hidden decls. 2016-10-11 21:18:20 +00:00
objc-initializer Module: emit initializers in submodules when importing the parent module. 2016-10-14 18:55:44 +00:00
odr
odr_hash-Friend [ODRHash] Fix hashing for friend functions. 2018-02-22 05:50:29 +00:00
odr_hash-Unresolved [ODRHash] Fix early exit that skipped code. 2018-09-14 01:15:28 +00:00
odr_hash-elaborated-types [ODRHash] Do not rely on Type* when computing the hash. 2018-06-28 13:28:44 +00:00
oldname
outofdate-rebuild Canonicalize the path provided by -fmodules-cache-path. 2017-03-14 23:07:49 +00:00
overloadable-attrs Represent pass_object_size attrs in ExtParameterInfo 2017-02-24 02:49:47 +00:00
pch-with-module-name PCH: fix a regression that reports a module is defined in both pch and pcm. 2017-01-09 19:20:18 +00:00
pr19692
prebuilt-module Module: add -fprebuilt-module-path to support loading prebuilt modules. 2016-08-18 17:42:15 +00:00
preprocess When preprocessing with -frewrite-imports and -fmodule-file=, do not pass all 2017-06-26 19:39:25 +00:00
preprocess-decluse Track the set of module maps read while building a .pcm file and reload those when preprocessing from that .pcm file. 2017-06-29 02:19:42 +00:00
private
private0
private1
private2
private3
protocol-redefinition Add protocol redefinition to the current scope/context 2018-06-30 00:49:27 +00:00
rec-types Add a test to cover structural match for recursive data types 2019-11-14 18:32:27 -08:00
redecl-found-building-chains
redecl-templates
redecls
relative-import-path Modules: Invalidate out-of-date PCMs as they're discovered 2019-03-09 17:44:01 +00:00
require-modular-includes
self-import-header
self-referencing-lambda [Modules] Fix creating fake definition data for lambdas. 2018-03-21 21:28:54 +00:00
separate_map_tree
shadow Reapply r321781: [Modules] Allow modules specified by -fmodule-map-file to shadow implicitly found ones 2018-01-05 02:33:18 +00:00
shadowed-submodule Reapply r321781: [Modules] Allow modules specified by -fmodule-map-file to shadow implicitly found ones 2018-01-05 02:33:18 +00:00
static_assert Fix interaction between serialization and c++1z feature. 2016-09-13 01:20:40 +00:00
stress1
string_names
subdir
subdirectory-module-maps-working-dir/subdir_module [HeaderSearch] loadSubdirectoryModuleMaps should respect -working-directory 2018-11-14 01:08:03 +00:00
submodule-in-private-mmap/A.framework [Modules] Allow @import to reach submodules in private module maps 2018-05-02 02:25:03 +00:00
submodule-visibility [modules] When creating a declaration, cache its owning module immediately 2017-05-17 00:24:14 +00:00
submodules
submodules-merge-defs
suggest-include
system-out-of-date Avoid these headers looking like the same file on a content-addressed file system. 2017-03-20 20:14:03 +00:00
template-default-args [modules] Properly look up the owning module for an instantiation of a merged template. 2017-04-21 01:15:13 +00:00
template-specialization-visibility
thread-safety
unavailable-local-visibility When we leave a module header, make that header visible in its 2018-09-12 23:09:23 +00:00
undefined-type-fixit
unnecessary-module-map-parsing
unused-global-init [modules] Don't emit initializers for VarDecls within a module eagerly whenever 2016-07-20 19:10:16 +00:00
update-after-load
update-exception-spec
using-decl-redecl
va_list
warning-mismatch Reapply "Modules: Cache PCMs in memory and avoid a use-after-free" 2017-03-20 17:58:26 +00:00
wildcard-submodule-exports
working-dir-test/Test.framework
DebugCXX.h -gmodules: Emit debug info for implicit module imports via #include. 2018-01-03 19:10:21 +00:00
DebugNestedA.h Module debug info: Don't assert when encountering an incomplete definition 2016-08-22 22:23:58 +00:00
DebugNestedB.h Module debug info: Don't assert when encountering an incomplete definition 2016-08-22 22:23:58 +00:00
DebugObjC.h
DebugObjCImport.h Update for LLVM IR metadata changes (DIImportedEntity now needs a DIFile). 2017-07-19 00:09:58 +00:00
DebugSubmoduleA.h
DebugSubmoduleB.h
DiagOutOfDate.h Modules: add command line option fmodules-disable-diagnostic-validation 2016-07-26 17:12:17 +00:00
ExtensionTestA.h
ImportNameInDir.h
MacroFabs1.h PCH + module: make sure we write out macros associated with builtin identifiers. 2016-05-31 18:19:32 +00:00
MethodPoolA.h
MethodPoolASub.h
MethodPoolASub2.h
MethodPoolB.h
MethodPoolBSub.h
MethodPoolBSub2.h
MethodPoolCombined1.h
MethodPoolCombined2.h
MethodPoolString1.h
MethodPoolString2.h
autolink-sub.h
autolink-sub2.h
autolink-sub3.h
autolink-sub3.pch
autolink.h
builtin.h
builtin_sub.h
c-header-bad.h
c-header.h
category_bottom.h
category_left.h
category_left_sub.h
category_other.h
category_right.h
category_right_sub.h [ObjC][Modules] Don't perform property lookup in hidden class extensions 2017-02-22 23:18:49 +00:00
category_top.h
codegen-extern-template.modulemap fix recent -fmodules-codegen fix test 2020-01-14 23:51:07 +01:00
config.h
crash.h
cxx-decls-imported.h
cxx-decls-merged.h
cxx-decls-premerged.h
cxx-decls-unimported.h
cxx-header.h [modules] Use the "redundant #include" diagnostic rather than the "module 2016-12-06 00:12:39 +00:00
cxx-inline-namespace-b.h
cxx-inline-namespace.h
cxx-irgen-left.h
cxx-irgen-right.h
cxx-irgen-top.h
cxx-linkage-cache.h
cxx-many-overloads.h
cxx-templates-a.h
cxx-templates-b-impl.h
cxx-templates-b.h
cxx-templates-c.h
cxx-templates-common.h [modules] Enforce the rules that an explicit or partial specialization must be 2016-05-05 00:56:12 +00:00
cxx-templates-d.h
cxx-templates-textual.h
cxx-templates-unimported.h [modules] Enforce the rules that an explicit or partial specialization must be 2016-05-05 00:56:12 +00:00
decl.h
decl2.h
def-include.h
def.h
dependency-gen-base.modulemap
dependency-gen-base2.modulemap
dependency-gen-included.h
dependency-gen-included2.h
dependency-gen.h
diag_flags.h [modules] Fix incorrect diagnostic mapping computation when a module changes 2018-02-09 01:15:13 +00:00
diag_pragma.h Remove and replace DiagStatePoint tracking and lookup data structure. 2017-01-26 01:01:01 +00:00
diagnostics-aux-2.modulemap
diagnostics-aux.modulemap
diamond.h
diamond_bottom.h
diamond_left.h
diamond_right.h
diamond_top.h
dummy.h
elaborated-type-structs.h
empty.h
export_as_test.modulemap [Module map] Introduce a private module re-export directive. 2017-09-14 23:38:44 +00:00
ignored_macros.h
import-decl.h
incomplete_mod.h
incomplete_mod_missing.h
innerstructredef.h [modules] Set the lexical DC for dummy tag decls that refer to hidden 2017-08-11 12:06:52 +00:00
irgen.h
linkage-merge-bar.h
linkage-merge-foo.h
linkage-merge-sub.h
load_failure.h
lookup_left.h
lookup_left.hpp
lookup_right.h
lookup_right.hpp
macros-indirect.h
macros.h
macros_bottom.h
macros_left.h
macros_other.h
macros_right.h
macros_right_undef.h
macros_top.h
macros_top_b.h
macros_top_c.h
modular_maps-moduleb-cwd.map
module.map Fix a reentrance bug with deserializing ObjC type parameters. 2020-02-12 18:44:19 -05:00
module_private_left.h
module_private_right.h
namespaces-left.h
namespaces-right.h
namespaces-top.h
non-module.h
objc-method-redecl.h ObjectiveC: fix a seg fault when deserialing redeclaration of ObjCMethodDecl. 2016-10-03 21:26:46 +00:00
objcAtKeywordMissingEnd.h [Lexer] Ensure that the token is not an annotation token when 2017-05-17 11:08:36 +00:00
objc_type_param.h Fix a reentrance bug with deserializing ObjC type parameters. 2020-02-12 18:44:19 -05:00
pch-import-module-out-of-date.pch Modules: add command line option fmodules-disable-diagnostic-validation 2016-07-26 17:12:17 +00:00
pch-import-module-with-macro.pch PCH + module: make sure we write out macros associated with builtin identifiers. 2016-05-31 18:19:32 +00:00
pch-used.h
point.h
pragma_pack_set.h [Modules][PCH] Serialize #pragma pack 2017-03-31 15:36:21 +00:00
preprocess-prefix.h
recursive1.h
recursive2.h
recursive_visibility_a1_inner.h
recursive_visibility_a2_more_inner.h
recursive_visibility_b.h
recursive_visibility_c.h
redecl-add-after-load-decls.h
redecl-add-after-load-top.h
redecl-add-after-load.h
redecl-merge-bottom-prefix.h
redecl-merge-bottom.h
redecl-merge-left-left.h
redecl-merge-left.h
redecl-merge-right.h
redecl-merge-top-explicit.h
redecl-merge-top.h
redecl_namespaces_left.h
redecl_namespaces_right.h
redeclarations_left.h
redeclarations_right.h
relative-dep-gen-1.h
relative-dep-gen-2.h
relative-dep-gen-cwd.modulemap
relative-dep-gen.modulemap
template-nontrivial0.h [ObjC] Allow declaring __weak pointer fields in C structs in ARC. 2018-03-19 17:38:40 +00:00
template-nontrivial1.h [ObjC] Allow declaring __weak pointer fields in C structs in ARC. 2018-03-19 17:38:40 +00:00
templates-left.h [modules] Fix assert if multiple update records provide a definition for a 2016-10-26 02:31:56 +00:00
templates-right.h [modules] Fix assert if multiple update records provide a definition for a 2016-10-26 02:31:56 +00:00
templates-top.h [modules] Fix assert if multiple update records provide a definition for a 2016-10-26 02:31:56 +00:00
typedef-tag-hidden.h
typedef-tag.h
typo.h
use-builtin.h
using-decl-a.h
using-decl-b.h
warn-unused-local-typedef.h
warning.h
weird_objc.h