aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--clang/include/clang/Lex/ModuleMap.h5
-rw-r--r--clang/lib/Lex/ModuleMap.cpp1
2 files changed, 0 insertions, 6 deletions
diff --git a/clang/include/clang/Lex/ModuleMap.h b/clang/include/clang/Lex/ModuleMap.h
index 9de1b3b..3baeea0 100644
--- a/clang/include/clang/Lex/ModuleMap.h
+++ b/clang/include/clang/Lex/ModuleMap.h
@@ -84,11 +84,6 @@ class ModuleMap {
/// such as "stdint.h".
OptionalDirectoryEntryRef BuiltinIncludeDir;
- /// Language options used to parse the module map itself.
- ///
- /// These are always simple C language options.
- LangOptions MMapLangOpts;
-
/// The module that the main source file is associated with (the module
/// named LangOpts::CurrentModule, if we've loaded it).
Module *SourceModule = nullptr;
diff --git a/clang/lib/Lex/ModuleMap.cpp b/clang/lib/Lex/ModuleMap.cpp
index e6985a4..ea142bc 100644
--- a/clang/lib/Lex/ModuleMap.cpp
+++ b/clang/lib/Lex/ModuleMap.cpp
@@ -354,7 +354,6 @@ ModuleMap::ModuleMap(SourceManager &SourceMgr, DiagnosticsEngine &Diags,
HeaderSearch &HeaderInfo)
: SourceMgr(SourceMgr), Diags(Diags), LangOpts(LangOpts), Target(Target),
HeaderInfo(HeaderInfo) {
- MMapLangOpts.LineComment = true;
}
ModuleMap::~ModuleMap() = default;