]> granicus.if.org Git - clang/commit
Simplify handling of struct/union/class tags.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 15 Oct 2008 00:42:39 +0000 (00:42 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 15 Oct 2008 00:42:39 +0000 (00:42 +0000)
commit35bc0821c4f80041724cd4c5c4889b2581546a41
treed7137778d1d806d227e05eb0389e83ca4da8ce9e
parent00231ee34cefea1bffc4653c0149d5a8fc22516e
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