I tried to use CodeLite for MCU firmware developing (for STM32's MCUs) and was surprised CodeLite doesn't show suggestions for MCU objects (timers, ports etc). This is simple example made by copypasting of STM32 cmsis headers:
I'm using codelite for developing on an Freescale ARM processor on windows and similar code completion seems to work for me.
You can try Workspace->Retag Workspace (full), Ive found sometimes clang gets confused.
Also if you move a folder things get confusing because the old clang database still references the old paths
If that doesn't work, might be that clang isn't finding the processor headers files when it reties to index your source code. You could try a hax and reference the header file via an include and see if it works then.
Gibbon1, for me it is enough to copy/paste the code above into main.cpp to reproduce the problem. So the reason is not in search path for include headers.
The above code works for me, however, I suspect that the MinGW versions might be the difference
I am using TDM-GCC 4.9.2 64 bit while you are using 5.1 (?) this might confuse clang