- 
    Bug 
- 
    Resolution: Done
- 
    P2: Important 
- 
    Qt Creator 4.8.0-beta1
- 
    None
- 
    Windows
- 
        
- 
        f5fb9932a2114d1e7e8e74186923368032d063b9 (qt-creator/qt-creator/4.8)
With Clang plugin everythin is like expected:

But without clang code model

May be this is because #-char was decided to be alternatively colored and without Clang Code model position of '#' is defined incorrecly (just gessing). May there is no need to use another color for #? Solid coloring seems to be fine ... if I am wrong in my gesses about # then with clang code there is a bug too.
Tested on latest qt-creator-opensource-windows-x86_64-4.8.0-beta2_2568.exe
4.7.2 seems to be free from this bug with and without clang code model plugin (tested on qt-creator-opensource-windows-x86_64-4.7.2_2566.exe):

- is duplicated by
- 
                    QTCREATORBUG-21393 Macro highlight error -           
- Closed
 
-