[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)