This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG559f07b87211: [Clang] Adjust extension warnings for #warning
(authored by cor3ntin).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTIO
cor3ntin added inline comments.
Comment at: clang/include/clang/Basic/DiagnosticLexKinds.td:393-398
+def warn_cxx2b_compat_warning_directive : Warning<
+ "#warning is incompatible with C++ standards before C++2b">,
+ InGroup, DefaultIgnore;
+def warn_c2x_compat_warning_directiv
aaron.ballman accepted this revision.
aaron.ballman added a comment.
This revision is now accepted and ready to land.
LGTM!
Comment at: clang/include/clang/Basic/DiagnosticLexKinds.td:393-398
+def warn_cxx2b_compat_warning_directive : Warning<
+ "#warning is incompatible with
cor3ntin updated this revision to Diff 447049.
cor3ntin added a comment.
Update release notes.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D130415/new/
https://reviews.llvm.org/D130415
Files:
clang/docs/ReleaseNotes.rst
clang/include/clang/Ba
cor3ntin updated this revision to Diff 447048.
cor3ntin added a comment.
Formatting
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D130415/new/
https://reviews.llvm.org/D130415
Files:
clang/include/clang/Basic/DiagnosticLexKinds.td
clang/lib/Lex
cor3ntin created this revision.
Herald added a project: All.
cor3ntin requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
The #warning directive is standard in C++2b and C2x,
this adjusts the pedantic and extensions warning accordingly.
Repos