[clang] [Clang] Warn on backslash-newline-EOF (PR #97585)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 5 02:48:30 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.
----------------
cor3ntin wrote:
```suggestion
- Clang now emits ``-Wnewline-eof`` when the last newline follows a splicing backslash . #GH41571.
```
https://github.com/llvm/llvm-project/pull/97585
More information about the cfe-commits
mailing list