diff options
| author | Alp Toker <alp@nuanti.com> | 2013-10-22 22:53:01 +0000 |
|---|---|---|
| committer | Alp Toker <alp@nuanti.com> | 2013-10-22 22:53:01 +0000 |
| commit | a8a2ebe9e729f69dc5775dee33cde1d5067a880a (patch) | |
| tree | 82cedcbd8e7f5ae1dc3a6441706774e765a3e8f4 /lib/CodeGen/CodeGenFunction.cpp | |
| parent | 69170e6e41e72c84fe5303540c1aa7ca9944ff18 (diff) | |
| download | clang-a8a2ebe9e729f69dc5775dee33cde1d5067a880a.tar.gz clang-a8a2ebe9e729f69dc5775dee33cde1d5067a880a.tar.bz2 clang-a8a2ebe9e729f69dc5775dee33cde1d5067a880a.tar.xz | |
Retain previous language linkage of friend function declarations
With this extension, friend function declarations will retain the language
linkage specified for previous declarations instead of emitting an error
diagnostic.
The feature is known to be compatible with GCC and MSVC and permits a
language to be specified indirectly where it cannot otherwise be written
directly in class scope.
Work is ongoing to improve linkage spec diagnostics.
Fixes PR17337.
Reviewed by Richard Smith.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@193206 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
