diff options
| author | Manman Ren <manman.ren@gmail.com> | 2016-04-06 23:28:26 +0000 |
|---|---|---|
| committer | Manman Ren <manman.ren@gmail.com> | 2016-04-06 23:28:26 +0000 |
| commit | 8f42e69b18cdefdbb6672ae940b20e02b094aadd (patch) | |
| tree | 95cd646a47d5669869fa0a004bbebec4f0a03c98 /clang/test/Modules | |
| parent | 70ea45306ab9fc58853e813c2492f4cdc4a21dda (diff) | |
| download | bcm5719-llvm-8f42e69b18cdefdbb6672ae940b20e02b094aadd.tar.gz bcm5719-llvm-8f42e69b18cdefdbb6672ae940b20e02b094aadd.zip | |
Keep -fmodule-implementation-of as an alias of -fmodule-name.
This helps us transitioning to -fmodule-name. Once the transitioning is done,
we can remove this alias.
rdar://24800983
llvm-svn: 265616
Diffstat (limited to 'clang/test/Modules')
| -rw-r--r-- | clang/test/Modules/implementation-of-module.m | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/clang/test/Modules/implementation-of-module.m b/clang/test/Modules/implementation-of-module.m index c07c52c3fc6..712f12c5654 100644 --- a/clang/test/Modules/implementation-of-module.m +++ b/clang/test/Modules/implementation-of-module.m @@ -1,18 +1,18 @@ // RUN: rm -rf %t // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -w -Werror=auto-import %s -I %S/Inputs \ -// RUN: -fmodule-name=category_right -fsyntax-only +// RUN: -fmodule-implementation-of category_right -fsyntax-only // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -w -Werror=auto-import %s -I %S/Inputs \ -// RUN: -fmodule-name=category_right -dM -E -o - 2>&1 | FileCheck %s +// RUN: -fmodule-implementation-of category_right -dM -E -o - 2>&1 | FileCheck %s // CHECK-NOT: __building_module // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -w -Werror=auto-import %s -I %S/Inputs \ -// RUN: -fmodule-name=category_left -verify +// RUN: -fmodule-implementation-of category_left -verify // RUN: %clang_cc1 -x objective-c-header -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -w -Werror=auto-import %s -I %S/Inputs \ -// RUN: -fmodule-name=category_right -emit-pch -o %t.pch +// RUN: -fmodule-implementation-of category_right -emit-pch -o %t.pch // RUN: %clang_cc1 -x objective-c-header -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -w -Werror=auto-import %s -I %S/Inputs \ -// RUN: -DWITH_PREFIX -fmodules-ignore-macro=WITH_PREFIX -include-pch %t.pch -fmodule-name=category_right +// RUN: -DWITH_PREFIX -fmodules-ignore-macro=WITH_PREFIX -include-pch %t.pch -fmodule-implementation-of category_right #ifndef WITH_PREFIX |

