[all-commits] [llvm/llvm-project] e2d417: Ensure that InheritedAttrs are properly inherited ...

Richard Smith via All-commits all-commits at lists.llvm.org
Mon Oct 12 19:22:51 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e2d4174e9c66251d1b408234b53f53d0903c0285
      https://github.com/llvm/llvm-project/commit/e2d4174e9c66251d1b408234b53f53d0903c0285
  Author: Richard Smith <richard at metafoo.co.uk>
  Date:   2020-10-12 (Mon, 12 Oct 2020)

  Changed paths:
    M clang/lib/Sema/SemaDeclObjC.cpp
    M clang/test/CodeGenObjC/attr-availability.m

  Log Message:
  -----------
  Ensure that InheritedAttrs are properly inherited along a redeclaration
chain for ObjCInterfaceDecls.

Only one such declaration can actually have attributes (the definition,
if any), but generally we assume that we can look for InheritedAttrs on
the most recent declaration.




More information about the All-commits mailing list