projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0da4cec
)
[clang] silence unused variable warning
author
Krasimir Georgiev
<krasimir@google.com>
Fri, 16 Dec 2022 11:21:21 +0000
(11:21 +0000)
committer
Krasimir Georgiev
<krasimir@google.com>
Fri, 16 Dec 2022 11:22:46 +0000
(11:22 +0000)
No functional changes intended.
clang/lib/Lex/Lexer.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/Lex/Lexer.cpp
b/clang/lib/Lex/Lexer.cpp
index
d1af455
..
2f21f7b
100644
(file)
--- 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)