[cfe-dev] Clang-cl.exe and the VC++ preprocessor

Zachary Turner zturner at google.com
Fri Jul 11 19:22:51 PDT 2014


On Fri, Jul 11, 2014 at 1:52 PM, Alp Toker <alp at nuanti.com> wrote:

>
> The only hangup would be uncertainty around the interface to enable it
> (pragmas, what syntax? filename regex?) and maintainability. It's the kind
> of feature that's easy to implement, but burdensome to keep tested and
> stable, especially since we have no automated MSVC header integration tests.


Something similar to how #pragma pack works sounds useful here.

#pragma msvc_pp_compat(push)
#pragma msvc_pp_compat(on)

...

#pragma msvc_pp_compat(pop)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140711/5173b4cf/attachment.html>


More information about the cfe-dev mailing list