rsmith added a comment. ManagedStatic.h already includes <atomic>, so the additional includes of <atomic> don't seem appropriate to me. Looks like this may have hit a bug in enum merging? https://reviews.llvm.org/D22439