[PATCH] D105287: Fix an accepts-invalid issue with [[]] attributes in the type position in C

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 1 08:19:15 PDT 2021


aaron.ballman updated this revision to Diff 355893.
aaron.ballman added a comment.

Added a test that `overloadable` should fail when in the type position.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D105287/new/

https://reviews.llvm.org/D105287

Files:
  clang/include/clang/Basic/AttributeCommonInfo.h
  clang/lib/Parse/Parser.cpp
  clang/lib/Sema/SemaDeclAttr.cpp
  clang/lib/Sema/SemaType.cpp
  clang/test/AST/ast-dump-c-attr.c
  clang/test/Sema/attr-availability-square-brackets.c
  clang/test/Sema/attr-c2x.c
  clang/test/Sema/attr-deprecated-c2x.c
  clang/test/Sema/attr-external-source-symbol.c
  clang/test/Sema/c2x-maybe_unused-errors.c
  clang/test/Sema/overloadable.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105287.355893.patch
Type: text/x-patch
Size: 13674 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210701/d198ad70/attachment-0001.bin>


More information about the cfe-commits mailing list