+ /// Whether the drvier was invoked as a C++ compiler
+ /// (e.g. clang++ or clang-cl).
+ bool CCCIsCXX() const { return Mode == GXXMode || Mode == CLMode; }
Looks good, but what needs this? My understanding is that all of clang,
cl, and gcc can be invoked on .c or .cpp files and they will auto-detect
the language from the extension. The main behavior difference is whether
to link the standard C++ library.
On Fri, Jul 19, 2013 at 2:31 PM, Hans Wennborg <[email protected]> wrote:
> Hi all,
>
> The attached patch adds a cl.exe compatible mode to the driver. It
> doesn't actually do anything yet, but the plan is to make it accept
> cl.exe style command line flags as discussed in [1].
>
> Please take a look!
>
> Thanks,
> Hans
>
> [1]. http://lists.cs.uiuc.edu/pipermail/cfe-dev/2013-June/030439.html
>
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits