This would allow code completion clients to know which context is visited during Sema code completion.
Also some changes:
- add EnteredContext callback in VisibleDeclConsumer.
- add a simple unittest for sema code completion (only for visited contexts at the moment).
Maybe rename it to VisitedContext ? Seems more in-line with FoundDecl.
BeginVisitContext also suggest there should be EndVisitContext