[all-commits] [llvm/llvm-project] 0ce7ea: PR41991: Accept attributes on defaulted and delete...
Richard Smith via All-commits
all-commits at lists.llvm.org
Thu Jan 30 17:44:09 PST 2020
Branch: refs/heads/release/10.x
Home: https://github.com/llvm/llvm-project
Commit: 0ce7ea7c6e0e6fde5c961a574592bdd2ebebdeb7
https://github.com/llvm/llvm-project/commit/0ce7ea7c6e0e6fde5c961a574592bdd2ebebdeb7
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.
(cherry picked from commit 5ae6554a1dcd2e39346030c06d364492901c9e8d)
More information about the All-commits
mailing list