[clang] silence unused variable warning
authorKrasimir Georgiev <krasimir@google.com>
Fri, 16 Dec 2022 11:21:21 +0000 (11:21 +0000)
committerKrasimir Georgiev <krasimir@google.com>
Fri, 16 Dec 2022 11:22:46 +0000 (11:22 +0000)
No functional changes intended.

clang/lib/Lex/Lexer.cpp

index d1af455..2f21f7b 100644 (file)
@@ -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)