commit | 78eeba8c7d53b6b2983c76b77b23b45b89ed939d | [log] [tgz] |
---|---|---|
author | Rafael Espindola <rafael.espindola@gmail.com> | Fri Dec 28 14:21:58 2012 +0000 |
committer | Rafael Espindola <rafael.espindola@gmail.com> | Fri Dec 28 14:21:58 2012 +0000 |
tree | aa97877589a2d614de6a73c771e1168b78f13909 | |
parent | ceb59d91b3a7def4297ec8468621805777741963 [diff] |
Reject overloading of two static extern C functions. This patch moves hasCLanguageLinkage to be VarDecl and FunctionDecl methods so that they can be used from SemaOverload.cpp and then fixes the logic in Sema::IsOverload. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171193 91177308-0d34-0410-b5e6-96231b3b80d8