This is an archive of the discontinued LLVM Phabricator instance.

Support -fno-delayed-template-parsing in clang-cl.exe
ClosedPublic

Authored by rnk on Jul 12 2016, 12:32 PM.

Details

Summary

This change adds support for the -fno-delayed-template-parsing option in clang-cl.exe. This allows developers using clang-cl.exe to opt out of emulation of MSVC's non-conformant template instantiation implementation while continuing to use clang-cl.exe for its emulation of cl.exe command-line options. The default behavior of clang-cl.exe (-fdelayed-template-parsing) is unchanged.

The MSVC Standard Library implementation uses clang-cl.exe with this switch in its tests to ensure that the library headers work on compilers with the conformant two-phase-lookup behavior.

Diff Detail

Repository
rL LLVM

Event Timeline

DaveBartolomeo retitled this revision from to Support -fno-delayed-template-parsing in clang-cl.exe.
DaveBartolomeo updated this object.
rnk commandeered this revision.Jan 4 2017, 11:15 AM
rnk edited reviewers, added: DaveBartolomeo; removed: rnk.

Looks good, let me grab this and add a test. I think this just got lost in the shuffle over the summer.

This revision was automatically updated to reflect the committed changes.