]> granicus.if.org Git - clang/commit
Diagnose attempts to build a preprocessed module that defines an unavailable submodule.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 30 May 2017 05:22:59 +0000 (05:22 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 30 May 2017 05:22:59 +0000 (05:22 +0000)
commitbb482b389e541428d0fa93c244d54d22eef3a384
tree6c7c0e2c41d0211deb8f3b7b0c993e00407e470b
parent4481b1f6f1590115e3acc6778c81bab7b7be74c1
Diagnose attempts to build a preprocessed module that defines an unavailable submodule.

The errors we would otherwise get are incomprehensible, as we would enter the
module but not make its contents visible to itself.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@304190 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticLexKinds.td
lib/Lex/Pragma.cpp
test/Modules/preprocess-unavailable.cpp [new file with mode: 0644]