================ @@ -582,6 +582,12 @@ class Lexer : public PreprocessorLexer { /// sequence. static bool isNewLineEscaped(const char *BufferStart, const char *Str); + /// Diagnose use of a delimited or named escape sequence. + static void DiagnoseDelimitedOrNamedEscapeSequence(SourceLocation Loc, + bool Named, + const LangOptions &Opts, + DiagnosticsEngine &Diags); + ---------------- cor3ntin wrote:
This could just be a non-member static function Lexer.cpp https://github.com/llvm/llvm-project/pull/131626 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits