summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang/lib/Lex/LiteralSupport.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Lex/LiteralSupport.cpp b/clang/lib/Lex/LiteralSupport.cpp
index c758b400325..fb543d0f03b 100644
--- a/clang/lib/Lex/LiteralSupport.cpp
+++ b/clang/lib/Lex/LiteralSupport.cpp
@@ -217,6 +217,7 @@ static void ProcessUCNEscape(const char *&ThisTokBuf, const char *ThisTokEnd,
return;
}
if (wide) {
+ (void)UcnLenSave;
assert(UcnLenSave == 4 &&
"ProcessUCNEscape - only ucn length of 4 supported");
// little endian assumed.
OpenPOWER on IntegriCloud