diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-12-01 23:49:52 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-12-01 23:49:52 +0000 |
commit | 26ac3f30ecef21749c00a4b1a08dd15d772dd5aa (patch) | |
tree | 26f58f160501bd478a14058ed0e2981880afc1ba /lib/AST/DeclBase.cpp | |
parent | 1ceee5c42d5c410217f67d384eecc6ea4a2bba9b (diff) |
Extend ExternalASTSource with the ability to lazily complete the
definition of an Objective-C class. Unlike with C/C++ classes, we
don't have a well-defined point in Sema where Objective-C classes are
checked for completeness, nor do we need to involve Sema when
completing a class. Therefore, we take the appropriate of having the
external AST source mark a particular Objective-C class as having an
external declaration; when using one of the accessors of an
Objective-C class that has an external declaration, we request that
the external AST source fill in the Objective-C class definition.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120627 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/DeclBase.cpp')
0 files changed, 0 insertions, 0 deletions