From 930b71a4a7dedf70a73e5fd875bae7df452b80a9 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Wed, 29 Jul 2009 01:46:05 +0000 Subject: [PATCH] CharLiteralParser::IsMultiChar was sometimes uninitialized. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77420 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Lex/LiteralSupport.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Lex/LiteralSupport.cpp b/lib/Lex/LiteralSupport.cpp index f8b9258457..5da0e9c3ef 100644 --- a/lib/Lex/LiteralSupport.cpp +++ b/lib/Lex/LiteralSupport.cpp @@ -688,7 +688,8 @@ CharLiteralParser::CharLiteralParser(const char *begin, const char *end, else PP.Diag(Loc, diag::ext_four_char_character_literal); IsMultiChar = true; - } + } else + IsMultiChar = false; // Transfer the value from APInt to uint64_t Value = LitVal.getZExtValue(); -- 2.40.0