summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc/SparcMachineFunctionInfo.cpp
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2013-12-20 12:09:36 +0000
committerDaniel Jasper <djasper@google.com>2013-12-20 12:09:36 +0000
commit92669ee45cc4337d2871eac16eb07b2fe8372373 (patch)
tree9da877273945971737c154ca094694232747ad01 /llvm/lib/Target/Sparc/SparcMachineFunctionInfo.cpp
parent83a0b6abd0f43ee3ed6755fa9c8a2e3ee13e04e7 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud