diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-01-14 23:26:40 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-01-14 23:26:40 +0000 |
commit | 87cb84e9f08db632fcbf2320ac1defa3a7093004 (patch) | |
tree | 61fea25882a4bc11d5e564af5104b9fbacb5f42e /clang/lib/Sema/SemaInherit.h | |
parent | 34074326449e1e6b7de77a4c9a0d78ea4b54ca64 (diff) | |
download | bcm5719-llvm-87cb84e9f08db632fcbf2320ac1defa3a7093004.tar.gz bcm5719-llvm-87cb84e9f08db632fcbf2320ac1defa3a7093004.zip |
ccc: Implement support clang PTH using gcc PCH style interface.
This requires some hackery, as gcc's PCH mechanism changes behavior,
whereas while PTH is simply a cache. Notably:
- Automatically cause clang to load a .pth file if we find one that
matches a command line -include argument (similar to how gcc
looks for .gch files).
- When generating precompiled headers, translate the suffix from .gch
to .pth (so we do not conflict with actual gcc PCH files).
- When generating precompiled headers, copy the input header to the
same location as the output PTH file. This is necessary because gcc
supports -include xxx.h even if xxx.h doesn't exist, but for clang
we need to actually have the contents of this file available.
llvm-svn: 62246
Diffstat (limited to 'clang/lib/Sema/SemaInherit.h')
0 files changed, 0 insertions, 0 deletions