[clang-tools-extra] r189983 - modularize - Fix of header dependencies.
John Thompson
John.Thompson.JTSoftware at gmail.com
Wed Sep 4 13:45:43 PDT 2013
Author: jtsoftware
Date: Wed Sep 4 15:45:43 2013
New Revision: 189983
URL: http://llvm.org/viewvc/llvm-project?rev=189983&view=rev
Log:
modularize - Fix of header dependencies.
Added:
clang-tools-extra/trunk/test/modularize/Inputs/IsDependent.h
clang-tools-extra/trunk/test/modularize/Inputs/SomeOtherTypes.h
clang-tools-extra/trunk/test/modularize/NoProblemsDependencies.modularize
Added: clang-tools-extra/trunk/test/modularize/Inputs/IsDependent.h
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/modularize/Inputs/IsDependent.h?rev=189983&view=auto
==============================================================================
--- clang-tools-extra/trunk/test/modularize/Inputs/IsDependent.h (added)
+++ clang-tools-extra/trunk/test/modularize/Inputs/IsDependent.h Wed Sep 4 15:45:43 2013
@@ -0,0 +1,4 @@
+// This header depends on SomeTypes.h for the TypeInt typedef.
+
+typedef TypeInt NewTypeInt;
+typedef OtherTypeInt OtherNewTypeInt;
Added: clang-tools-extra/trunk/test/modularize/Inputs/SomeOtherTypes.h
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/modularize/Inputs/SomeOtherTypes.h?rev=189983&view=auto
==============================================================================
--- clang-tools-extra/trunk/test/modularize/Inputs/SomeOtherTypes.h (added)
+++ clang-tools-extra/trunk/test/modularize/Inputs/SomeOtherTypes.h Wed Sep 4 15:45:43 2013
@@ -0,0 +1,4 @@
+// Declare another type for the dependency check.
+// This file dependent on SomeTypes.h being included first.
+
+typedef TypeInt OtherTypeInt;
Added: clang-tools-extra/trunk/test/modularize/NoProblemsDependencies.modularize
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/modularize/NoProblemsDependencies.modularize?rev=189983&view=auto
==============================================================================
--- clang-tools-extra/trunk/test/modularize/NoProblemsDependencies.modularize (added)
+++ clang-tools-extra/trunk/test/modularize/NoProblemsDependencies.modularize Wed Sep 4 15:45:43 2013
@@ -0,0 +1,3 @@
+# RUN: modularize %s -x c++
+
+Inputs/IsDependent.h: Inputs/SomeTypes.h Inputs/SomeOtherTypes.h
More information about the cfe-commits
mailing list