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 | 3a2838d14251427089c39caec90c8abbc27f7a14 (patch) | |
| tree | cfa0899c839011c5e79e08a39c7f2f45d16afe43 /lib/CodeGen/CGExpr.cpp | |
| parent | 0f800391ffbfe3820e1c60246a09a97e5f065179 (diff) | |
| download | clang-3a2838d14251427089c39caec90c8abbc27f7a14.tar.gz clang-3a2838d14251427089c39caec90c8abbc27f7a14.tar.bz2 clang-3a2838d14251427089c39caec90c8abbc27f7a14.tar.xz | |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@87099 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
