summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/normal-module-map.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2012-12-11 22:11:52 +0000
committerDouglas Gregor <dgregor@apple.com>2012-12-11 22:11:52 +0000
commitc50d4924eb2e84f5b2d9a39ab828410624f27643 (patch)
tree41595167dda1e9644cc359f865e63de151bc25d4 /clang/test/Modules/normal-module-map.cpp
parentb798fc98491be64027818fd2362e1896a9935903 (diff)
downloadbcm5719-llvm-c50d4924eb2e84f5b2d9a39ab828410624f27643.tar.gz
bcm5719-llvm-c50d4924eb2e84f5b2d9a39ab828410624f27643.zip
Use @import rather than @__experimental_modules_import, since the
latter is rather a mess to type. llvm-svn: 169919
Diffstat (limited to 'clang/test/Modules/normal-module-map.cpp')
-rw-r--r--clang/test/Modules/normal-module-map.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/clang/test/Modules/normal-module-map.cpp b/clang/test/Modules/normal-module-map.cpp
index 07ca5ed9330..6509a6d023d 100644
--- a/clang/test/Modules/normal-module-map.cpp
+++ b/clang/test/Modules/normal-module-map.cpp
@@ -8,7 +8,7 @@ int getUmbrella() {
return umbrella + umbrella_sub;
}
-@__experimental_modules_import Umbrella2;
+@import Umbrella2;
#include "a1.h"
#include "b1.h"
@@ -18,7 +18,7 @@ int test() {
return a1 + b1 + nested2;
}
-@__experimental_modules_import nested_umbrella.a;
+@import nested_umbrella.a;
int testNestedUmbrellaA() {
return nested_umbrella_a;
@@ -28,17 +28,17 @@ int testNestedUmbrellaBFail() {
return nested_umbrella_b; // expected-error{{use of undeclared identifier 'nested_umbrella_b'; did you mean 'nested_umbrella_a'?}}
}
-@__experimental_modules_import nested_umbrella.b;
+@import nested_umbrella.b;
int testNestedUmbrellaB() {
return nested_umbrella_b;
}
-@__experimental_modules_import nested_umbrella.a_extras;
+@import nested_umbrella.a_extras;
-@__experimental_modules_import nested_umbrella._1;
+@import nested_umbrella._1;
-@__experimental_modules_import nested_umbrella.decltype_;
+@import nested_umbrella.decltype_;
int testSanitizedName() {
return extra_a + one + decltype_val;
OpenPOWER on IntegriCloud