This is an archive of the discontinued LLVM Phabricator instance.

[libcxx] Add missing includes
ClosedPublic

Authored by Michael137 on Jan 16 2023, 2:26 AM.

Details

Reviewers
ldionne
aprantl
philnik
Group Reviewers
Restricted Project
Commits
rG48e862d06d2f: [libcxx] Add missing includes
Summary

This fixes the remaining errors when building the llvm-project
with LLVM_ENABLE_MODULES=ON (and LLVM_ENABLE_LOCAL_SUBMODULE_VISIBILITY=ON,
which currently is the LLVM default).

Previously this would fail in the CXX_SUPPORTS_MODULES check.

Diff Detail

Event Timeline

Michael137 created this revision.Jan 16 2023, 2:26 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 16 2023, 2:26 AM
Michael137 requested review of this revision.Jan 16 2023, 2:26 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 16 2023, 2:26 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript
  • Fix header llvm-include-order clang-tidy warning
philnik accepted this revision.Jan 16 2023, 9:19 AM
philnik added a subscriber: philnik.

It sucks that we can't really test this without enabling modules by default, but I don't think modules are ready for that. LGTM.

This revision is now accepted and ready to land.Jan 16 2023, 9:19 AM
This revision was automatically updated to reflect the committed changes.