Well, you need to specify the -I paths as necessary... Can you give a full command line you're trying and perhaps a code snippet how you're specifying the headers?<br><br><div class="gmail_quote">On Sat Jan 03 2015 at 12:42:00 PM Ounan Ding <<a href="mailto:ounanding@gmail.com">ounanding@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div>I was using `runToolOnCodeWithArgs` for unittesting.</div><div>There are some virtual headers in my test case.</div><div>I pass these headers with their file names to the argument `VirtualMappedFiles` of `runToolOnCodeWithArgs`.</div><div>But clang complains that these headers do not exist.</div><div><br></div><div>I have searched through all the testing code of clang but find nobody is using the `VirtualMappedFiles` argument.</div><div>Can you help me?</div><div>Or maybe it is suggested to use lit for my case?</div><div><br></div><div>Thank you.</div><div><br></div><div>-----------------------------------</div><div>clang revision: 16964fe0b057b11e7c93afe47964ddf0d33aa7e6</div><div><br></div></div>
______________________________<u></u>_________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu" target="_blank">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/<u></u>mailman/listinfo/cfe-dev</a><br>
</blockquote></div>