Simplify handling of struct/union/class tags.
commit2538a8c428063cdaa8780040de96b93a68690528
authorArgiris Kirtzidis <akyrtzi@gmail.com>
Wed, 15 Oct 2008 00:42:39 +0000 (15 00:42 +0000)
committerArgiris Kirtzidis <akyrtzi@gmail.com>
Wed, 15 Oct 2008 00:42:39 +0000 (15 00:42 +0000)
treed7137778d1d806d227e05eb0389e83ca4da8ce9e
parent56c170a0407fd2e93774e2c8069995a4cdd29b0a
Simplify handling of struct/union/class tags.
Instead of using two sets of Decl kinds (Struct/Union/Class and CXXStruct/CXXUnion/CXXClass), use one 'Record' and one 'CXXRecord' Decl kind and make tag kind a property of TagDecl.
Cleans up the code a bit and better reflects that Decl class structure.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57541 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Decl.h
include/clang/AST/DeclBase.h
include/clang/AST/DeclCXX.h
include/clang/Analysis/Visitors/CFGRecStmtDeclVisitor.h
lib/AST/Decl.cpp
lib/AST/DeclBase.cpp
lib/AST/DeclCXX.cpp
lib/AST/DeclSerialization.cpp
lib/AST/StmtDumper.cpp
lib/CodeGen/CGDecl.cpp