<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hi all,</p>
<p>While implementing AST import from PCH file (-ast-dump), I
stepped on an issue with ArrayTypeTraitExpr serialization. When
ArrayTypeTraitExpr is being serialized, its sub-expr (dimension
expression) doesn't got serialized.<span style="font-weight:
bold;color: #204a87;"></span><span style="font-weight:
bold;color: #204a87;"></span><span style="font-weight:
bold;color: #204a87;"><br>
</span></p>
<p><span style="font-weight: bold;color: #204a87;"></span>So the
question is: should we serialize ArrayTypeTraitExpr::Dimension?
And, if yes, are ASTImporter tests a good place for test case (the
fix itself is pretty simple)? The issue is that I tried to import
dimension expression which was never initialized in PCH.<br>
</p>
The another question is: how full the serialization should be?
Should we always serialize all the parts of AST nodes or just some
meaningful?<br>
<br>
<pre class="moz-signature" cols="72">--
Best regards,
Aleksei Sidorin
Software Engineer,
IMSWL-IMCG, SRR, Samsung Electronics
</pre>
</body>
</html>