aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/Scope.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2012-02-16 22:54:45 +0000
committerEric Christopher <echristo@apple.com>2012-02-16 22:54:45 +0000
commit9965deaad40b08203e4cfacf9253fbe494dce81f (patch)
treefdd1fc852f7c24efa753cb38f023178accf3cc5c /lib/Sema/Scope.cpp
parent22cfaf512e4f66105fb1f8dd39e0a77787fbdf9b (diff)
Reapply r150631:
"Add a completed/incomplete type difference. This allows us to have partial types for contexts and forward decls while allowing us to complete types later on for debug purposes. This piggy-backs on the metadata replacement and rauw changes for temporary nodes and takes advantage of the incremental support I added in earlier. This allows us to, if we decide, to limit adding methods and variables to structures in order to limit the amount of debug information output into a .o file. The caching is a bit complicated though so any thoughts on untangling that are welcome." with a fix: - Remove all RAUW during type construction by adding stub versions of types that we later complete. and some TODOs: - Add an RAUW cache for forward declared types so that we can replace them at the end of compilation. - Remove the code that updates on completed types because we no longer need to have that happen. We emit incomplete types on purpose and only want to know when we want to complete them. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150752 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/Scope.cpp')
0 files changed, 0 insertions, 0 deletions