[PATCH] D42071: [Sema] Add a callback in VisibleDeclConsumer allowing client to know which DeclContext is going to visit.

Haojian Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 17 03:21:16 PST 2018


hokein updated this revision to Diff 130117.
hokein marked 2 inline comments as done.
hokein added a comment.
Herald added a subscriber: mgorny.

Refine the patch:

- expose visited contexts to client by adding `getVisitedContexts` in CodeCompleteContext.
- add unittest for sema code completion.


Repository:
  rC Clang

https://reviews.llvm.org/D42071

Files:
  include/clang/Sema/CodeCompleteConsumer.h
  include/clang/Sema/Lookup.h
  lib/Sema/SemaCodeComplete.cpp
  lib/Sema/SemaLookup.cpp
  unittests/Sema/CMakeLists.txt
  unittests/Sema/CodeCompleteTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42071.130117.patch
Type: text/x-patch
Size: 8780 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180117/cbad72c0/attachment.bin>


More information about the cfe-commits mailing list