aboutsummaryrefslogtreecommitdiff
path: root/clang
diff options
context:
space:
mode:
authorMichael Spencer <bigcheesegs@gmail.com>2025-03-25 10:55:31 -0700
committerMichael Spencer <bigcheesegs@gmail.com>2025-03-25 10:58:44 -0700
commit53fa28940e0a3ef183e04dd8bc8566d64bbfd101 (patch)
tree1f794e63711da7b51d972018e0df3c5782c2c41e /clang
parent74c2c049d12cf9c2aa1ce8bcf16048f4a084dd90 (diff)
downloadllvm-53fa28940e0a3ef183e04dd8bc8566d64bbfd101.zip
llvm-53fa28940e0a3ef183e04dd8bc8566d64bbfd101.tar.gz
llvm-53fa28940e0a3ef183e04dd8bc8566d64bbfd101.tar.bz2
[clang] Remove unused member variable from ModuleMap
This became unused when module map parsing moved to ModuleMapFile.cpp.
Diffstat (limited to 'clang')
-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;