]> granicus.if.org Git - clang/commit
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)
commit078b47bdba491f4b2ccf89a6ed10e9ebd350986a
treec80a715c3d24a2fce181eebc734d2a53b76c1e2a
parentfe8b4c1fcb60d63990abaa3f3b26ab8892474351
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@359048 91177308-0d34-0410-b5e6-96231b3b80d8
13 files changed:
include/clang/Basic/DiagnosticSemaKinds.td
lib/AST/Decl.cpp
lib/Sema/SemaTemplate.cpp
test/CXX/drs/dr0xx.cpp
test/CXX/drs/dr17xx.cpp
test/CXX/drs/dr23xx.cpp [new file with mode: 0644]
test/CXX/module/module.interface/p3.cpp
test/CXX/module/module.interface/p5.cpp
test/CodeGenCXX/cxx1y-variable-template-linkage.cpp
test/SemaCXX/PR10177.cpp
test/SemaCXX/warn-unused-filescoped.cpp
test/SemaCXX/warn-unused-variables.cpp
www/cxx_dr_status.html