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() ||

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.


More information about the cfe-commits mailing list