summaryrefslogtreecommitdiff
path: root/lib/Lex/LiteralSupport.cpp
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2016-01-07 20:59:26 +0000
committerAaron Ballman <aaron@aaronballman.com>2016-01-07 20:59:26 +0000
commit567d36503018ddf9b31d01bdbd38488a87ce450b (patch)
tree724ad4c04a50339a96b842ce0c0c6650da082d6c /lib/Lex/LiteralSupport.cpp
parent81238425d21e0dd3e1e2fe3bbbf793b900ae1836 (diff)
downloadclang-567d36503018ddf9b31d01bdbd38488a87ce450b.tar.gz
Properly track that a character literal is UTF-8, and pretty print the prefix properly.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@257097 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Lex/LiteralSupport.cpp')
-rw-r--r--lib/Lex/LiteralSupport.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Lex/LiteralSupport.cpp b/lib/Lex/LiteralSupport.cpp
index 1e7858af89..5b1c49344e 100644
--- a/lib/Lex/LiteralSupport.cpp
+++ b/lib/Lex/LiteralSupport.cpp
@@ -983,6 +983,7 @@ NumericLiteralParser::GetFloatValue(llvm::APFloat &Result) {
/// u' c-char-sequence '
/// U' c-char-sequence '
/// L' c-char-sequence '
+/// u8' c-char-sequence ' [C++1z lex.ccon]
/// c-char-sequence:
/// c-char
/// c-char-sequence c-char