martong marked 3 inline comments as done.
martong added a comment.

In D85319#2196648 <https://reviews.llvm.org/D85319#2196648>, @whisperity wrote:

> What will happen with the ability to analyse a translation unit whose target 
> was not part of `LLVM_TARGETS_TO_BUILD` of the current `clang` binary? Will 
> it break, because the binary lacks the information on how to generate for the 
> given target?

We get the target info from the `CompilerInstance` that is used for the command 
line of the analysis. So if clang cannot handle that then we'll probably get a 
diagnostics anyway by the `AnalysisASTConsumer`s diag engine.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D85319

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

Reply via email to