Iterate over all declarations. Ends up asserting in EnumDecl annotation syntax.