diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2016-01-07 20:59:26 +0000 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2016-01-07 20:59:26 +0000 |
commit | 9a17c85454fd8874347ba35c3518c1f89045fc30 (patch) | |
tree | 2bed6304c21bff69c07884f1c914c664f9af8fa3 /clang/lib/Serialization | |
parent | 6ffb42ad0f8b2efd218f9426494879baedf3be45 (diff) | |
download | bcm5719-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/Serialization')
-rw-r--r-- | clang/lib/Serialization/ASTWriterDecl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Serialization/ASTWriterDecl.cpp b/clang/lib/Serialization/ASTWriterDecl.cpp index 20ca6d6fd51..54bba282ab8 100644 --- a/clang/lib/Serialization/ASTWriterDecl.cpp +++ b/clang/lib/Serialization/ASTWriterDecl.cpp @@ -2033,7 +2033,7 @@ void ASTWriter::WriteDeclAbbrevs() { //Character Literal Abv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // getValue Abv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // Location - Abv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 2)); // getKind + Abv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 3)); // getKind CharacterLiteralAbbrev = Stream.EmitAbbrev(Abv); // Abbreviation for EXPR_IMPLICIT_CAST |