summaryrefslogtreecommitdiff
path: root/flang/lib/Semantics/rewrite-parse-tree.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'flang/lib/Semantics/rewrite-parse-tree.cpp')
-rw-r--r--flang/lib/Semantics/rewrite-parse-tree.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/flang/lib/Semantics/rewrite-parse-tree.cpp b/flang/lib/Semantics/rewrite-parse-tree.cpp
index 577558e7e33b..4eeb1b9ed3c1 100644
--- a/flang/lib/Semantics/rewrite-parse-tree.cpp
+++ b/flang/lib/Semantics/rewrite-parse-tree.cpp
@@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//
#include "rewrite-parse-tree.h"
-#include "rewrite-directives.h"
+
#include "flang/Common/indirection.h"
#include "flang/Parser/parse-tree-visitor.h"
#include "flang/Parser/parse-tree.h"
@@ -229,7 +229,7 @@ void RewriteMutator::Post(parser::WriteStmt &x) {
bool RewriteParseTree(SemanticsContext &context, parser::Program &program) {
RewriteMutator mutator{context};
parser::Walk(program, mutator);
- return !context.AnyFatalError() && RewriteOmpParts(context, program);
+ return !context.AnyFatalError();
}
} // namespace Fortran::semantics