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

2016-11-18 Thread Kevin Puetz via cfe-commits
puetzk created this revision. puetzk added a subscriber: cfe-commits. puetzk set the repository for this revision to rL LLVM. Although not specifically mentioned in the documentation, MSVC accepts __uuidof(…) and declspec(uuid("…")) attributes on enumeration types in addition to structs/classes.

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

2016-11-18 Thread Kevin Puetz via cfe-commits
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: includ

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

2016-11-18 Thread Kevin Puetz via cfe-commits
puetzk added a comment. Also rebased against r287335/496a3f56c7 Repository: rL LLVM https://reviews.llvm.org/D26846 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits