]> granicus.if.org Git - clang/commit
Improve diagnostics for UCNs referring to control characters and members of the
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 9 Mar 2012 22:27:51 +0000 (22:27 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 9 Mar 2012 22:27:51 +0000 (22:27 +0000)
commit26b75c07317a3b50a8a00a1623e3ef38af1d8349
tree7a996e959bd9bb606c4374000762a9118a92168c
parente7d6ca079a68ed9ea7fa6e5d6bfc9f625a37df76
Improve diagnostics for UCNs referring to control characters and members of the
basic source character set in C++98. Add -Wc++98-compat diagnostics for same in
literals in C++11. Extend such support to cover string literals as well as
character literals, and mark N2170 as done.

This seems too minor to warrant a release note to me. Let me know if you disagree.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152444 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticLexKinds.td
lib/Lex/LiteralSupport.cpp
test/CXX/lex/lex.charset/p2-cxx11.cpp [new file with mode: 0644]
test/CXX/lex/lex.charset/p2-cxx98.cpp [new file with mode: 0644]
test/Sema/ucn-cstring.c
test/SemaCXX/cxx98-compat.cpp
www/cxx_status.html