Skip to content

Commit 53fa289

Browse files
committed
[clang] Remove unused member variable from ModuleMap
This became unused when module map parsing moved to ModuleMapFile.cpp.
1 parent 74c2c04 commit 53fa289

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

clang/include/clang/Lex/ModuleMap.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,6 @@ class ModuleMap {
8484
/// such as "stdint.h".
8585
OptionalDirectoryEntryRef BuiltinIncludeDir;
8686

87-
/// Language options used to parse the module map itself.
88-
///
89-
/// These are always simple C language options.
90-
LangOptions MMapLangOpts;
91-
9287
/// The module that the main source file is associated with (the module
9388
/// named LangOpts::CurrentModule, if we've loaded it).
9489
Module *SourceModule = nullptr;

clang/lib/Lex/ModuleMap.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,6 @@ ModuleMap::ModuleMap(SourceManager &SourceMgr, DiagnosticsEngine &Diags,
354354
HeaderSearch &HeaderInfo)
355355
: SourceMgr(SourceMgr), Diags(Diags), LangOpts(LangOpts), Target(Target),
356356
HeaderInfo(HeaderInfo) {
357-
MMapLangOpts.LineComment = true;
358357
}
359358

360359
ModuleMap::~ModuleMap() = default;

0 commit comments

Comments
 (0)