diff options
author | Daniel Jasper <djasper@google.com> | 2013-12-20 12:09:36 +0000 |
---|---|---|
committer | Daniel Jasper <djasper@google.com> | 2013-12-20 12:09:36 +0000 |
commit | 92669ee45cc4337d2871eac16eb07b2fe8372373 (patch) | |
tree | 9da877273945971737c154ca094694232747ad01 /llvm/lib/Target/Sparc/SparcMachineFunctionInfo.cpp | |
parent | 83a0b6abd0f43ee3ed6755fa9c8a2e3ee13e04e7 (diff) | |
download | bcm5719-llvm-92669ee45cc4337d2871eac16eb07b2fe8372373.tar.gz bcm5719-llvm-92669ee45cc4337d2871eac16eb07b2fe8372373.zip |
Enable layering check in unavailable modules.
If a header file belonging to a certain module is not found on the
filesystem, that header gets marked as unavailable. Now, the layering
warning (-fmodules-decluse) should still warn about headers of this
module being wrongfully included. Currently, headers belonging to those
modules are just treated as not belonging to modules at all which means
they can be included freely from everywhere.
To implement this (somewhat) cleanly, I have moved most of the layering
checks into the ModuleMap. This will also help with showing FixIts
later.
llvm-svn: 197805
Diffstat (limited to 'llvm/lib/Target/Sparc/SparcMachineFunctionInfo.cpp')
0 files changed, 0 insertions, 0 deletions