[clang] [Clang] Warn on backslash-newline-EOF (PR #97585)

Mital Ashok via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 5 03:56:17 PDT 2024


================
@@ -647,6 +647,8 @@ Improvements to Clang's diagnostics
 
 - Clang now shows implicit deduction guides when diagnosing overload resolution failure. #GH92393.
 
+- Clang now emits ``-Wnewline-eof`` when the last newline is deleted by a preceding backslash. #GH41571.
----------------
MitalAshok wrote:

Is the space before the full stop intentional?

https://github.com/llvm/llvm-project/pull/97585


More information about the cfe-commits mailing list