]> granicus.if.org Git - clang/commit
This patch is just the easy part of the class names patch, which
authorChris Lattner <sabre@nondot.org>
Sun, 13 Apr 2008 18:59:07 +0000 (18:59 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 13 Apr 2008 18:59:07 +0000 (18:59 +0000)
commit99dc91422144483c20d1c7381bc9ac634b646b04
tree8d0b3af85da37304735f22f9b4bd104942176906
parent3b7ff0d143014ea86328e8fa9196a7537dce7bea
This patch is just the easy part of the class names patch, which
allows the parsing of "class" in addition to "struct" and "union" to
declare a record.  So this patch allows:

 class C { };
 class C c1;

But it does not contain the lookup bits, so this won't work yet:

 C c2;

Patch by Doug Gregor!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49613 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Type.h
include/clang/Parse/DeclSpec.h
lib/AST/Type.cpp
lib/Parse/DeclSpec.cpp
lib/Parse/ParseDecl.cpp
lib/Sema/SemaDecl.cpp
lib/Sema/SemaType.cpp