diff options
| author | Ted Kremenek <kremenek@apple.com> | 2008-05-31 20:11:04 +0000 |
|---|---|---|
| committer | Ted Kremenek <kremenek@apple.com> | 2008-05-31 20:11:04 +0000 |
| commit | 380df93fd642693c5c8ef78a2c0b266405152179 (patch) | |
| tree | acb41b8a4032af7bec1a34f3cedf894c5721e432 /clang/lib/CodeGen | |
| parent | c5156a932e581c1d1c1401a59d157e470cdf6ea1 (diff) | |
| download | bcm5719-llvm-380df93fd642693c5c8ef78a2c0b266405152179.tar.gz bcm5719-llvm-380df93fd642693c5c8ef78a2c0b266405152179.zip | |
Added "InitializeTU" to ASTConsumer. This is used by Sema::ParseAST to pass a
TranslationUnit object instead of an ASTContext. By default it calls
Initialize(ASTConstext& Context) (to match with the current interface used by
most ASTConsumers).
Modified the ObjC-Rewriter to use InitializeTU, and to tell the TranslationUnit
to not free its Decls. This is a workaround for: <rdar://problem/5966749>
llvm-svn: 51825
Diffstat (limited to 'clang/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions

