summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/module-impl-with-link.c
diff options
context:
space:
mode:
authorManman Ren <manman.ren@gmail.com>2017-01-11 18:32:30 +0000
committerManman Ren <manman.ren@gmail.com>2017-01-11 18:32:30 +0000
commit3e9dea024ec6816758314fb6eb58cc5b1678d334 (patch)
tree4c6474920341246dbb19a5174c6d06e6298826be /clang/test/Modules/module-impl-with-link.c
parentd1efea89c96d99813bea83e84b64d88b22de75fc (diff)
downloadbcm5719-llvm-3e9dea024ec6816758314fb6eb58cc5b1678d334.tar.gz
bcm5719-llvm-3e9dea024ec6816758314fb6eb58cc5b1678d334.zip
This reverts r291628. As suggested by Richard, we can simply
filter out the implicilty imported modules at CodeGen instead of removing the implicit ImportDecl when an implementation TU of a module imports a header of that same module. llvm-svn: 291688
Diffstat (limited to 'clang/test/Modules/module-impl-with-link.c')
-rw-r--r--clang/test/Modules/module-impl-with-link.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/clang/test/Modules/module-impl-with-link.c b/clang/test/Modules/module-impl-with-link.c
deleted file mode 100644
index 5e5ca83aafd..00000000000
--- a/clang/test/Modules/module-impl-with-link.c
+++ /dev/null
@@ -1,7 +0,0 @@
-// RUN: rm -rf %t
-// RUN: %clang_cc1 -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -fmodule-name=Clib %s -I %S/Inputs/module-impl-with-link -emit-llvm -o -
-#include "foo.h"
-// CHECK: !{{[0-9]+}} = !{i32 6, !"Linker Options", ![[LINK_OPTIONS:[0-9]+]]}
-// Make sure we don't generate linker option for module Clib since this TU is
-// an implementation of Clib.
-// CHECK: ![[LINK_OPTIONS]] = !{}
OpenPOWER on IntegriCloud