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. llvm-svn: 199852
13 lines
493 B
Objective-C
13 lines
493 B
Objective-C
@import redeclarations_left;
|
|
@import redeclarations_right;
|
|
|
|
@interface MyObject : NSObject
|
|
@end
|
|
|
|
// RUN: rm -rf %t
|
|
// RUN: %clang_cc1 -fmodules -x objective-c -fmodules-cache-path=%t -emit-module -fmodule-name=redeclarations_left %S/Inputs/module.map
|
|
// RUN: %clang_cc1 -fmodules -x objective-c -fmodules-cache-path=%t -emit-module -fmodule-name=redeclarations_right %S/Inputs/module.map
|
|
// RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t -I %S/Inputs %s -verify
|
|
// expected-no-diagnostics
|
|
|