[all-commits] [llvm/llvm-project] 97434c: [C11] Diagnose C11 keywords as being incompatible ...

Aaron Ballman via All-commits all-commits at lists.llvm.org
Fri Feb 16 12:08:17 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 97434cb318d170a14914126f33181b759197ba41
      https://github.com/llvm/llvm-project/commit/97434cb318d170a14914126f33181b759197ba41
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2024-02-16 (Fri, 16 Feb 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/DiagnosticGroups.td
    M clang/include/clang/Basic/DiagnosticParseKinds.td
    M clang/include/clang/Parse/Parser.h
    M clang/lib/Parse/ParseDecl.cpp
    M clang/lib/Parse/ParseDeclCXX.cpp
    M clang/lib/Parse/ParseExpr.cpp
    M clang/lib/Parse/Parser.cpp
    A clang/test/Parser/c11-keywords.c

  Log Message:
  -----------
  [C11] Diagnose C11 keywords as being incompatible w/earlier standards (#82015)

Our usual pattern when issuing an extension warning is to also issue a
default-off diagnostic about the keywords not being compatible with
standards before a certain point. This adds those diagnostics for C11
keywords.



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