Hi Shivam Malhotra,
I must admit Clan does not support this directly yet, except by using workarouds such as #define pragmas or ternary operators. The problem is, Clan only accepts at the moment non-data-dependent affine constraints in either conditions or loop bounds. The constraints are summarized there :
Note that this is "just" a technical limitation : it is easy to extend this but we need some engineering time. It will be suported at some point, but it depends on the contributor time so I have no clear date when it will be available (if you want to contribute, I can explain your how ;-) !).
Best,
Cedric