]> granicus.if.org Git - clang/commit
Track definition merging on the canonical declaration even when local
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 12 Sep 2018 02:13:48 +0000 (02:13 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 12 Sep 2018 02:13:48 +0000 (02:13 +0000)
commit78f85fba22f07782b114526040654c5498fef78e
tree9375a49847510e6fd789b6b0edf6d9de011c864f
parenta2e7966958aafae54940cb98155b73d87193d558
Track definition merging on the canonical declaration even when local
submodule visibility is disabled.

Attempting to pick a specific declaration to make visible when the
module containing the merged declaration becomes visible is error-prone,
as we don't yet know which declaration we'll choose to be the definition
when we are informed of the merging.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@342019 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/ASTContext.cpp
lib/Sema/SemaType.cpp
lib/Serialization/ASTReader.cpp
lib/Serialization/ASTReaderDecl.cpp
test/Modules/merge-template-pattern-visibility-3.cpp [new file with mode: 0644]