OK, looks like your interpretation of 'digits' is probably the intended one.
================ Comment at: lib/Lex/Lexer.cpp:2797-2803 @@ +2796,9 @@ + DiagnosticsEngine &Diags = PP->getDiagnostics(); + DiagnosticsEngine::Level CompatLevel = + Diags.getDiagnosticLevel(diag::warn_cxx11_ucn_escape_surrogate, + getSourceLocation()); + if (CompatLevel > DiagnosticsEngine::Ignored) + Diag(BufferPtr, diag::warn_cxx11_ucn_escape_surrogate); + else + Diag(BufferPtr, diag::warn_ucn_escape_surrogate); + } ---------------- This is a bit weird. What if warn_ucn_escape_surrogate is an error but warn_cxx11_ucn_escape_surrogate is just a warning? Perhaps have just one warning, but put it in both CXX11Compat and Unicode groups? http://llvm-reviews.chandlerc.com/D327 _______________________________________________ cfe-commits mailing list cfe-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits