[PATCH] clang-cl: implement /fallback mode

Hans Wennborg hans at chromium.org
Wed Sep 18 11:47:27 PDT 2013


Hi rnk,

This is a stab at implementing a fallback mode for clang-cl.

In this mode, clang-cl falls back to cl.exe if it cannot compile the code itself for some reason.

The idea is to use this to help build projects that almost compile with clang-cl, except for some files where it can use the fallback.

http://llvm-reviews.chandlerc.com/D1711

Files:
  include/clang/Driver/CLCompatOptions.td
  include/clang/Driver/Job.h
  include/clang/Driver/Tool.h
  lib/Driver/Job.cpp
  lib/Driver/Tools.cpp
  lib/Driver/Tools.h
  test/Driver/cl-fallback.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1711.1.patch
Type: text/x-patch
Size: 11870 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130918/3ddb503e/attachment.bin>


More information about the cfe-commits mailing list