diff options
author | Seth Cantrell <seth.cantrell@gmail.com> | 2012-01-18 12:27:04 +0000 |
---|---|---|
committer | Seth Cantrell <seth.cantrell@gmail.com> | 2012-01-18 12:27:04 +0000 |
commit | be773526230b5a7121a8b321b05f2e53fa473f5c (patch) | |
tree | a755e66cb063593de8749f6f94c0aba1647d8eaf /include/clang/Serialization/ModuleManager.h | |
parent | 7d6a7c004361c45a463874a58da28d9f3c35f2e6 (diff) |
Improves support for Unicode in character literals
Updates ProcessUCNExcape() for C++. C++11 allows UCNs in character
and string literals that represent control characters and basic
source characters. Also C++03 allows UCNs that refer to surrogate
codepoints.
UTF-8 sequences in character literals are now handled as single
c-chars.
Added error for multiple characters in Unicode character literals.
Added errors for when a the execution charset encoding of a c-char
cannot be represented as a single code unit in the associated
character type. Note that for the purposes of this error the asso-
ciated character type for a narrow character literal is char, not
int, even though in C narrow character literals have type int.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148389 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Serialization/ModuleManager.h')
0 files changed, 0 insertions, 0 deletions