This is an archive of the discontinued LLVM Phabricator instance.

[tooling] Explain how to create a compilation database on Windows [NFC]
ClosedPublic

Authored by LegalizeAdulthood on Mar 3 2022, 4:21 PM.

Details

Summary

Document how to create a compile_commands.json file on Windows

Diff Detail

Event Timeline

Herald added a project: Restricted Project. · View Herald TranscriptMar 3 2022, 4:21 PM
LegalizeAdulthood requested review of this revision.Mar 3 2022, 4:21 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 3 2022, 4:21 PM
aaron.ballman accepted this revision.Mar 4 2022, 4:51 AM

LGTM aside from a formatting nit, thank you -- this is really helpful information! I confirmed the instructions work for me on Windows.

clang/docs/HowToSetupToolingForLLVM.rst
66–68

Looks like you can re-flow this to the usual 80 col limit.

This revision is now accepted and ready to land.Mar 4 2022, 4:51 AM
LegalizeAdulthood marked an inline comment as done.

Update from review comments

This revision was landed with ongoing or failed builds.Mar 4 2022, 12:14 PM
This revision was automatically updated to reflect the committed changes.