]> granicus.if.org Git - clang/commit
Make module use diagnostics refer to the top-level module
authorDaniel Jasper <djasper@google.com>
Sat, 24 Feb 2018 06:54:09 +0000 (06:54 +0000)
committerDaniel Jasper <djasper@google.com>
Sat, 24 Feb 2018 06:54:09 +0000 (06:54 +0000)
commitdd72824ad1a5b0710cb6daf9b48885fdf1e5c15a
treef24b0596538784233b00e0ed131be8a62447d4b0
parent8d120f1d0c2667d1aebb32d128ad0cbe4d6484ad
Make module use diagnostics refer to the top-level module

All use declarations need to be directly placed in the top-level module
anyway, knowing the submodule doesn't really help. The header that has
the offending #include can easily be seen in the diagnostics source
location.

Review: https://reviews.llvm.org/D43673

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@326023 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Lex/ModuleMap.cpp
test/Modules/Inputs/declare-use/h.h