[PATCH] D26846: __uuidof() and declspec(uuid("...")) should be allowed on enumeration types

Kevin Puetz via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 18 12:26:21 PST 2016


puetzk updated this revision to Diff 78569.
puetzk added a comment.

Address comments from @aaron.ballman and @majnemer

Add a test case wihich triggers "the 'uuid' attribute only applies to classes and enumerations" warning


Repository:
  rL LLVM

https://reviews.llvm.org/D26846

Files:
  include/clang/Basic/Attr.td
  include/clang/Basic/DiagnosticSemaKinds.td
  include/clang/Sema/AttributeList.h
  lib/Sema/SemaDeclAttr.cpp
  lib/Sema/SemaExprCXX.cpp
  test/Parser/MicrosoftExtensions.cpp
  utils/TableGen/ClangAttrEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26846.78569.patch
Type: text/x-patch
Size: 5167 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161118/3a37de90/attachment.bin>


More information about the cfe-commits mailing list