On May 18, 2009, at 11:32 AM, Douglas Gregor wrote: > Hmmm... does this work properly for > > extern "C++" int var1; >
t.cpp:1:8: error: cannot compile this linkage spec yet extern "C++" int var1; ^ :) But I think I'll add a VarDecl::hasExternLinkage() that checks both the storage class and if it's in any extern linkage context. Anders _______________________________________________ cfe-commits mailing list cfe-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits