Files
clang-p2996/clang/test/Modules/Inputs/declare-use/module.map
Manuel Klimek 98a9a6c667 Use the expansion location of the file name when finding the module.
The spelling location of stringified strings is not a file location.
Optimally, we'll want to solve the problem (as the FIXME states) by
handing in the right FileEntry of the #include location.

llvm-svn: 204220
2014-03-19 10:22:36 +00:00

57 lines
632 B
Plaintext

module XA {
header "a.h"
}
module XB {
header "b.h"
}
module XC {
header "c.h"
use XA
// Intentionally doesn't use XB to show that -fdecl-use isn't transitive.
}
module XD {
header "d.h"
use XA
// Intentionally doesn't use XB to show that -fdecl-use isn't transitive.
}
module XE {
header "e.h"
header "unavailable.h"
use XA
use XB
}
module XF {
header "f.h"
header "unavailable.h"
use XA
use XB
}
module XG {
header "g.h"
header "g1.h"
use XC
use XE
use XJ
}
module XH {
header "h.h"
header "h1.h"
header "s.h"
use XC
use XE
}
module XJ {
header "j.h"
}
module XS {
}