Details
-
Bug
-
Resolution: Out of scope
-
P3: Somewhat important
-
None
-
Qt Creator 4.4.0-beta1
-
Ubuntu 16.10 64 bit
Description
- Run Creator with enabled Clang Code Model.
- Have a simple conditional in your code:
if (1 || 0) return;
- Move the cursor into the condition and ask for quick fixes using Alt+Enter.
There is no quick fix for removing the constant.
When the if-statement uses the AND-operator (&&), there is a quick fix for removing a constant. This should be available for the OR-operator, too.