The occurrence of the variables in a foreach( ... ) is not shown.
This seems to be a defect of clang code model, as the build in code model detects the occurrence.
With clang code model:
If you position the cursor on one of the variables in foreach, no frame is drawn and no occurrence is detected:
With build-in code model, everything is fine.