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
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 12130 lib/Sema/SemaDecl.cpp
test/CodeGenCXX/dllimport.cpp
test/SemaCXX/dllimport.cpp
|