[cfe-commits] r70784 - in /cfe/trunk: lib/Sema/Sema.h lib/Sema/SemaDecl.cpp lib/Sema/SemaTemplate.cpp test/SemaCXX/struct-class-redecl.cpp test/SemaCXX/typedef-redecl.cpp test/SemaTemplate/class-template-decl.cpp

Sebastian Redl sebastian.redl at getdesigned.at
Sun May 3 12:10:29 PDT 2009


On Sun, 03 May 2009 17:18:57 -0000, Douglas Gregor <dgregor at apple.com>
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.

Sebastian



More information about the cfe-commits mailing list