hfinkel added a comment.

In https://reviews.llvm.org/D25308#566176, @arphaman wrote:

> The updated patch now makes clang warn every time it encounters this 
> attribute in C++ mode. Would that be the desired behaviour?


As I understand it, transparent_union was designed for use in system headers, 
and these might certainly be included into C++ source files. Does that not work 
correctly, or does the feature just not work correctly when combined with 
C++-specific features (templates, function overloading, etc.)?


Repository:
  rL LLVM

https://reviews.llvm.org/D25308



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to