Skip to content

Commit d70c88d

Browse files
author
git apple-llvm automerger
committed
Merge commit 'e4de877390d5' from apple/stable/20200108 into swift/master-rebranch
2 parents 33e1b17 + e4de877 commit d70c88d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+189
-1918
lines changed

clang/include/clang-c/Dependencies.h

Lines changed: 0 additions & 223 deletions
This file was deleted.

clang/include/clang-c/Driver.h

Lines changed: 0 additions & 78 deletions
This file was deleted.

clang/include/clang/Basic/Module.h

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,6 @@ class Module {
109109
/// The name of the umbrella entry, as written in the module map.
110110
std::string UmbrellaAsWritten;
111111

112-
// The path to the umbrella entry relative to the root module's \c Directory.
113-
std::string UmbrellaRelativeToRootModuleDirectory;
114-
115112
/// The module through which entities defined in this module will
116113
/// eventually be exposed, for use in "private" modules.
117114
std::string ExportAsModule;
@@ -159,7 +156,6 @@ class Module {
159156
/// file.
160157
struct Header {
161158
std::string NameAsWritten;
162-
std::string PathRelativeToRootModuleDirectory;
163159
const FileEntry *Entry;
164160

165161
explicit operator bool() { return Entry; }
@@ -169,7 +165,6 @@ class Module {
169165
/// file.
170166
struct DirectoryName {
171167
std::string NameAsWritten;
172-
std::string PathRelativeToRootModuleDirectory;
173168
const DirectoryEntry *Entry;
174169

175170
explicit operator bool() { return Entry; }
@@ -496,8 +491,7 @@ class Module {
496491
/// module.
497492
Header getUmbrellaHeader() const {
498493
if (auto *E = Umbrella.dyn_cast<const FileEntry *>())
499-
return Header{UmbrellaAsWritten, UmbrellaRelativeToRootModuleDirectory,
500-
E};
494+
return Header{UmbrellaAsWritten, E};
501495
return Header{};
502496
}
503497

clang/include/clang/Driver/CC1Options.td

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,6 @@
1212

1313
let Flags = [CC1Option, NoDriverOption] in {
1414

15-
//===----------------------------------------------------------------------===//
16-
// Option Options
17-
//===----------------------------------------------------------------------===//
18-
19-
def remove_preceeding_explicit_module_build_incompatible_options :
20-
Flag<["-"], "remove-preceeding-explicit-module-build-incompatible-options">,
21-
HelpText<"Removes any arguments before this one that would be incompatible "
22-
"with explicitly building a module. This includes things like -o "
23-
"and input files. This option can be used to append arguments to "
24-
"convert a build of a translation unit with implicit modules "
25-
"into an explicit build of a specific module.">;
26-
2715
//===----------------------------------------------------------------------===//
2816
// Target Options
2917
//===----------------------------------------------------------------------===//

clang/include/clang/Driver/Options.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1538,7 +1538,7 @@ def fno_merge_all_constants : Flag<["-"], "fno-merge-all-constants">, Group<f_Gr
15381538
def fno_modules : Flag <["-"], "fno-modules">, Group<f_Group>,
15391539
Flags<[DriverOption]>;
15401540
def fno_implicit_module_maps : Flag <["-"], "fno-implicit-module-maps">, Group<f_Group>,
1541-
Flags<[DriverOption, CC1Option]>;
1541+
Flags<[DriverOption]>;
15421542
def fno_module_maps : Flag <["-"], "fno-module-maps">, Alias<fno_implicit_module_maps>;
15431543
def fno_modules_decluse : Flag <["-"], "fno-modules-decluse">, Group<f_Group>,
15441544
Flags<[DriverOption]>;

clang/include/clang/Lex/ModuleMap.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -653,14 +653,12 @@ class ModuleMap {
653653
/// Sets the umbrella header of the given module to the given
654654
/// header.
655655
void setUmbrellaHeader(Module *Mod, const FileEntry *UmbrellaHeader,
656-
Twine NameAsWritten,
657-
Twine PathRelativeToRootModuleDirectory);
656+
Twine NameAsWritten);
658657

659658
/// Sets the umbrella directory of the given module to the given
660659
/// directory.
661660
void setUmbrellaDir(Module *Mod, const DirectoryEntry *UmbrellaDir,
662-
Twine NameAsWritten,
663-
Twine PathRelativeToRootModuleDirectory);
661+
Twine NameAsWritten);
664662

665663
/// Adds this header to the given module.
666664
/// \param Role The role of the header wrt the module.

0 commit comments

Comments
 (0)