Names should be resolved correctly. In particular, the following should be taken
- using declarations, aliases and directives
(in current file and #includes)
- type conversions
- template members
- template specializations
This task is extremely long. It should be divided into several steps. Each
particular step is a subject of a separate CR.
Now the IDE is very smart about resolving names.