Introduce the core infrastructure needed to model a complete
redeclaration chain for Objective-C classes, including: - Using the first declaration as the canonical declaration. - Using the definition as the primary DeclContext - Making sure that all declarations have a pointer to the definition data, and the definition knows that it is the definition. - Serialization support for when a definition gets added to a declaration that comes from an AST file. However, note that we're not taking advantage of much of this code yet, because we're still re-using ObjCInterfaceDecls. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@146667 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/clang/AST/DeclObjC.h 36 additions, 7 deletionsinclude/clang/AST/DeclObjC.h
- lib/AST/DeclBase.cpp 8 additions, 1 deletionlib/AST/DeclBase.cpp
- lib/AST/DeclObjC.cpp 9 additions, 1 deletionlib/AST/DeclObjC.cpp
- lib/Serialization/ASTCommon.h 2 additions, 1 deletionlib/Serialization/ASTCommon.h
- lib/Serialization/ASTReaderDecl.cpp 16 additions, 3 deletionslib/Serialization/ASTReaderDecl.cpp
- lib/Serialization/ASTWriter.cpp 20 additions, 3 deletionslib/Serialization/ASTWriter.cpp
- lib/Serialization/ASTWriterDecl.cpp 1 addition, 0 deletionslib/Serialization/ASTWriterDecl.cpp
Loading
Please register or sign in to comment