]> granicus.if.org Git - clang/commit
[modules] Enforce the rules that an explicit or partial specialization must be
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 5 May 2016 00:56:12 +0000 (00:56 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 5 May 2016 00:56:12 +0000 (00:56 +0000)
commit6ddd583f7f9c2f63cfedbcdc59aa618b42baee14
tree8262bd4f349fc8eb2c34ceb4862959a035013034
parent49edd29c346fff43705460794a3ea6d4c68b955e
[modules] Enforce the rules that an explicit or partial specialization must be
declared before it is used. Because we don't use normal name lookup to find
these, the normal code to filter out non-visible names from name lookup results
does not apply.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@268585 91177308-0d34-0410-b5e6-96231b3b80d8
16 files changed:
include/clang/AST/Decl.h
include/clang/AST/DeclTemplate.h
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Sema/Sema.h
lib/AST/Decl.cpp
lib/Sema/SemaCXXScopeSpec.cpp
lib/Sema/SemaExpr.cpp
lib/Sema/SemaLookup.cpp
lib/Sema/SemaTemplate.cpp
lib/Sema/SemaTemplateInstantiate.cpp
lib/Sema/SemaTemplateInstantiateDecl.cpp
lib/Sema/SemaType.cpp
test/Modules/Inputs/cxx-templates-common.h
test/Modules/Inputs/cxx-templates-unimported.h [new file with mode: 0644]
test/Modules/Inputs/module.map
test/Modules/cxx-templates.cpp