C++ DR2387: a variable template declared wtih (or instantiated with) a
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 23 Apr 2019 23:48:00 +0000 (23:48 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 23 Apr 2019 23:48:00 +0000 (23:48 +0000)
commiteeab4518e1d718c2aa09fbe116cd060dac306d56
treef5c5a513e05155aab86e9f10a9673cb006b17de6
parent27924c3a3c6744ec731fb49bda1bfc3a79442f7c
C++ DR2387: a variable template declared wtih (or instantiated with) a
const-qualified type is not implicitly given internal linkage. But a
variable template declared 'static' is.

llvm-svn: 359048
13 files changed:
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/lib/AST/Decl.cpp
clang/lib/Sema/SemaTemplate.cpp
clang/test/CXX/drs/dr0xx.cpp
clang/test/CXX/drs/dr17xx.cpp
clang/test/CXX/drs/dr23xx.cpp [new file with mode: 0644]
clang/test/CXX/module/module.interface/p3.cpp
clang/test/CXX/module/module.interface/p5.cpp
clang/test/CodeGenCXX/cxx1y-variable-template-linkage.cpp
clang/test/SemaCXX/PR10177.cpp
clang/test/SemaCXX/warn-unused-filescoped.cpp
clang/test/SemaCXX/warn-unused-variables.cpp
clang/www/cxx_dr_status.html