On May 3, 2009, at 12:10 PM, Sebastian Redl wrote: > > On Sun, 03 May 2009 17:18:57 -0000, Douglas Gregor <[email protected]> > wrote: >> Author: dgregor >> Date: Sun May 3 12:18:57 2009 >> New Revision: 70784 >> >> URL: http://llvm.org/viewvc/llvm-project?rev=70784&view=rev >> Log: >> One can use "class" and "struct" interchangeably to refer to a class >> in C++. Fixes <rdar://problem/6815995>. >> > > We might want a default-off warning that warns if the wrong tag is > used for > the redeclaration. This could help Clang users find MSVC > interoperability > issues, since MSVC warns about this by default.
This would be nice, in LLVM we prefer to have consistent tags as part of the coding standards. It would even make sense to default this warning to on in -fms-compat mode. -Chris _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
