[all-commits] [llvm/llvm-project] 9fc331: [C2y] Implement WG14 N3411 (#130180)
Aaron Ballman via All-commits
all-commits at lists.llvm.org
Fri Mar 7 05:34:44 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9fc3310798be5afd265ff6ad7274c0d02487f5df
https://github.com/llvm/llvm-project/commit/9fc3310798be5afd265ff6ad7274c0d02487f5df
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2025-03-07 (Fri, 07 Mar 2025)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Lex/Lexer.cpp
A clang/test/C/C2y/n3411.c
M clang/www/c_status.html
Log Message:
-----------
[C2y] Implement WG14 N3411 (#130180)
This paper (https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3411.pdf)
allows a source file to end without a newline. Clang has supported this
as a conforming extension for a long time, so this suppresses the
diagnotic in C2y mode but continues to diagnose as an extension in
earlier language modes. It also continues to diagnose if the user passes
-Wnewline-eof explicitly.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list