CLion/QtCreator - Problem with ENGINE_API

Hi,

I’m new to UE4 development and have tried different QtCreator and CLion as IDEs in the past days.
Both IDEs (I think it has to do with clang code model) have problems with the ENGINE_API macro/definition, they recognize it as if it where the class name.
AActor is just the first example that I came across, but it is consistent throughout all UE4 classes.

This happens when I open my Project as well as when I open the UE4 Source-Code

FYI: I had also a problem with g++ yelling at me ‘to many arguments’ when refreshing the cmake Project, which I solved by using clang-10.

Thanks for your time.

Applying the patch fixes it for me (at least when opening my project, not when opening the Engine source code)