]> granicus.if.org Git - clang/commit
[modules] Better support for redefinitions of an entity from the same module.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 15 Jun 2015 20:15:48 +0000 (20:15 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 15 Jun 2015 20:15:48 +0000 (20:15 +0000)
commita6dd8f13d65a5eec292974d1fdd03965c3fffbe3
tree4e6c3d9fd97e0b962afd22e90fe1257549d161dd
parent514068cf4965d1c22542003151069395fb333282
[modules] Better support for redefinitions of an entity from the same module.

Support this across module save/reload and extend the 'missing import'
diagnostics with a list of providing modules.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@239750 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Sema/Sema.h
lib/Sema/SemaLookup.cpp
lib/Sema/SemaType.cpp
lib/Serialization/ASTWriter.cpp
test/Modules/Inputs/submodules-merge-defs/defs.h
test/Modules/Inputs/submodules-merge-defs/module.modulemap
test/Modules/Inputs/submodules-merge-defs/use-defs-2.h [new file with mode: 0644]
test/Modules/module-private.cpp
test/Modules/submodules-merge-defs.cpp