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
Showing
- include/clang/Basic/DiagnosticLexKinds.td 10 additions, 0 deletionsinclude/clang/Basic/DiagnosticLexKinds.td
- lib/Lex/LiteralSupport.cpp 41 additions, 24 deletionslib/Lex/LiteralSupport.cpp
- test/CXX/lex/lex.charset/p2-cxx11.cpp 42 additions, 0 deletionstest/CXX/lex/lex.charset/p2-cxx11.cpp
- test/CXX/lex/lex.charset/p2-cxx98.cpp 55 additions, 0 deletionstest/CXX/lex/lex.charset/p2-cxx98.cpp
- test/Sema/ucn-cstring.c 1 addition, 2 deletionstest/Sema/ucn-cstring.c
- test/SemaCXX/cxx98-compat.cpp 7 additions, 0 deletionstest/SemaCXX/cxx98-compat.cpp
- www/cxx_status.html 2 additions, 2 deletionswww/cxx_status.html
Loading
Please register or sign in to comment