martong added a comment.

To provide unit tests that mimic the LLDB setup, a good starting point could be 
an existing test case:

  struct LLDBLookupTest : ASTImporterOptionSpecificTestBase {

You can create a similar descendant class, but with the MinimalImport flag set 
to true. Then you could call `ImportDefinition` subsequently after an `Import` 
call. Perhaps that could trigger your assertion.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D101236/new/

https://reviews.llvm.org/D101236

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to