[all-commits] [llvm/llvm-project] c745f2: Revert "Drop qualifiers from return types in C (DR...

Aaron Ballman via All-commits all-commits at lists.llvm.org
Thu Jun 2 05:29:06 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c745f2ce6c03bc6d1e59cac69cc15923d4400191
      https://github.com/llvm/llvm-project/commit/c745f2ce6c03bc6d1e59cac69cc15923d4400191
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2022-06-02 (Thu, 02 Jun 2022)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Sema/SemaType.cpp
    M clang/test/CodeGen/xcore-stringtype.c
    M clang/test/Sema/block-call.c
    M clang/test/Sema/c89.c
    M clang/test/Sema/function.c
    M clang/test/Sema/warn-missing-prototypes.c
    R clang/test/Sema/wg14-dr423.c
    M clang/test/SemaObjC/block-omitted-return-type.m
    M clang/unittests/ASTMatchers/ASTMatchersNodeTest.cpp
    M clang/unittests/ASTMatchers/ASTMatchersTest.h

  Log Message:
  -----------
  Revert "Drop qualifiers from return types in C (DR423)"

This reverts commit d374b65f2da1bdd3d9a7e9ac8ed4ad5467c882f9.

The changes lose AST fidelity (reported in #55778), but also may be
improperly dropping _Atomic qualifiers. I am rolling the changes back
until I've finished discussions in WG14 about the proper resolution to
DR423.




More information about the All-commits mailing list