Fix support for PHP namespaces.
Make sure use declarations actually find their original declarations and implement lookup for definitions within the same namespace but in a different file. Also handle name conflicts. CCBUG: 255537 CCBUG: 244040 REVIEW: 115158
Showing
- duchain/builders/declarationbuilder.cpp 34 additions, 9 deletionsduchain/builders/declarationbuilder.cpp
- duchain/helper.cpp 110 additions, 62 deletionsduchain/helper.cpp
- duchain/helper.h 9 additions, 0 deletionsduchain/helper.h
- duchain/tests/expressionparser.cpp 11 additions, 0 deletionsduchain/tests/expressionparser.cpp
- duchain/tests/expressionparser.h 1 addition, 0 deletionsduchain/tests/expressionparser.h
- duchain/tests/uses.cpp 26 additions, 15 deletionsduchain/tests/uses.cpp
Loading
Please register or sign in to comment