commit | 3a2838d14251427089c39caec90c8abbc27f7a14 | [log] [tgz] |
---|---|---|
author | Daniel Dunbar <daniel@zuster.org> | Fri Nov 13 08:58:20 2009 +0000 |
committer | Daniel Dunbar <daniel@zuster.org> | Fri Nov 13 08:58:20 2009 +0000 |
tree | cfa0899c839011c5e79e08a39c7f2f45d16afe43 | |
parent | 0f800391ffbfe3820e1c60246a09a97e5f065179 [diff] |
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