Hi,

the attached patch disables trigraphs by default in clang-cl mode. To do
so, I'm renaming the cc1 trigraph flag to -ftrigraphs, and I'm adding a
-fno-trigraphs flag. (This requires updating a handful of cc1 tests, and
translating -trigraphs to -ftrigraphs in the driver.)

The driver grows parsing logic for /Zc:, everything other than trigraphs is
ignored for now. (We probably want to implement at least /Zc:inline at some
point, which is why I added parsing code for this instead of always sending
-fno-trigraphs to cc1 in clang-cl mode.)

Ok?

Nico

Attachment: clang-cl-trigraphs.patch
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to