[all-commits] [llvm/llvm-project] 559f07: [Clang] Adjust extension warnings for #warning

cor3ntin via All-commits all-commits at lists.llvm.org
Sat Jul 23 05:10:24 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 559f07b872116fb85ea7d493768a6eb450329fa0
      https://github.com/llvm/llvm-project/commit/559f07b872116fb85ea7d493768a6eb450329fa0
  Author: Corentin Jabot <corentinjabot at gmail.com>
  Date:   2022-07-23 (Sat, 23 Jul 2022)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/DiagnosticLexKinds.td
    M clang/lib/Lex/PPDirectives.cpp
    M clang/test/Preprocessor/ext-pp-directive.c

  Log Message:
  -----------
  [Clang] Adjust extension warnings for #warning

The #warning directive is standard in C++2b and C2x,
this adjusts the pedantic and extensions warning accordingly.

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D130415




More information about the All-commits mailing list