r275490 - Add test inputs missed by r275481.

Richard Smith via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 14 15:15:07 PDT 2016


Author: rsmith
Date: Thu Jul 14 17:15:06 2016
New Revision: 275490

URL: http://llvm.org/viewvc/llvm-project?rev=275490&view=rev
Log:
Add test inputs missed by r275481.

Added:
    cfe/trunk/test/Modules/Inputs/unused-global-init/
    cfe/trunk/test/Modules/Inputs/unused-global-init/init.h
    cfe/trunk/test/Modules/Inputs/unused-global-init/module.modulemap
    cfe/trunk/test/Modules/Inputs/unused-global-init/other.h
    cfe/trunk/test/Modules/Inputs/unused-global-init/unused.h
    cfe/trunk/test/Modules/Inputs/unused-global-init/used.h

Added: cfe/trunk/test/Modules/Inputs/unused-global-init/init.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Modules/Inputs/unused-global-init/init.h?rev=275490&view=auto
==============================================================================
--- cfe/trunk/test/Modules/Inputs/unused-global-init/init.h (added)
+++ cfe/trunk/test/Modules/Inputs/unused-global-init/init.h Thu Jul 14 17:15:06 2016
@@ -0,0 +1 @@
+struct Init { Init(); ~Init(); } init;

Added: cfe/trunk/test/Modules/Inputs/unused-global-init/module.modulemap
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Modules/Inputs/unused-global-init/module.modulemap?rev=275490&view=auto
==============================================================================
--- cfe/trunk/test/Modules/Inputs/unused-global-init/module.modulemap (added)
+++ cfe/trunk/test/Modules/Inputs/unused-global-init/module.modulemap Thu Jul 14 17:15:06 2016
@@ -0,0 +1,3 @@
+module used { header "used.h" }
+module unused { header "unused.h" }
+module init { module a { header "init.h" } module b { header "other.h" } }

Added: cfe/trunk/test/Modules/Inputs/unused-global-init/other.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Modules/Inputs/unused-global-init/other.h?rev=275490&view=auto
==============================================================================
--- cfe/trunk/test/Modules/Inputs/unused-global-init/other.h (added)
+++ cfe/trunk/test/Modules/Inputs/unused-global-init/other.h Thu Jul 14 17:15:06 2016
@@ -0,0 +1 @@
+// other.h

Added: cfe/trunk/test/Modules/Inputs/unused-global-init/unused.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Modules/Inputs/unused-global-init/unused.h?rev=275490&view=auto
==============================================================================
--- cfe/trunk/test/Modules/Inputs/unused-global-init/unused.h (added)
+++ cfe/trunk/test/Modules/Inputs/unused-global-init/unused.h Thu Jul 14 17:15:06 2016
@@ -0,0 +1 @@
+// unused.h

Added: cfe/trunk/test/Modules/Inputs/unused-global-init/used.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Modules/Inputs/unused-global-init/used.h?rev=275490&view=auto
==============================================================================
--- cfe/trunk/test/Modules/Inputs/unused-global-init/used.h (added)
+++ cfe/trunk/test/Modules/Inputs/unused-global-init/used.h Thu Jul 14 17:15:06 2016
@@ -0,0 +1,2 @@
+// used.h
+#include "other.h"




More information about the cfe-commits mailing list