]> granicus.if.org Git - clang/commit
Fix pr15930.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 16 May 2013 04:30:21 +0000 (04:30 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 16 May 2013 04:30:21 +0000 (04:30 +0000)
commit1229e20dfa837998541aa3c6fafcc188981acd2f
treea43c972f4a7a3db15719d95765b01e94c4d2cc9e
parent9a2f8d07bf820b524c7b23f6f625f206cad3bf96
Fix pr15930.

In the case of inline functions, we have to special case local types
when they are used as template arguments to make sure the template
instantiations are still uniqued in case the function itself is inlined.

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