]> granicus.if.org Git - clang/commit
Microsoft has a language extension which allows union members to be
authorAaron Ballman <aaron@aaronballman.com>
Thu, 30 May 2013 16:20:00 +0000 (16:20 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Thu, 30 May 2013 16:20:00 +0000 (16:20 +0000)
commit76eed42f99158082fae5b903f46dfb6355e66f95
tree6f9905f14cad87c7ede690b01f734a01bb8938cc
parentc1d73fe9f44d302951f81b06271647c227c2a3e8
Microsoft has a language extension which allows union members to be
references.  What's more, they use this language extension in their
ATL header files (which come as part of MFC and the Win32 SDK).  This patch implements support for the Microsoft extension, and addresses PR13737.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182936 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaDecl.cpp
test/SemaCXX/MicrosoftExtensions.cpp