[source,swift]
----
if someCondition { doSomething() } // Noncompliant

var result = doSomething(); return result // Noncompliant
----
