swift
2dfd3d5b - [Runtime] Remove dependency on Compiler.h from Config.h.

Commit
7 years ago
[Runtime] Remove dependency on Compiler.h from Config.h. The runtime doesn't really need Compiler.h. It just needs some visibility macros which can be inlined here instead of pulling the whole heavyweight header (including its transitive closure, llvm-config.h). This is becoming more important now that Compiler.h includes C++ headers (namely, <new>), and swift/Runtime/Config.h can be included from C or Objective-C files (causing build failures). <rdar://problem/35860874>
Author
Davide Italiano
Committer
Davide Italiano
Parents
Loading