<div dir="ltr">Adding Ted and Anna to get an official answer :)<div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 13, 2015 at 11:45 AM, WangLiuShuai <span dir="ltr"><<a href="mailto:dashuniuniu@hotmail.com" target="_blank">dashuniuniu@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I found a temporary solution to this problem. We can add some hard-code in<br>
llvm/tools/clang/lib/Frontend/InitHeaderSearch.cpp, these code will tell<br>
clang where to search the c++ standard library. According to the existing<br>
code, we also can put the standard library to the corresponding path. Then<br>
when we use "clang -cc1 -analyze -analyzer-checker=alpha.unix.SimpleStream<br>
test.cpp" we don't even need to use "-I" option, the clang static analyzer<br>
can also execute correctly.<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__clang-2Ddevelopers.42468.n3.nabble.com_clang-2Dcc1-2Danalyze-2Dcan-2Dt-2Didentify-2Dheader-2Dfiles-2Dtp4046425p4046505.html&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=CnzuN65ENJ1H9py9XLiRvC_UQz6u3oG6GUNn7_wosSM&m=jDArPtUW36XFp4i1I90ToKrx2bLJfRuuAO7jpF9AGcQ&s=4X2OMCs0xX1i3dXz9kjuka-BcXgK7J6hMnj0rYCEr2I&e=" rel="noreferrer" target="_blank">http://clang-developers.42468.n3.nabble.com/clang-cc1-analyze-can-t-identify-header-files-tp4046425p4046505.html</a><br>
<div><div>Sent from the Clang Developers mailing list archive at Nabble.com.<br>
_______________________________________________<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" rel="noreferrer" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
</div></div></blockquote></div><br></div></div>