Skip to content

Commit

Permalink
[flang][plugins] Make PluginParseTreeAction an abstract class
Browse files Browse the repository at this point in the history
There's no point in providing a default implementation for
`PluginParseTreeAction`. This patch makes it abstract forcing users to
specialise it in order to use it.

Differential Revision: https://reviews.llvm.org/D108518
  • Loading branch information
banach-space committed Sep 6, 2021
1 parent 118997d commit 8883db9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flang/include/flang/Frontend/FrontendActions.h
Expand Up @@ -128,7 +128,7 @@ class ParseSyntaxOnlyAction : public PrescanAndSemaAction {
};

class PluginParseTreeAction : public PrescanAndSemaAction {
void ExecuteAction() override;
void ExecuteAction() override = 0;
};

} // namespace Fortran::frontend
Expand Down

0 comments on commit 8883db9

Please sign in to comment.