diff options
author | Ben Langmuir <blangmuir@apple.com> | 2015-08-13 17:13:33 +0000 |
---|---|---|
committer | Ben Langmuir <blangmuir@apple.com> | 2015-08-13 17:13:33 +0000 |
commit | 7ff29148ac7883881e62dc9e1714057c68ad4436 (patch) | |
tree | 54d51d0e2e33fda451999a6f3eeab578c69bad84 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | a7471795ae391a71cd66213300a173bcea9fd672 (diff) | |
download | llvm-7ff29148ac7883881e62dc9e1714057c68ad4436.zip llvm-7ff29148ac7883881e62dc9e1714057c68ad4436.tar.gz llvm-7ff29148ac7883881e62dc9e1714057c68ad4436.tar.bz2 |
[Modules] Add Darwin-specific compatibility module map parsing hacks
This preserves backwards compatibility for two hacks in the Darwin
system module map files:
1. The use of 'requires excluded' to make headers non-modular, which
should really be mapped to 'textual' now that we have this feature.
2. Silently removes a bogus cplusplus requirement from IOKit.avc.
Once we start diagnosing missing requirements and headers on
auto-imports these would have broken compatibility with existing Darwin
SDKs.
llvm-svn: 244912
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions