<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; "><div>Hi, Jyoti. The static analyzer treats some functions differently if they come from a system header -- for example, it is assumed that system functions do not arbitrarily free() their parameters, and that some bugs found in system headers cannot be fixed by the user and should be suppressed. system-header-simulator.h uses "#pragma clang system_header" so that this behavior can be tested without relying on the actual headers on your system.</div><div><br></div><div>Hope that answers your question!</div><div>Jordan</div><div><br></div><br><div><div>On Jan 31, 2013, at 6:59 , Jyoti <<a href="mailto:jyoti.yalamanchili@gmail.com">jyoti.yalamanchili@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hello,<div>What is the purpose of this header file <b>system-header-simulator.h</b> at llvm_3.1_src\tools\clang\test\Analysis ?</div><div><br></div><div>Regards,</div><div>Jyoti</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></body></html>