For example, in the following code
#include <string> using namespace std::string_literals; int main() { strin^ // Completes `string` instead of `std::string` }
The using declaration would make completion drop the std namespace, even though it shouldn't.
printNamespaceScope() skips inline namespaces, so to fix this use
printQualifiedName() instead