Hello,<div><br></div><div>What is the meaning of this assert statement in Lookup.h?</div><div><br></div><div><div> void setNotFoundInCurrentInstantiation() {</div><div> assert(ResultKind == NotFound && Decls.empty());</div>
<div> ResultKind = NotFoundInCurrentInstantiation;</div><div> }</div></div><div><br></div><div>I saw assert failing when compiling some code that includes Qt headers. I think the code I was compiling was actually missing some class definitions, so I was expecting to see an error - not a failing assert. Btw, in the debugger I see that ResultKind == NotFoundInCurrentInstantiation when assert statement is reached.</div>
<div><br></div><div>Thanks,</div><div>Eugene</div>