[all-commits] [llvm/llvm-project] 5ae655: PR41991: Accept attributes on defaulted and delete...

Richard Smith via All-commits all-commits at lists.llvm.org
Thu Jan 30 17:43:20 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5ae6554a1dcd2e39346030c06d364492901c9e8d
      https://github.com/llvm/llvm-project/commit/5ae6554a1dcd2e39346030c06d364492901c9e8d
  Author: Richard Smith <richard at metafoo.co.uk>
  Date:   2020-01-30 (Thu, 30 Jan 2020)

  Changed paths:
    M clang/lib/Parse/ParseDeclCXX.cpp
    M clang/test/Parser/cxx-default-delete.cpp
    M clang/test/Parser/cxx2a-spaceship.cpp

  Log Message:
  -----------
  PR41991: Accept attributes on defaulted and deleted friends.

Attributes are permitted on friend definitions, but we only checked for
a proper function body, not for the =default / =delete cases.




More information about the All-commits mailing list