llvm-project/clang/test/Modules/Inputs
John McCall 77b2ffc498 Fix a reentrance bug with deserializing ObjC type parameters.
This is a longstanding bug that seems to have been hidden by
a combination of (1) the normal flow being to deserialize the
interface before deserializing its parameter and (2) a precise
ordering of work that was apparently recently disturbed,
perhaps by my abstract-serialization work or Bruno's ObjC
module merging work.

Fixes rdar://59153545.
2020-02-12 18:44:19 -05: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
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
PR27739
PR27754
PR27890
PR28332
PR28438
PR28752
PR28794
PR28812
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
UseAfterFree
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 make -fmodules-codegen and -fmodules-debuginfo work also with PCHs 2020-01-15 00:01:08 +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
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 Take into account C++17's noexcept function types during merging -- it should 2017-03-08 23:00:26 +00: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-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
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
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
merge-decl-order
merge-dependent-friends
merge-fn-prototype-tags
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
merge-template-specializations
merge-typedefs
merge-using-decls [Test] NFC: Fixed typo in comments 2017-03-01 17:55:03 +00:00
merge-var-template-def
merge-vtable-codegen
misplaced
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
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
non-ambiguous-enum [Modules] Fix testcases from r331232 2018-04-30 22:57:02 +00:00
normal-module-map
objc-category
objc-category-2
objc-category-3
objc-desig-init [Modules][ObjC] Check definition from canonical decl on designated initializers 2017-04-26 05:06:20 +00:00
objc-hidden
objc-initializer
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
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
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
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
DebugNestedB.h
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
ExtensionTestA.h
ImportNameInDir.h
MacroFabs1.h
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
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
cxx-templates-d.h
cxx-templates-textual.h
cxx-templates-unimported.h
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
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
pch-import-module-with-macro.pch
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
templates-right.h
templates-top.h
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