[PATCH] D147661: [Sema] Tweak merging of availability attributes

Erich Keane via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 6 09:14:16 PDT 2023


erichkeane added a comment.

This test doesn't show a change in behavior.  See:

https://godbolt.org/z/vrWM1bTPE

  |-FunctionDecl 0x5555dbfa5a20 <<source>:3:1, col:60> col:6 foo 'void (void)'
  | |-AvailabilityAttr 0x5555dbfa5ac8 <col:27, col:58> ios 2.0 0 0 "" "" 0
  | `-AvailabilityAttr 0x5555dbfa5b80 <col:27, col:58> Implicit maccatalyst 13.1 0 0 "" "" 2
  `-FunctionDecl 0x5555dbfa5c80 <line:4:1, col:55> col:6 bar 'void (void)'
    |-AvailabilityAttr 0x5555dbfa5d28 <col:19, col:50> ios 2.0 0 0 "" "" 0
    `-AvailabilityAttr 0x5555dbfa5de0 <col:19, col:50> Implicit maccatalyst 13.1 0 0 "" "" 2


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D147661



More information about the cfe-commits mailing list