diff options
author | Mitch Phillips <31459023+hctim@users.noreply.github.com> | 2023-03-27 04:33:09 -0700 |
---|---|---|
committer | Mitch Phillips <31459023+hctim@users.noreply.github.com> | 2023-03-27 05:01:53 -0700 |
commit | 5ca710ab148b0815c2b7b03fe2af643e637bbc7d (patch) | |
tree | 43cc2c5ef22d2862b0ab272ed50596e6a93ebeb0 /clang/lib/Lex/ModuleMap.cpp | |
parent | 2d68a42f084a460007b368eab191cf0ff1b976d7 (diff) | |
download | llvm-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.cpp | 1 |
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; |