<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Fri, Feb 26, 2016 at 3:16 PM Greg Clayton <<a href="mailto:clayborg@gmail.com">clayborg@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
> On Feb 26, 2016, at 2:49 PM, Zachary Turner <<a href="mailto:zturner@google.com" target="_blank">zturner@google.com</a>> wrote:<br><br>
> I'm coming back around to this now. What happens if check_inlines is False, but the FileSpec is a header file like <vector>. You said "If check_inlines is false, make sure file_spec matches". But if file_spec is a header file, it's never going to match anything. Should I simply expect that the API is not called in this way?<br></blockquote><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
It can be called, but you should only match on compile units whose files match "vector" as the basename.<br></blockquote><div>Ahh, so I don't return each compile unit that matches the file_spec, but rather each CompileUnit where the compile unit OR one of the support files matches the file_spec. </div></div></div>