mirror of
https://github.com/intel/llvm.git
synced 2026-01-13 19:08:21 +08:00
[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:
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user