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:
841f14b
)
CharLiteralParser::IsMultiChar was sometimes uninitialized.
author
Daniel Dunbar
<daniel@zuster.org>
Wed, 29 Jul 2009 01:46:05 +0000
(
01:46
+0000)
committer
Daniel Dunbar
<daniel@zuster.org>
Wed, 29 Jul 2009 01:46:05 +0000
(
01:46
+0000)
llvm-svn: 77420
clang/lib/Lex/LiteralSupport.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/Lex/LiteralSupport.cpp
b/clang/lib/Lex/LiteralSupport.cpp
index
f8b9258
..
5da0e9c
100644
(file)
--- a/
clang/lib/Lex/LiteralSupport.cpp
+++ b/
clang/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();