[all-commits] [llvm/llvm-project] 402740: [C2y] Add test coverage and documentation for WG14...

Aaron Ballman via All-commits all-commits at lists.llvm.org
Fri Nov 8 08:26:01 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4027400d2ceefb5ce68d4508e5f30dc40c4f535b
      https://github.com/llvm/llvm-project/commit/4027400d2ceefb5ce68d4508e5f30dc40c4f535b
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2024-11-08 (Fri, 08 Nov 2024)

  Changed paths:
    M clang/docs/LanguageExtensions.rst
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Sema/SemaType.cpp
    A clang/test/C/C2y/n3342.c
    M clang/test/Misc/warning-flags.c
    M clang/test/Sema/declspec.c
    M clang/www/c_status.html

  Log Message:
  -----------
  [C2y] Add test coverage and documentation for WG14 N3342 (#115494)

This paper made qualified function types implementation-defined. We have
always supported this as an extension, so now we're documenting our
behavior.

Note, we still warn about this by default even in C2y mode because a
qualified function type is a sign of programmer confusion.



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