[all-commits] [llvm/llvm-project] bc6b13: [clang][parser] Don't prohibit attributes on objc ...

tbaederr via All-commits all-commits at lists.llvm.org
Tue Mar 23 07:27:28 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bc6b139392f638a69e85a474eb0eb59e13d9791a
      https://github.com/llvm/llvm-project/commit/bc6b139392f638a69e85a474eb0eb59e13d9791a
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2021-03-23 (Tue, 23 Mar 2021)

  Changed paths:
    M clang/lib/Parse/ParseStmt.cpp
    A clang/test/CodeGenObjC/attr-nomerge.m

  Log Message:
  -----------
  [clang][parser] Don't prohibit attributes on objc @try/@throw

This line has a TODO comment, but the answer to it seems to be "no"
given that clang itself uses attributes on @try statements in its tests.

This ProhibitAttributes() statement is also dead code since
ProhibitAttributs() does not handle GNU attributes at the moment but
those are the only attributes valid in objc.

Differential Revision: https://reviews.llvm.org/D97371




More information about the All-commits mailing list