modularize - Fix of header dependencies.

llvm-svn: 189983
This commit is contained in:
John Thompson 2013-09-04 20:45:43 +00:00
parent b7c0b4a327
commit 99e12d41d8
3 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,4 @@
// This header depends on SomeTypes.h for the TypeInt typedef.
typedef TypeInt NewTypeInt;
typedef OtherTypeInt OtherNewTypeInt;

View File

@ -0,0 +1,4 @@
// Declare another type for the dependency check.
// This file dependent on SomeTypes.h being included first.
typedef TypeInt OtherTypeInt;

View File

@ -0,0 +1,3 @@
# RUN: modularize %s -x c++
Inputs/IsDependent.h: Inputs/SomeTypes.h Inputs/SomeOtherTypes.h