commit | ed9c59f2ae338f6f70c1fed2ce7b0d8a5eb3ba1c | [log] [tgz] |
---|---|---|
author | Jordan Rose <jordan_rose@apple.com> | Sat Feb 09 01:10:25 2013 +0000 |
committer | Jordan Rose <jordan_rose@apple.com> | Sat Feb 09 01:10:25 2013 +0000 |
tree | c44416a4a19ee046bfff32e5688f7fe40e14b7aa | |
parent | d523df6a143a97eea46916c6e31c8f2a0728bf28 [diff] |
Properly validate UCNs for C99 and C++03 (both more restrictive than C(++)11). Add warnings under -Wc++11-compat, -Wc++98-compat, and -Wc99-compat when a particular UCN is incompatible with a different standard, and -Wunicode when a UCN refers to a surrogate character in C++03. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174788 91177308-0d34-0410-b5e6-96231b3b80d8