This matches MSVC's logic, which seems to be that when then friend declaration is qualified, it cannot be a declaration of a new symbol and so the dll linkage doesn't change.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D4764
Don't drop dllimport from qualified friend redeclarations (PR20512) ClosedPublic Authored by hans on Aug 1 2014, 5:37 PM.
Details Summary This matches MSVC's logic, which seems to be that when then friend declaration is qualified, it cannot be a declaration of a new symbol and so the dll linkage doesn't change.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Aug 4 2014, 1:53 PM
Revision Contents
Diff 12178 cfe/trunk/lib/Sema/SemaDecl.cpp
cfe/trunk/test/CodeGenCXX/dllimport.cpp
cfe/trunk/test/SemaCXX/dllimport.cpp
|