[build] Don't use abstract exception (clang error)
[build] Group logical operators (clang warning)
[build] Group logical operators in eaglexml (clang warning)
[build] Move assignment out of condition (clang warning)
[build] Add assert on unexpected switch values (clang warning)
Merge pull request #40 from AMDmi3/clang

Fix errors and warnings detected by clang