-
Bug
-
Resolution: Fixed
-
Medium
-
Code Composer Studio Theia
-
CCSNXT-1103
-
-
CCS_THEIA_1.2.0
-
CCS_THEIA_1.4.0
-
None
clangd has inconsistent behavior when trying to "Go to Definition" in the editor. One possible explanation is that it is unable to resolve inline functions.
For example, in the adc_to_uart example below:
https://dev.ti.com/tirex/explore/node?node=A__ADH9M8sGfTrcUxBIaLUR7g__MSPM0-SDK__a3PaaoK__LATEST
There are many inline functions declared in the dl_adc12.h file of the MSPM0 SDK.
It is not possible to "Go to Definition" for those. If the inline designation is removed, then it is possible to "Go to Definition" for some of the functions. For others, it has no impact.
For example, "DL_ADC12_reset" will work if the inline designation is removed. However, "DL_ADC12_startConversion" will still not work.