HomePhabricator

Add document outline symbols from unnamed contexts, e.g. extern "C".

Authored by ilya-golovenko on Aug 3 2020, 2:34 AM.

Description

Add document outline symbols from unnamed contexts, e.g. extern "C".

It is necessary to traverse children of unnamed declaration contexts
to get symbols which are currently missing in document outline, e.g.:

extern "C" {
void foo();
}

Reviewed By: kadircet

Differential Revision: https://reviews.llvm.org/D84839