Michael Spencer a171d248ca
[clang][modules] Deprecate module.map in favor of module.modulemap (#75142)
This patch deprecates `module.map` in favor of `module.modulemap`, which
has been the preferred form since 2014. The eventual goal is to remove
support for `module.map` to reduce the number of stats Clang needs to do
while searching for module map files.

This patch touches a lot of files, but the majority of them are just
renaming tests or references to the file in comments or documentation.

The relevant files are:
* lib/Lex/HeaderSearch.cpp
* include/clang/Basic/DiagnosticGroups.td
* include/clang/Basic/DiagnosticLexKinds.td
2023-12-14 14:03:57 -08:00

80 lines
874 B
Plaintext

module XA {
header "a.h"
}
module XB {
module B { 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"
use XA
use XB
}
module XF {
header "f.h"
use XA
use XB
}
module XG {
header "g.h"
header "g1.h"
use XC
use XE
use XJ
use XK
use XN
}
module XH {
module H { header "h.h" }
header "h1.h"
header "s.h"
use XC
use XE
}
module XJ {
header "j.h"
}
module XK {
textual header "k.h"
}
module XL {
textual header "l.h"
}
module XM {
private textual header "m.h"
textual header "m2.h"
}
module XN {
module sub {
header "sub.h"
}
}
module XS {
}
module Textual {
textual header "textual.h"
}