A cleric can put their holy symbol on their shield so it acts as a focus.So a cleric that has weapon and shield you don't allow to cast most spells?
Honestly, I would never play a cleric under such conditions, that is terribly restricting.
If that is the case said cleric while carrying a weapon and a shield:
1. Can cast any spells with V only
2. Can cast any spells with any combination that includes M as long as the material components do not have a value.
3. Can cast any spell with any combination that includes M and ccomponents that do have a value as long as either the weapon or the shield is that component (so good for GFB/BB).
4 can NOT cast any spells that include S but do not include M because they do not have a hand free. If the spell requires both S and M they can use their shield with a holy symbol as a focus and the shield-holding hand can also do the somatic component.