[PATCH] D125919: Drop qualifiers from return types in C (DR423)

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 2 13:59:39 PDT 2022


rjmccall added a comment.

Ah, true, the standard doesn't describe it as a normal qualifier.  From the DR, it sounds like the committee certainly expected that this reasoning would also apply to `_Atomic`, even if that's not quite what they've written, but that the DR submitter seems to not want that behavior.  Have you been able to track down the solicited paper mentioned in that DR?  In the absence of further indication, I think dropping `_Atomic` like anything else is the right thing to do; like the other qualifiers, it isn't meaningful for r-values.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D125919/new/

https://reviews.llvm.org/D125919



More information about the cfe-commits mailing list