]> granicus.if.org Git - clang/commit
Implement dcl.link paragraph 5.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 27 Dec 2012 03:56:20 +0000 (03:56 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 27 Dec 2012 03:56:20 +0000 (03:56 +0000)
commite57e3d3783586934e26191cfc06ed5f3d966ea9c
treeca02d1724e33450239d366a39296898d856e309d
parent66c0899c132fcc678ad72cd4fde621fb572adf69
Implement dcl.link paragraph 5.

The language linkage of redeclarations must match. GCC was already reporting
an error for this.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171139 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaDecl.cpp
test/SemaCXX/linkage2.cpp [new file with mode: 0644]