r178333 - Don't special case one line extern "C" decls.
Rafael EspĂndola
rafael.espindola at gmail.com
Tue Apr 16 04:55:43 PDT 2013
> & the special case has been removed, then, I take it?
That if now reads
if (VDecl->getStorageClass() == SC_Extern &&
(!getLangOpts().CPlusPlus ||
!(Context.getBaseElementType(VDecl->getType()).isConstQualified() ||
VDecl->isExternC())))
which accounts for getStorageClass now returning SC_Extern in both
cases and isExternC being guarded by the CPlusPuls check since we
classify everything in C as extern C.
Cheers,
Rafael
More information about the cfe-commits
mailing list