uVision version is V5.26
ARM Compiler version is V5
#ifdef __clang__
code...
#endif
The code is not gray,as if __clang__ is pre-defined, but i use armcc.
I try __clang_major__ and __clang_minor__, is same with __clang__.
Actually __clang__ is not defined, i think clang is used in dynamic syntax check,so the code is not gray.
Anyone knows,thanks!
The reason is that even if V5 is configured as Arm Compiler, clang will be used for DSC