[PATCH] D47445: [ASTImporter] Corrected diagnostic client handling in tests.

Balázs Kéri via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 1 02:19:19 PDT 2018


balazske added a comment.

>From API point of view if there is a `enableSourceFileDiagnostics` there should be a `disableSourceFileDiagnostics` too (that calls the `EndSourceFile`). But I am not sure how and if to use it at all. In the unit tests it is not needed, the ASTUnit contains a single entity for the "To" context.


Repository:
  rC Clang

https://reviews.llvm.org/D47445





More information about the cfe-commits mailing list