-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
Qt Creator 3.4.0
-
Ubuntu 14.04 LTS 64 bit
- Look at the following code with Creator's built-in code mode:
#include <iostream> using namespace std; int main() { #if 0 cout << "Hello World!" << endl; #endif return 0; }
The output will be masked with a gray background because it won't be compiled.
- Try the same with the Clang code model.
No gray background there.
The Clang code model should mask this code, too.