From 231992d9b88fe4e0b4aa0f55ed64d7ba88b231ce Mon Sep 17 00:00:00 2001 From: Krasimir Georgiev Date: Fri, 16 Dec 2022 11:21:21 +0000 Subject: [PATCH] [clang] silence unused variable warning No functional changes intended. --- clang/lib/Lex/Lexer.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clang/lib/Lex/Lexer.cpp b/clang/lib/Lex/Lexer.cpp index d1af455..2f21f7b 100644 --- a/clang/lib/Lex/Lexer.cpp +++ b/clang/lib/Lex/Lexer.cpp @@ -1548,6 +1548,8 @@ static void diagnoseExtensionInIdentifier(DiagnosticsEngine &Diags, uint32_t C, static const llvm::sys::UnicodeCharSet MathContinueChars( MathematicalNotationProfileIDContinueRanges); + (void)MathStartChars; + (void)MathContinueChars; assert((MathStartChars.contains(C) || MathContinueChars.contains(C)) && "Unexpected mathematical notation codepoint"); Diags.Report(Range.getBegin(), diag::ext_mathematical_notation) -- 2.7.4