[PATCH] D106137: [flang][driver] Add support for Frontend Plugins

Stuart Ellis via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 22 11:05:39 PDT 2021


stuartellis marked 9 inline comments as done.
stuartellis added inline comments.


================
Comment at: flang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:92
+    unsigned diagID = ci.diagnostics().getCustomDiagID(
+        clang::DiagnosticsEngine::Error, "unable to find plugin '%0'");
+    ci.diagnostics().Report(diagID) << ci.frontendOpts().ActionName;
----------------
awarzynski wrote:
> Could you add a test for this diagnostic?
Added diagnostic test to the end of plugin-example.f90 test


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D106137



More information about the cfe-commits mailing list