]> granicus.if.org Git - clang/commit
Diagnose a redefinition error when there are two instantiations of friend
authorDouglas Gregor <dgregor@apple.com>
Mon, 17 May 2010 17:57:54 +0000 (17:57 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 17 May 2010 17:57:54 +0000 (17:57 +0000)
commitcfe833be882f600206f1587f157b025b368497d7
treec4be0470a9c4f715e4238f850d5f6fcbfec26e95
parent6cfacfe54c75baa4d67f1fbdf4f80644b662818e
Diagnose a redefinition error when there are two instantiations of friend
functions defined inside a class template. Fixes PR6952, the last
Boost.Units failure.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103952 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaTemplateInstantiateDecl.cpp
test/CXX/temp/temp.decls/temp.friend/p4.cpp