]> granicus.if.org Git - clang/commit
[modules] Use the "redundant #include" diagnostic rather than the "module
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 6 Dec 2016 00:12:39 +0000 (00:12 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 6 Dec 2016 00:12:39 +0000 (00:12 +0000)
commita7fb4573dfc1578edb3ba94acfa485167f8d5b9c
treec84c99eaf72519075a8f7db3c737ecc588a5f0b8
parent40adebeca0f99006d407508653c2cbd270a1a51c
[modules] Use the "redundant #include" diagnostic rather than the "module
import can't appear here" diagnostic if an already-visible module is textually
entered (because we have the module map but not the AST file) within a
function/namespace scope.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@288737 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Parse/Parser.h
include/clang/Sema/Sema.h
lib/Parse/Parser.cpp
lib/Sema/SemaDecl.cpp
test/Modules/Inputs/cxx-header.h