[cfe-commits] r160034 - in /cfe/trunk: lib/Sema/SemaDecl.cpp test/CodeGenCXX/visibility.cpp
John McCall
rjmccall at apple.com
Tue Jul 10 22:05:01 PDT 2012
On Jul 10, 2012, at 9:26 PM, Rafael EspĂndola wrote:
>> Does this do the right thing for explicit specializations?
>
> Good question. I would probably expect the specialization to take the
> visibility of push, and the attached patch implements it.
> Unfortunately gcc disagrees and in the testcase included in the patch
> it produces undefined references for the method in vector<int> and
> vector<unsigned>.
>
> What do you think?
Could this code just reasonably be moved to ActOnTagFinishDefinition?
John.
More information about the cfe-commits
mailing list