]> granicus.if.org Git - clang/commit
If an instantiation of a template is required to be a complete type, check
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 7 May 2014 02:25:43 +0000 (02:25 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 7 May 2014 02:25:43 +0000 (02:25 +0000)
commit67198ad8f5872a5b29ce440a1388a70dca437d95
tree5b0077690fb97eb949776529dec9029642b23f66
parentc40a46cf23e37a077c212f98407c5f3e58973793
If an instantiation of a template is required to be a complete type, check
whether the definition of the template is visible rather than checking whether
the instantiated definition happens to be in an imported module.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@208150 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/LangOptions.def
include/clang/Driver/CC1Options.td
include/clang/Sema/Sema.h
lib/Frontend/CompilerInvocation.cpp
lib/Sema/SemaDecl.cpp
lib/Sema/SemaLookup.cpp
lib/Sema/SemaType.cpp
test/Modules/Inputs/cxx-templates-b-impl.h
test/Modules/Inputs/cxx-templates-common.h
test/Modules/cxx-templates.cpp
test/Modules/template-specialization-visibility.cpp