This is an archive of the discontinued LLVM Phabricator instance.

[clangd][iwyu] explicitly includes `<atomic>`
ClosedPublic

Authored by cjdb on Jul 3 2021, 7:19 PM.

Details

Summary

Compiling clangd with Clang modules and libc++ revealed that
support/Threading.h uses std::atomic but wasn't including the
correct header.

Diff Detail

Event Timeline

cjdb created this revision.Jul 3 2021, 7:19 PM
cjdb requested review of this revision.Jul 3 2021, 7:19 PM
nridge accepted this revision.Jul 3 2021, 9:43 PM
nridge added a subscriber: nridge.

Thanks!

This revision is now accepted and ready to land.Jul 3 2021, 9:43 PM
This revision was automatically updated to reflect the committed changes.