<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Are you trying to check what alignment a record has within the static analyzer? I think you should be able to check the alignment attributes (ex: AlignMac68kAttr or MaxFieldAlignmentAttr) on a given RecordDecl to see what the set alignment is.<div><br></div><div>Cheers,<br><div>Anna.<br><div><div>On Oct 11, 2013, at 6:12 AM, Arthur Yoo <<a href="mailto:phjy007@gmail.com">phjy007@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><p class="">Hi all,</p><p class="">Some program may specify the <i>#pragma pack</i> information for controlling record layout. Now I want
to get the default or the specified <i>#pragma
pack</i> information in Clang Static Analyzer. So how can I obtain this kind of
information in my checker? </p><p class="">Thanks a lot.</p>

<div><br></div>-- <br><div dir="ltr"><font color="#444444">Best regards,</font><div><font color="#444444">Arthur Yoo</font></div></div>
</div>
_______________________________________________<br>cfe-dev mailing list<br><a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev<br></blockquote></div><br></div></div></body></html>