summaryrefslogtreecommitdiffstats
path: root/clang/lib/Lex
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
commit9a17c85454fd8874347ba35c3518c1f89045fc30 (patch)
tree2bed6304c21bff69c07884f1c914c664f9af8fa3 /clang/lib/Lex
parent6ffb42ad0f8b2efd218f9426494879baedf3be45 (diff)
downloadbcm5719-llvm-9a17c85454fd8874347ba35c3518c1f89045fc30.tar.gz
bcm5719-llvm-9a17c85454fd8874347ba35c3518c1f89045fc30.zip
Properly track that a character literal is UTF-8, and pretty print the prefix properly.
llvm-svn: 257097
Diffstat (limited to 'clang/lib/Lex')
-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 1e7858af894..5b1c49344e8 100644
--- a/clang/lib/Lex/LiteralSupport.cpp
+++ b/clang/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
OpenPOWER on IntegriCloud