Hi Douglas, Before trying to implement the C++11 rules for anonymous namespaces (or fix pr15930) I would like to cleanup how we handle UniqueExternalLinkage.
The attached patch is a nop. It just replaces most uses of getLinkage with getSemaLinkage and getCodeGenLinkage. Some of these calls should be audited to make sure they are calling the right function, but that is probably better done in an independent patch, so this one is mechanical: hasExternalLinkage -> hasExternalCodeGenLinkage isExternalLinkage(foo->getLinkage()) -> hasExternalSemaLinkage getLinkage() == ExternalLinkage -> hasExternalCodeGenLinkage getLinkage() == InternalLinkage -> getSemaLinkage() == InternalLinkage Cheers, Rafael
t.patch
Description: Binary data
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
