[cfe-commits] [PATCH] #import directive in MS compatibility mode

Aaron Ballman aaron at aaronballman.com
Mon Mar 12 16:10:58 PDT 2012


MSVC uses the #import directive in a far different way than the
language extension clang supports.  Instead of including the target
into the source, it parses a type library and generates C++ classes
from the definitions.  This difference in behavior is large enough
that we should be warning users in MS compatibility mode so they can
understand what's happening.

This patch addresses PR 10727.

~Aaron
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MicrosoftImport.patch
Type: application/octet-stream
Size: 2174 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120312/3893ab8e/attachment.obj>


More information about the cfe-commits mailing list