[all-commits] [llvm/llvm-project] d4ff96: Add missing #include for ObjCMethodDecl.

Jorge Gorbe Moya via All-commits all-commits at lists.llvm.org
Thu May 30 15:49:58 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d4ff9615a1531f4a466b7d1fb0f175e3ae489289
      https://github.com/llvm/llvm-project/commit/d4ff9615a1531f4a466b7d1fb0f175e3ae489289
  Author: Jorge Gorbe Moya <jgorbe at google.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M clang/include/clang/Sema/Attr.h

  Log Message:
  -----------
  Add missing #include for ObjCMethodDecl.

DeclBase.h only contains a forward declaration of ObjCMethodDecl, and
when building clang/Sema/Attr.h with header modules this causes a build
failure because `llvm::isa<ObjCMethodDecl>` requires the full type.



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