Require a module.map file to load a module
Removes some old code that allowed a module to be loaded from a pcm file even if the module.map could not be found. Also update a number of tests that relied on the old behavior. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@199852 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- lib/Frontend/CompilerInstance.cpp 10 additions, 23 deletionslib/Frontend/CompilerInstance.cpp
- test/Modules/config_macros.m 1 addition, 1 deletiontest/Modules/config_macros.m
- test/Modules/diag-pragma.c 1 addition, 1 deletiontest/Modules/diag-pragma.c
- test/Modules/diamond-pch.c 1 addition, 1 deletiontest/Modules/diamond-pch.c
- test/Modules/diamond.c 1 addition, 1 deletiontest/Modules/diamond.c
- test/Modules/irgen.c 1 addition, 1 deletiontest/Modules/irgen.c
- test/Modules/linkage-merge.m 1 addition, 1 deletiontest/Modules/linkage-merge.m
- test/Modules/load_failure.c 2 additions, 2 deletionstest/Modules/load_failure.c
- test/Modules/lookup.cpp 2 additions, 2 deletionstest/Modules/lookup.cpp
- test/Modules/lookup.m 2 additions, 2 deletionstest/Modules/lookup.m
- test/Modules/macros.c 2 additions, 2 deletionstest/Modules/macros.c
- test/Modules/module-private.cpp 1 addition, 1 deletiontest/Modules/module-private.cpp
- test/Modules/objc-categories.m 1 addition, 1 deletiontest/Modules/objc-categories.m
- test/Modules/objc_redef.m 1 addition, 1 deletiontest/Modules/objc_redef.m
- test/Modules/redecl-namespaces.mm 1 addition, 1 deletiontest/Modules/redecl-namespaces.mm
- test/Modules/redeclarations.m 1 addition, 1 deletiontest/Modules/redeclarations.m
- test/Modules/redecls/main.m 2 additions, 2 deletionstest/Modules/redecls/main.m
Please register or sign in to comment