summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaDecl.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-01-14 23:26:40 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-01-14 23:26:40 +0000
commit87cb84e9f08db632fcbf2320ac1defa3a7093004 (patch)
tree61fea25882a4bc11d5e564af5104b9fbacb5f42e /clang/lib/Sema/SemaDecl.cpp
parent34074326449e1e6b7de77a4c9a0d78ea4b54ca64 (diff)
downloadbcm5719-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/SemaDecl.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud