summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/InitPreprocessor.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2016-12-02 01:52:28 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2016-12-02 01:52:28 +0000
commit444e6f3d8203f197b430d4b649f0981ec1653085 (patch)
treeb4065680559f0c59241b2285443da9a2333b1c4d /clang/lib/Frontend/InitPreprocessor.cpp
parentc3e24403f0c933a9e3fac6689ea008c097f424e2 (diff)
downloadbcm5719-llvm-444e6f3d8203f197b430d4b649f0981ec1653085.tar.gz
bcm5719-llvm-444e6f3d8203f197b430d4b649f0981ec1653085.zip
Recover better from an incompatible .pcm file being provided by -fmodule-file=.
We try to include the headers of the module textually in this case, still enforcing the modules semantic rules. In order to make that work, we need to still track that we're entering and leaving the module. Also, if the module was also marked as unavailable (perhaps because it was missing a file), we shouldn't mark the module unavailable -- we don't need the module to be complete if we're going to enter it textually. llvm-svn: 288449
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud