]> granicus.if.org Git - clang/commit
Correctly propagate the storage class to function template instantiations.
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 16 Apr 2013 02:29:15 +0000 (02:29 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 16 Apr 2013 02:29:15 +0000 (02:29 +0000)
commit459ef03126f9f0420efb3355e3b2ed3c1fdfb38a
tree33a638b34e308007b1303204b495a66ef9dc967d
parent148d9223f02dba1ba6e40848d413daa3ffc09dfe
Correctly propagate the storage class to function template instantiations.

This fixes pr15753. This is another case of the fuzzy definition of the
"as written" storage class of an instantiation.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179581 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaTemplateInstantiateDecl.cpp
test/CodeGenCXX/pr15753.cpp [new file with mode: 0644]