I have encountered a segfault when I tried to get sub-expression of serialized ArrayTypeTraitExpr. The fix is simple but I have no idea about nice test. Maybe you have any suggestions?
You need to add tests for serialization/deserialization
Serialization tests usually come from PCH, so you could probably look in test/PCH to get ideas on how to test this.
Merged into D14326 and committed.