aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorMitch Phillips <31459023+hctim@users.noreply.github.com>2023-03-27 04:33:09 -0700
committerMitch Phillips <31459023+hctim@users.noreply.github.com>2023-03-27 05:01:53 -0700
commit5ca710ab148b0815c2b7b03fe2af643e637bbc7d (patch)
tree43cc2c5ef22d2862b0ab272ed50596e6a93ebeb0 /clang/lib/Lex/ModuleMap.cpp
parent2d68a42f084a460007b368eab191cf0ff1b976d7 (diff)
downloadllvm-5ca710ab148b0815c2b7b03fe2af643e637bbc7d.zip
llvm-5ca710ab148b0815c2b7b03fe2af643e637bbc7d.tar.gz
llvm-5ca710ab148b0815c2b7b03fe2af643e637bbc7d.tar.bz2
Revert "Silence unused variable warning in NDEBUG builds"
This reverts commit 8c7c1f11ffaacf762e612c65440fd2cbb58ee426. Reason: Dependent change https://reviews.llvm.org/D126959 broke the ASan buildbots. See that phabricator review for more comments.
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
-rw-r--r--clang/lib/Lex/ModuleMap.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/Lex/ModuleMap.cpp b/clang/lib/Lex/ModuleMap.cpp
index 44c8723..f2b2d0b 100644
--- a/clang/lib/Lex/ModuleMap.cpp
+++ b/clang/lib/Lex/ModuleMap.cpp
@@ -936,7 +936,6 @@ Module *ModuleMap::createModuleForImplementationUnit(SourceLocation Loc,
// Mark the main source file as being within the newly-created module so that
// declarations and macros are properly visibility-restricted to it.
auto *MainFile = SourceMgr.getFileEntryForID(SourceMgr.getMainFileID());
- (void)MainFile;
assert(MainFile && "no input file for module implementation");
return Result;