mirror of
https://github.com/intel/llvm.git
synced 2026-01-14 03:50:17 +08:00
[flang][OpenMP] Add missing forward declarations and includes (#164860)
Add declarations/includes of Scope and Symbol to Semantics/openmp-utils.
This commit is contained in:
committed by
GitHub
parent
83f751a001
commit
4d80e0c444
@@ -28,6 +28,7 @@
|
||||
#include <utility>
|
||||
|
||||
namespace Fortran::semantics {
|
||||
class Scope;
|
||||
class SemanticsContext;
|
||||
class Symbol;
|
||||
|
||||
|
||||
@@ -26,7 +26,9 @@
|
||||
#include "flang/Parser/openmp-utils.h"
|
||||
#include "flang/Parser/parse-tree.h"
|
||||
#include "flang/Semantics/expression.h"
|
||||
#include "flang/Semantics/scope.h"
|
||||
#include "flang/Semantics/semantics.h"
|
||||
#include "flang/Semantics/symbol.h"
|
||||
|
||||
#include "llvm/ADT/ArrayRef.h"
|
||||
#include "llvm/ADT/STLExtras.h"
|
||||
@@ -505,5 +507,4 @@ bool IsStrictlyStructuredBlock(const parser::Block &block) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace Fortran::semantics::omp
|
||||
|
||||
Reference in New Issue
Block a user