diff options
| author | Daniel Dunbar <daniel@zuster.org> | 2009-11-13 08:58:20 +0000 |
|---|---|---|
| committer | Daniel Dunbar <daniel@zuster.org> | 2009-11-13 08:58:20 +0000 |
| commit | 242ea9a05af8d5635e5c47697dd533ed9da2bfeb (patch) | |
| tree | bcb457d915918ce58c30cfbba7bf8c5e44773f7f /clang/lib/Frontend/CompilerInstance.cpp | |
| parent | 599313ef94fb801b55c67ece2b7ae657890af3b5 (diff) | |
| download | bcm5719-llvm-242ea9a05af8d5635e5c47697dd533ed9da2bfeb.tar.gz bcm5719-llvm-242ea9a05af8d5635e5c47697dd533ed9da2bfeb.zip | |
Rework Sema code completion interface.
- Provide Sema in callbacks, instead of requiring it in constructor. This
eliminates the need for a factory function. Clients now just pass the object
to consume the results in directly.
- CodeCompleteConsumer is cheap to construct, so building it whenever we are
doing code completion is reasonable.
Doug, please review.
llvm-svn: 87099
Diffstat (limited to 'clang/lib/Frontend/CompilerInstance.cpp')
0 files changed, 0 insertions, 0 deletions

