-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.4.2
-
98c098742 (dev), 4d4b48260 (6.6), 67ec0dcb2 (6.5)
lupdate cannot decipher context if template parameters are used in trailing return type.
To reproduce:
lupdate main.cpp -ts test.ts
Produces:
/home/user/Downloads/main.cpp:16: tr() cannot be called without context
- relates to
-
QTBUG-71835
lupdate: Use clang to parse C++ code
-
- Closed
-
| For Gerrit Dashboard: QTBUG-110949 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V |
| 487798,6 | lupdate: Fix missing context in functions with trailing return type | dev | qt/qttools | Status: MERGED | +2 | 0 |
| 488403,2 | lupdate: Fix missing context in functions with trailing return type | 6.6 | qt/qttools | Status: MERGED | +2 | 0 |
| 488404,2 | lupdate: Fix missing context in functions with trailing return type | 6.5 | qt/qttools | Status: MERGED | +2 | 0 |