[PATCH] D108518: [flang][plugins] Make `PluginParseTreeAction` an abstract class

Andrzej Warzynski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 22 09:34:12 PDT 2021


awarzynski created this revision.
awarzynski requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

There's no point in providing a default implementation for
`PluginParseTreeAction`, so I'm making it abstract.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D108518

Files:
  flang/include/flang/Frontend/FrontendActions.h


Index: flang/include/flang/Frontend/FrontendActions.h
===================================================================
--- flang/include/flang/Frontend/FrontendActions.h
+++ flang/include/flang/Frontend/FrontendActions.h
@@ -128,7 +128,7 @@
 };
 
 class PluginParseTreeAction : public PrescanAndSemaAction {
-  void ExecuteAction() override;
+  void ExecuteAction() override = 0;
 };
 
 } // namespace Fortran::frontend


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108518.367986.patch
Type: text/x-patch
Size: 423 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210822/c27b8a5d/attachment.bin>


More information about the llvm-commits mailing list