forked from OSchip/llvm-project
[flang][openmp] libc++ unordered_map build fix in flang openmp static analysis
Simply move the include of unordered_map from the .cpp file to the .h file
This commit is contained in:
parent
7075c056e9
commit
4121172239
|
@ -9,7 +9,6 @@
|
|||
#include "check-omp-structure.h"
|
||||
#include "flang/Parser/parse-tree.h"
|
||||
#include "flang/Semantics/tools.h"
|
||||
#include <unordered_map>
|
||||
|
||||
namespace Fortran::semantics {
|
||||
|
||||
|
|
|
@ -19,6 +19,8 @@
|
|||
#include "flang/Semantics/semantics.h"
|
||||
#include "llvm/Frontend/OpenMP/OMPConstants.h"
|
||||
|
||||
#include <unordered_map>
|
||||
|
||||
using OmpDirectiveSet = Fortran::common::EnumSet<llvm::omp::Directive,
|
||||
llvm::omp::Directive_enumSize>;
|
||||
|
||||
|
|
Loading…
Reference in New Issue