summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprComplex.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
commit67e05a136070efe7ba4f943521bc5a90bbf3d2c3 (patch)
treedf59523b54a9bebe0698fffa051db6c2a5710522 /lib/CodeGen/CGExprComplex.cpp
parent8c37a894eea35105f432954363b5acb681f99589 (diff)
downloadclang-67e05a136070efe7ba4f943521bc5a90bbf3d2c3.tar.gz
clang-67e05a136070efe7ba4f943521bc5a90bbf3d2c3.tar.bz2
clang-67e05a136070efe7ba4f943521bc5a90bbf3d2c3.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197805 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprComplex.cpp')
0 files changed, 0 insertions, 0 deletions