forked from OSchip/llvm-project
modularize - Fix of header dependencies.
llvm-svn: 189983
This commit is contained in:
parent
b7c0b4a327
commit
99e12d41d8
|
@ -0,0 +1,4 @@
|
||||||
|
// This header depends on SomeTypes.h for the TypeInt typedef.
|
||||||
|
|
||||||
|
typedef TypeInt NewTypeInt;
|
||||||
|
typedef OtherTypeInt OtherNewTypeInt;
|
|
@ -0,0 +1,4 @@
|
||||||
|
// Declare another type for the dependency check.
|
||||||
|
// This file dependent on SomeTypes.h being included first.
|
||||||
|
|
||||||
|
typedef TypeInt OtherTypeInt;
|
|
@ -0,0 +1,3 @@
|
||||||
|
# RUN: modularize %s -x c++
|
||||||
|
|
||||||
|
Inputs/IsDependent.h: Inputs/SomeTypes.h Inputs/SomeOtherTypes.h
|
Loading…
Reference in New Issue