<html><head></head><body><div class="ydpfc1893fdyahoo-style-wrap" style="font-family: verdana, helvetica, sans-serif; font-size: 10px;"><div dir="ltr" data-setdir="false"><div>Hi Tim,</div><div><br></div><div dir="ltr" data-setdir="false">Thank you for the answer. I found another solution so I didn't need to use ArrayType for what I intended to do. I did include the DerivedTypes.h from the first place, but the problem was still there and there was no indication about which type is incomplete (I assume ArrayType).<br></div><div class="ydpfc1893fdsignature"><div style="font-family:verdana, helvetica, sans-serif;font-size:10px;"><div><br></div><div dir="ltr" data-setdir="false">Regards,</div><div dir="ltr" data-setdir="false">Iulia<br></div></div></div></div>
        <div><br></div><div><br></div>
        
        </div><div id="yahoo_quoted_7963835404" class="yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    On Wednesday, September 4, 2019, 8:51:40 PM GMT+3, Tim Northover <t.p.northover@gmail.com> wrote:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div dir="ltr">Hi Iulia,<br clear="none"><br clear="none">On Tue, 3 Sep 2019 at 19:39, Iulia Stirb <<a shape="rect" ymailto="mailto:iulia_s24@yahoo.com" href="mailto:iulia_s24@yahoo.com">iulia_s24@yahoo.com</a>> wrote:<br clear="none">> ArrayType * AT = ArrayType::get(ET,size);<br clear="none">><br clear="none">> Internet gives different solutions for this error but none of them was appropriate for this case.<br clear="none">> Could you please help?<br clear="none"><br clear="none">I take it that's a Clang error when compiling the code? I'm not<br clear="none">entirely sure, but it's possible you don't have a full definition for<br clear="none">llvm::ArrayType. It's not in the same header as IntegerType, so try<br clear="none">#including DerivedTypes.h.<br clear="none"><br clear="none">Otherwise, does it give any indication about which type is incomplete?<div class="yqt4317082978" id="yqtfd14632"><br clear="none"><br clear="none">Cheers.<br clear="none"><br clear="none">Tim.<br clear="none"></div></div></div>
            </div>
        </div></body></html>