[all-commits] [llvm/llvm-project] 8c2685: [API Notes] Attach API notes to forward declaratio...

Doug Gregor via All-commits all-commits at lists.llvm.org
Tue Jul 22 17:49:35 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8c26858f1a8bc5796c493f4f720552edbcb09fb4
      https://github.com/llvm/llvm-project/commit/8c26858f1a8bc5796c493f4f720552edbcb09fb4
  Author: Doug Gregor <dgregor at apple.com>
  Date:   2025-07-22 (Tue, 22 Jul 2025)

  Changed paths:
    M clang/lib/Sema/SemaDecl.cpp
    M clang/test/APINotes/Inputs/Headers/SwiftImportAs.apinotes
    M clang/test/APINotes/Inputs/Headers/SwiftImportAs.h
    M clang/test/APINotes/swift-import-as.cpp

  Log Message:
  -----------
  [API Notes] Attach API notes to forward declarations of tags (#149951)

Forward declarations can still have useful API notes applied to them.
When the use of the tag is not a definition, apply the API notes
immediately.

Fixes rdar://156288588.



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