Page MenuHomePhabricator

[Modules] Add a command line option for loading the clang builtins modulemap file.
ClosedPublic

Authored by eladcohen on Oct 19 2016, 6:05 AM.

Details

Summary

-fbuiltin-module-map loads the clang builtins modulemap file.
(This is equivalent to -fmodule-map-file=<resource dir>/include/module.modulemap)

It can be used for enabling clang's 'modules' feature for the clang intrinsics headers files.

Diff Detail

Repository
rL LLVM

Event Timeline

eladcohen updated this revision to Diff 75133.Oct 19 2016, 6:05 AM
eladcohen retitled this revision from to [Modules] Add a command line option for loading the clang builtins modulemap file..
eladcohen updated this object.
eladcohen added reviewers: rsmith, bruno, zvi.
eladcohen added a subscriber: cfe-commits.
rsmith accepted this revision.Oct 27 2016, 12:17 AM
rsmith edited edge metadata.
This revision is now accepted and ready to land.Oct 27 2016, 12:17 AM
This revision was automatically updated to reflect the committed changes.

Thanks for the review! committed r285548.