[flang][nfc] Fix driver method names overridden by the plugins

After the recent re-factoring of the driver code
(https://reviews.llvm.org/D125007), `ExecuteAction` was renamed as
`executeAction`. This patch updates the examples in Flang accordingly.

If you set `FLANG_BUILD_EXAMPLES` to `On` when building Flang, then the
refactoring from D125007 would have caused build failures for you. This
patch fixes that.

This is fairly straightforward and fixes buildbot failures, so I'm
sending this without a review.
This commit is contained in:
Andrzej Warzynski
2022-05-15 17:53:09 +00:00
parent b3097eb6cd
commit ea18987094
2 changed files with 2 additions and 2 deletions

View File

@@ -49,7 +49,7 @@ template <> struct MappingTraits<LogRecord> {
} // namespace llvm
class FlangOmpReport : public PluginParseTreeAction {
void ExecuteAction() override {
void executeAction() override {
// Prepare the parse tree and the visitor
Parsing &parsing = getParsing();
OpenMPCounterVisitor visitor;

View File

@@ -65,7 +65,7 @@ class PrintFunctionNamesAction : public PluginParseTreeAction {
bool isInSubprogram_{false};
};
void ExecuteAction() override {
void executeAction() override {
ParseTreeVisitor visitor;
Fortran::parser::Walk(getParsing().parseTree(), visitor);